GetProcAddress probs
I have a variable of type FARPROC which I want to use to execute a function in a DLL. I created the DLL (all it does right now is add a number together... just for testing purposes), but my program crashes when it tries to execute the function. If someone could tell/show me how to properly use it, I''d be very gratefull.
http://www.gamedeveloper.net has a "Using DLL" example in the Code Snippets Section. Maybe it can help you.
Regards,
Jumpster
Regards,
Jumpster
Regards,JumpsterSemper Fi
I found "Using interfaces with DLLs". You were refering to this, correct? It did help a bit, but I''m still unsure as to how to use a DLL to dynamically assign a real function to a member function pointer within a class. Maybe a better question would be "Is there a better way I could be doing this?".
Maybe I''ll just look into scripting and leave DLLs for another day.
Maybe I''ll just look into scripting and leave DLLs for another day.
No, that''s not what I was referring too.
On that site there''s a few boxes on the left. Looking at the one that says "Development" click on the Code Snippets option.
From here on, you''ll be looking at the box on the right:
C/C++->Misc
On the table that displays, check these segments out:
"Dynamic DLL''s using C/C++" and
"Using DLL''s with C/C++"
Regards,
Jumpster
On that site there''s a few boxes on the left. Looking at the one that says "Development" click on the Code Snippets option.
From here on, you''ll be looking at the box on the right:
C/C++->Misc
On the table that displays, check these segments out:
"Dynamic DLL''s using C/C++" and
"Using DLL''s with C/C++"
Regards,
Jumpster
Regards,JumpsterSemper Fi
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement