Miguel, > Hey, this is rigth. But my problem is when i pass by reference a > std::string to an old-style DLL.
That will never work well. Either recompile your old library with VC++ 7 with the correct libraries, or do quite a bit of work to get your VC++ 7 application to use the VC6 headers and libs (much less desirable, imho). -- Tomas Restrepo [EMAIL PROTECTED] You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.