[GD-Windows] GetProcAddress()
Brought to you by:
vexxed72
From: Erwin de V. <er...@vo...> - 2001-10-16 18:06:15
|
Hi, I'm splitting our engine in several parts, and i'd like to use dll's in some places using dynamic linking. Now i've created a function called MyDLLFunc(). If i want to access this function in my main app using GetProcAddress() i specify "MyDLLFunc" as function name, but this fails. After looking into the listing of the dll i gave it a try to use " ?MyDLLFunc@@YAXXZ " as name. That worked. How on earth am i supposed to export 20 functions in a decent manner? Look them up all up in the listing? I must be doing something wrong. Could anyone help me out? Thanks, Erwin |