Hi all, I'm again here to ask help or informations!
I have to create a wrapper for a .lib using Visual Studio 6.
I have to do this cause the source of the lib use templates and Visual Studio 6 isn't able to manage them, and I can't use another IDE.
Here the questions:
1) I have the library created in Visual studio 2005, I haven't documentation about it, so what can I do?
2) How can I create a wrapper in C++ for it using Visual Studio 6? (the most important passes)
3) If I'll find the source, I have to read/study it to be able to create the wrapper?
4) In my C++ wrapper, I have to create methods that have the same names of the methods library?
i.e.:
in the library I have: GetImages(int x, int y);
if i want to use this method in my C++ wrapper, have to call: .....->GetImages(x,y);
but HOW can I use the library??
For example I open the project properties and in the "Linking" tab (or where??) I have to add: mylib.lib!
We assume that in this .lib I have a method called: isFlat();
What do I have to write in my .cpp file to use that method??