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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by hencox

  1. hencox

    CreateWindow (for newbie)

    Thanks! :) Are there any pre-defined registered window classes I can use, so that I won't have to fill in that entire struct? Currently my application is a console. Maybe I need to change its type to WinMain? Regards Henrik
  2. hencox

    CreateWindow (for newbie)

    Hi! I'm trying to create an invisible window using CreateWindow(). Which is the easiest way to do this? I've had a look at the parameters of this call. I think some of them are cryptic (like lpClassName and hInstance). I've also tried calling this function, but I always get error #1407...
  3. hencox

    Calling functions from DLLs

    When reading my post, I realize that I expressed myself a little bit fuzzy perhaps. What I want to do is call a funtion that resides in a DLL.
  4. hencox

    Calling functions from DLLs

    Hi! I'm trying to call a function from within a DLL by using this code: FUNCPNT* fP; HINSTANCE hLib = LoadLibrary("the_api.dll"); if(hLib) { fP = (FUNCPNT*)GetProcAddress(hLib,"TheDLLFunction"); } //the calling of the function (*fP)(); This gives me the error...
  5. hencox

    AnsiString in Visual C++ ?

    Thanks for your help! :) I tried changing AnsiString to std::string, and using the include file <string> the errors are gone. :)
  6. hencox

    AnsiString in Visual C++ ?

    Hello! In my project in Visual C++ I need to include an old header file that defines a struct that among other things uses AnsiString. The header file doesn't state any includes that might contain this class (or whatever it is). I get a compiler error when trying to compile this. Is there...

Part and Inventory Search

Back
Top