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 strongm 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. WillieBotha

    Calling DLL's from Visual C++ 6

    Hi, I have a little problem here everytime I try to get a return value for a function after I loaded the library and got the PRocAddress I get the following error : Debug Error ! Program : "c:\blah" Module: File: i368\chkesp.c" Line: 42 The value of ESP was not properly saved...
  2. WillieBotha

    Beginner Question

    Well all I actually want to know in the first function - is he writing something before the username in : if (!fseek(fp, 0L, SEEK_SET)) -->(here): if (fwrite(&len, sizeof(short), 1, fp)) return fwrite(cp, sizeof(char), len, fp); and if you use all the fwrite statements after each other...
  3. WillieBotha

    Beginner Question

    Hi, I am a beginner in C++ and Writing Dat file headers and info. I have to change some of the coding now but I have to know what it exactly does ? Thanks a lot ! int MMWriteHdr_UserName(FILE* fp, char* username) { short len=strlen(username)+1; char* cp = username; MMBufCrypt((unsigned...
  4. WillieBotha

    Wrong value is written to Registry.

    I have to declare it as unsigned long but what must I reset it to everytime. Thanks for your help so far. Willie Botha Programmer Mead & McGrouther South-Africa
  5. WillieBotha

    Wrong value is written to Registry.

    Hi, I am new to this forums as well as to Visual C++ so hello to all. I seem to have a strange problem here. What I did is I created a dll which writes values to the registry. Two of the values are written correctly and the other is gibberish. The code is as follows - I will indicate also where...

Part and Inventory Search

Back
Top