Support Board
Date/Time: Tue, 01 Jul 2025 22:00:26 +0000
Post From: How to Call DllMain() from an Additional Object File
[2016-04-30 16:05:47] |
Pinger - Posts: 33 |
Hi I'm building a custom study with an additional object file 'myfunctions.o' by including it as an Additional Compiler Parameter. The study appears to build OK. However 'myfunctions.o' contains a DllMain function which doesn't appear to be called when the study is loaded. I have decorated DllMain with __declspec(dllexport) in 'myfunctions.o', and doing an 'objdump -x' of my study DLL lists DllMain as an exported function, but DllMain appears not to be being called. Any suggestions help would be appreciated. |