I'm using VC 6.0 + sp 6. I'm working on a project for some time, but in the last week the ide got extremely slow (only when I'm working on this project).
It hooks for 4-5 seconds when I want to open a file, or while I'm typing something.
Have anyone experienced this problem ?
I have a function fct(int a, format, ...)
from this function I would like to call the function
sscanf(s, format, ...) where ... must be the arguments passed to fct. Is this thing possible ?
I have a jpg file and a second jpg that is the transparency mask of the first.
I want to create a png file from these two, with an alpha channel.
Can anyone help me ?
The following code:
FILE *f = fopen("NUL", "wt");
retval = fprintf(f, "%.2f, 2000.0);
returns 5 (so 2000. instead of 2000.00)
Does anyone know the cause for this ?
The file I'm using is NUL. The complete code is:
f = fopen("NUL", "wt")
n = fprintf(f, "%d", 4);
and is supposed to "write to nowhere" as I just need the number of charactes that have been written
I don't have VC on this computer, so I cannot tell you the exact result, but it's about 3 or...
Does anyonw know a /dev/null equivalent for Windows?
I would like to use fprintf to write to "nowhere", cause I just need the number of bytes that are written.
I cannot use sprintf with a large buffer, since I want to avoid buffer overrruns.
Please it's urgent.
Does anyone know why the _vscprintf function described in MSDN is not defined anywhere in vc 6.0 ?
Does anyone know a better alternative to this function ?
For instance, how can I use printf to print to a null device. I just need to find the result it returns (number of characters that have been...
Seems to work, but if I put a breakpoint in this function, then move from item 2 to item 0, it gets to the breakpoint 3 times. First 2 times pNMListView->iItem is still 2, and it gets to 0 the third time.
I can do a workaround for this, but it's a bit stupid that it happens. It doesn't happen...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.