So far I used to load dlls at load-time therefore compiled my programs with .lib file that linker made when building a dll. Now I've come to a situation when I would like to execute a function in a dll via LoadLibrary. Well it works to the point when I issue a command GetProcAddess which never gets a lock onto function that I know is in a dll (I made my dll).
When I tried to see what's in the Export table of a dll through quick view in Win95 I saw nothing. The export table showed up only if I quick view a dll in WinNT. Why????
The other thing is that the name of a function looks like this : 0000 ?Func1@@YAXXZ or something. Strange that ordinal number began with 0 instead of 1. My function is simply void Func1 (void) and nothing else. I exported it via __declspec(dllexport). Otherwise if I include .lib file that was generated with dll to my .exe I can successfuly call Func1.
What am I doing wrong????