D
Doug Gordon
I want to create an "MFC DLL" with VC.NET that will be explicitly loaded
when needed. That is, the main application will do a "LoadLibrary" call and
then a series of "GetProcAddress" calls to set up the entry points. What I
want is to be able to refer to the entry points as simple names, e.g.,
"MyFunction", as opposed to the "decorated" names that C++ generates by
default. So what I am asking about is the syntax for declaring the functions
in the DLL code.
I think I've done this in the distant past, and all I remember is stringing
together a lot of declarations and macros like "__dllexport", "WINAPI",
"__stdcall", etc. Does anyone have an example of how to do what I am looking
for here? Thanks.
Doug G
when needed. That is, the main application will do a "LoadLibrary" call and
then a series of "GetProcAddress" calls to set up the entry points. What I
want is to be able to refer to the entry points as simple names, e.g.,
"MyFunction", as opposed to the "decorated" names that C++ generates by
default. So what I am asking about is the syntax for declaring the functions
in the DLL code.
I think I've done this in the distant past, and all I remember is stringing
together a lot of declarations and macros like "__dllexport", "WINAPI",
"__stdcall", etc. Does anyone have an example of how to do what I am looking
for here? Thanks.
Doug G