[xsd-users] Double definitions when using DLLs

alexander.gosling at kongsberg.com alexander.gosling at kongsberg.com
Tue Aug 12 04:49:41 EDT 2014


Hello Boris,
We have tried these suggestions in Visual Studio 2012. Unfortunately have not been successful in making it work.

Could you show us an example in how you managed to get it to work?

--
alex


-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: 5. mai 2014 18:55
To: Gosling, Alexander
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Double definitions when using DLLs

Alexander,

I believe you can resolve this issue if you can make one of the DLLs "root" and export std::basic_string from it while importing it in all the other DLLs and your executable. This earlier post has the instructions:

http://www.codesynthesis.com/pipermail/xsd-users/2010-September/003011.html

With this email containing more analysis/information on the problem:

http://www.codesynthesis.com/pipermail/xsd-users/2010-September/003019.html

Let me know how it goes or if something is not clear.

Boris

________________________________

CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.



More information about the xsd-users mailing list