Hello,
First scenarion :
I'm using AfxDaoInit() from win32 C console application it works fine.
Second scenario:
I created a win32 C dll, that has a method below
I have managed C# .exe that using Interop.Services to call Init function.Code:DLLEXPORT void Init() { AfxDaoInit(); }
I can see that it reach the Init function, but it fails on AfxDaoInit().
Is there any problem running AfxDaoInit() from non-GUI thread?
I'll appreciate your help.
Thanks