if your DLL Working in WIN7 or WIN8 OS,And The host process is C:WindowsSystem32rundll32.exe,You will understand that I mean expression.
You write the DLL DEMO,Loading in the following ways In win7,Error also occurs!
Quote:
C:WindowsSystem32rundll32.exe C:Project.dll,test
If your host process is compiled by Delphi so there won't be a mistake,But if you host process is compiled by VC++ or other,
and PEheader.MajorSubsystemVersion not 0x0400 ,Error will occur!In this way, we write DLL there is no way to call by the VC++ host process !