[ace-users] Using ACE in DLL

Steve Huston shuston at riverace.com
Sun Jun 7 12:16:51 CDT 2015


Probably ACE is not being initialized. Look in one of the first few chapters of The ACE Programmers Guide for more info.

-Steve

> On Jun 7, 2015, at 10:40 AM, Boris Ouretskey <borisusun at gmail.com> wrote:
> 
> Hi,
> 
> I am trying to use ace tasks API  ACE compiled to DLL) in project which is in itself is DLL (Microsoft 2013 Unitest Project). However the simplest within test crashes upon task activate. May it it somehow connected to ACE using the TLS storage which is not automatically supported when ACE is loaded in DLL's???
> 
> The code which crashes is:-
> 
> ACE_Task<ACE_MT_SYNCH> t;
> t.open();
> t.activate(); // <-- HERE IT CRASHES
> 
> 
> The test project that is using the the ACE Dll is DLL by itself. When the ACE Dll is loaded from Exe everything is fine.
> 
> Has anyone an idea what can go wrong? Should I disable TLS storage?
> 
> Thanks
> _______________________________________________
> ace-users mailing list
> ace-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users


More information about the ace-users mailing list