I have a Borland C++ DLL "testapi.dll", now I want to use it in Visual C++ project. I did as following:
1)use "impdef testapi testapi.dll" got a "testapi.def" (The "impdef" is a Broland command).
2)use "\msdev\bin\lib: /def:testapi.def" got a "testapi.lib"
Then I added the testapi.lib file into my project. The problem is:
The funtion I defined in the testapi.dll is "CreatTestWindow", when I built the VC++ project, there is a linker error, "unresolved function _CreatTestWindow". I don't know why there is an extra "_". Does that because my conversion is not correct?