Is there a way to compute the RO, RW and ZI sizes from a .lib file? I know linker produces a map file, but instead of waiting for the end product, would like to see if there is a way to simply process the .lib (using nm, readelf or something like that) to get that data.
thanks
...
Im copying data (text) to a clipboard but the data that I'm copying to the clipboard has a length of 30,500,000.
This text is stored in a StringBuilder.
These are may codes:
StringBuilder sbText = new StringBuilder();
// Append text to sbText here!!!
Clipboard.SetDataObject(sbText.ToString()); // In this line...
I am trying to set a custom paper size by doing:
Printer.Height = 2160
Printer.Width = 11900
But it doesn't seen to have any effect. After setting this up, i ask for that values and it returns the default ones. And this:
Printer.PaperSize = 256
Returns an error...
Any ideas??
...
Hello,
Using VBA, is it possible to get the size of a given range in terms of pixels or units? (I don't care which unit as I am only using it to relate to other measurements with the same unit).
Thanks.
...
I have an XML file that I deserialize into a class object. This class contains a number of other classes, some of which are arrays.
I would like to increase the array size of some of the objects.
How can I do this?
In the following example, the MyData object has an array size of 5 but the MyArrayClass say only has an array size of 1....
I have a modified version of a flex calendar found Here, and though it looks alright on most computers I've seen, there is a problem on two of the three servers here. Because of the way Citrix is setup here, I need to have it functional on all of the servers.
When it loads, everything is stretched out vertically, and the numbers are mi...
I have styled a window to replace the standard window chrome with a standard 'System Menu' popup and I want to implement Size and Move using the keyboard. Anyone done this or have an example?
...
Can anyone think of a way I can discover a users pixels per inch? I want to ensure that a image displays in a web browser exactly the size I need it to, so using a combination of resolution (which I can get from the user agent) and pixels per inch I could do this.
However, I'm not sure if there is any way to discover a users pixels per...
I tried
printf("%d, %d\n", sizeof(char), sizeof('a'));
and got 1, 4 as output. If size of a character is one, why does 'c' give me 4? I guess it's because it's an integer. So when I do char ch = 'c'; is there an implicit conversion happening, under the hood, from that 4 byte value to a 1 byte value when it's assigned to the char variab...
I would be grateful if you can estimate (based on your experience/knowledge) the typical size of the main database of:
A SaaS web site
A Web2.0 web site
Of course this varies by application type, architecture & user-base, but any average estimation would be very helpful.
Thanks!
...
Are signed/unsigned mismatches necessarily bad?
Here is my program:
int main(int argc, char *argv[]) {
unsigned int i;
for (i = 1; i < argc; i++) { // signed/unsigned mismatch here
}
}
argc is signed, i is not. Is this a problem?
...
Hi,
I'm creating an application, from which a part looks like this:
I all dragged them to a window in IB, but the problem is that the NSImageView, Action Buttons (Suggest, Send, Poke etc...), Information NSBox, and Friends NSTabView can all vary in height. They should always be placed below each other, with a margin of 8px. Just like...
Hi, I am trying to figure out how to get my text to not wrap when the browser window is maximized to a 24 inch monitor and minimized to a more regular size. I think if I set a fixed number of space for a cell within an HTML table that this will help but I don't know how...any ideas? My monitor is 24 inches and so minimizing it to a norma...
Can anyone please tell me how can I change the font type and size of UISegmentedControl?
Thanks,
Aashutosh
...
This has to do with a question I read yesterday:
http://stackoverflow.com/questions/2274428/how-to-determine-how-many-bytes-an-integer-needs
Anyway, the part that I have a question about is this:
I'm looking for the most efficient way to calculate the minimum number of bytes needed to store an integer without losing precision.
...
<?php
if(isset($_POST['upload']))
{
//$albumid = $_POST['id'];
// Check to see if the type of file uploaded is a valid image type
function is_valid_type($file)
{
// This is an array that holds all the valid image MIME types
$valid_types = array("image/jpg", "image/jpeg", "image/bmp", "image/gif");
if...
Hi, is there a way to change size of chart when using method Chart.SaveImage() from the source code?
Right now the only way I found to set the size of chart, is resize the form on which chart control (System.Windows.Forms.DataVisualization.Charting.Chart) sits. Can I explicit set its width and height? Trying to change Chart.Size, Chart...
hey guys,
I am trying to build a website for myself.. I want to use an image as the header... I have made sure that my background will scale itself for any screen resolution... How do i make sure the image(header) will also scale it self according to the screen resolution...
for example: my image is 350px int width and 130px in height....
I use FPC 2.4.0 for WinXP(binary from the official page), also tryed with same version but compiled from source on my comp.
I put something like this:
I:\pascal\fpc-2.4.0.source\fpc-2.4.0\compiler\ppc386 -FWserver-1.wpo -OWsymbolliveness -CX -XX -Xs- -al -Os -oServer1.o Server
I:\pascal\fpc-2.4.0.source\fpc-2.4.0\compiler\ppc386 -FWser...
Hi, guys. I have a question about the stack size of a process on Linux. Is this stack size determined at linkage time and is coded in the ELF file? I wrote a program which print its stack size by pthread_attr_getstacksize(&attr, &stacksize);. And if I run this program directly from shell, it gives a value of about 10MB. But when I exec i...