Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ionutdinulescu

    Convert 32 bit png to 24 bit

    thanks, the problem with this software is that the png looses transparency after conversion.
  2. ionutdinulescu

    Convert 32 bit png to 24 bit

    Hi ! How can I convert a 32bit png image to 24bit png ?
  3. ionutdinulescu

    VC 6.0 IDE got slower

    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 ?
  4. ionutdinulescu

    pass ... to scanf

    thanks for reply... but the function is SSCANF not scanf and unfortunately there is not a vsscanf version for it
  5. ionutdinulescu

    pass ... to scanf

    Thanks, but I would like not to use a terminator (since it may be in the list of arguments)
  6. ionutdinulescu

    pass ... to scanf

    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 ?
  7. ionutdinulescu

    Create alpha channel

    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 ?
  8. ionutdinulescu

    printf doesn't return the correct number of bytes ?

    I'm using vc6.0 sp6. I really don't know what is happening. The return seems to be as writing to a binary file, although I open "NUL" as text.
  9. ionutdinulescu

    printf doesn't return the correct number of bytes ?

    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 ?
  10. ionutdinulescu

    printf doesn't return the correct number of bytes ?

    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...
  11. ionutdinulescu

    printf doesn't return the correct number of bytes ?

    the code bellow: n = fprintf(f, "%d", 4); does not return 1, as I expected. Do you know the cause, and how this can be fixed ?
  12. ionutdinulescu

    /dev/null windows equivalent for Windows ?

    OK, I've found it: it's NUL
  13. ionutdinulescu

    /dev/null windows equivalent for Windows ?

    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.
  14. ionutdinulescu

    _vscprintf

    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...
  15. ionutdinulescu

    Navigating trough List View

    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...
  16. ionutdinulescu

    Navigating trough List View

    I have a CListCtrl control and a text box on a dialog. When I click on an item in the list, I display a corresponding message in the text box. Now I would like to do the same when I press arrow and page down/up keys. I'm currently using LVN_KEYDOWN message. The problem is that when I go from...
  17. ionutdinulescu

    Setup wizard

    I have done a setup project with Setup wizard. Now I want to add the option to preserve some existing files when reinstalling the application. How can I do that ? Is there an option to preserve only a particular file ? I'm using VS.Net 2002
  18. ionutdinulescu

    Setup wizard

    I have done a setup project with Setup wizard. Now I want to add the option to preserve some existing files when reinstalling the application. How can I do that ? Is there an option to preserve only a particular file ? I'm using VS.Net 2002
  19. ionutdinulescu

    Autoincrement field problem

    Thanks for your advices, they were very usefull. Now I would like to use a DataSet object to do the inserts (something like myDataSet.Tables(0).NewRow). Are there any chances that your solution will work if I do a "select @@identity" just after adding a new row using myDataSet ? Remember...
  20. ionutdinulescu

    verify if data field type

    I try to get the date component of the datetime object

Part and Inventory Search

Back
Top