Reputation: 69
I am not pro in C++ programming and I am not sure if I am asking the right question. I have a DLL from which I have to use a few functions and types. This DLL was created in Microsoft VisuaL Studio 6.0. I have VS2010, is it a straight forward approach to create a new project in VS 2010 C++ and use above mentioned Dll in the project ?
Thanks in advance. Cheers, CPP
Upvotes: 1
Views: 382
Reputation: 7799
As long as the function calls in the DLL take standard C type and not classes you are ok for sure.
If MFC classes are passed to the DLL, you are probably not OK as classes probably changed from VC6 to VS2010.
If non MFC classes/structs are passed to the DLL you may be ok as long as you pack the structures to the right alignment.
Upvotes: 3