redneon wrote:
Well at home I use g++ because, primarily, I use Linux. But at
University we have to use Microsoft Visual Studio 2003. This poses
quite a problem for me now. It looks like I'm going to have to use
Visual Studio at home.
Is it actually compiler specific or just OS specific? i.e. Would it be
possible for me to create a .dll using mingw in Windows and then use
that .dll in Visual Studio?
For g++, try gnu.g++.help
For VC, try microsoft.public.vc.language, or
microsoft.public.vstudio.general
And yes, it is compiler specific, for DLLs. Though you could use a .DEF
file to specify export names. The problem is that each compiler uses a
different name mangling scheme and/or ABI.
For example, I don't believe you can use g++ 2.95 shared libraries with
g++ 3.x code (Disclaimer: this is my experience, I could be wrong).