[openamq-dev] OpenAMQ and Visual Studio 2005

Martin Sustrik sustrik at imatix.com
Fri Feb 15 11:46:22 CET 2008


Jorg,

Yes, it's either __declspec (dllexport) or, optionally, you can specify 
symbols to export in .def file.

Martin

Jörg Fischer wrote:
> Hi Martin,
>
> I've googled around and searched the project properties of Visual Studio,
> but I didn't find out where to specify which symbols should be exported.
> Do you mean the __declspec(dllexport) declaration?
>
> Jörg
>
> Martin Sustrik schrieb:
>   
>> Hi Jorg,
>>
>> I am not 100% sure, however, I believe that if you build the DLL with 
>> static CRT without exporting CRT symbols from the DLL, you should be 
>> able to link it with a main that uses dynamic CRT.
>>
>> Martin
>>
>> Jörg Fischer wrote:
>>   
>>     
>>> Hi Martin,
>>>
>>> Currently I try, according to your advice, to build a dll with static 
>>> CRT for my project that handles all the
>>> OpenAMQ-related stuff. Later I want to use this dll from my main 
>>> application, which has to use DLL CRT.
>>> In one of your mails you told me that...
>>>   
>>>     
>>>       
>>>>> with DLL version of CRT rather than with static CRT. Note that OpenAMQ 
>>>>> does not support DLL CRT.
>>>>>       
>>>>>         
>>>>>           
>>> This sounds to me like I can't use OpenAMQ at all from my main 
>>> application. Am I right?
>>>
>>> Regards,
>>>
>>> Jörg
>>> _______________________________________________
>>> openamq-dev mailing list
>>> openamq-dev at lists.openamq.org
>>> http://lists.openamq.org/mailman/listinfo/openamq-dev
>>>   
>>>     
>>>       
>> _______________________________________________
>> openamq-dev mailing list
>> openamq-dev at lists.openamq.org
>> http://lists.openamq.org/mailman/listinfo/openamq-dev
>>   
>>     
>
>
>   



More information about the openamq-dev mailing list