same name in two DLL
-
I need load two DLL, a.dll and b.dll. In a.dll has fun() function and b.dll has fun() too. How to distinguish between a.dll/fun() and b.dll/fun().
-
I need load two DLL, a.dll and b.dll. In a.dll has fun() function and b.dll has fun() too. How to distinguish between a.dll/fun() and b.dll/fun().
Put them in name space.
nave [OpenedFileFinder]
-
I need load two DLL, a.dll and b.dll. In a.dll has fun() function and b.dll has fun() too. How to distinguish between a.dll/fun() and b.dll/fun().
hanlei0000000009 wrote:
In a.dll has fun() function and b.dll has fun() too. How to distinguish between a.dll/fun() and b.dll/fun().
Using
GetProcAddress
and atypedef
(with different names) for prototyping the function should help.Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com