When I was creating the stub I looked around in several dll's and some of the them export DllMain.
./advpack/advpack.spec:@ stdcall -private DllMain(long long ptr) ./dciman32/dciman32.spec:@ stdcall -private DllEntryPoint(long long ptr) DllMain ./itss/itss.spec:@ stdcall -private DllMain(long long ptr) ./msimg32/msimg32.spec:@ stdcall -private DllInitialize(long long ptr) DllMain
Then in what case do you need to export?
Benjamin
On 9/28/06, Robert Shearman rob@codeweavers.com wrote:
Benjamin Arai wrote:
+@ stdcall -private DllMain(long long ptr)
There's no need to export DllMain.
-- Rob Shearman