DLL usage problem in VS 2005

X

x_den

My project consists of two smaller ones : "kernel" and "interface".
"kernel" is implemented in a DLL and the problem is when I try to link
"interface", it can't find any of functions defined in DLL.
Linker tries to find "public: class CFileTree * __cdecl
CFileTree::GetChildDir(void)const".
But the DLL has "public: class CFileTree * __thiscall
CFileTree::GetChildDir(void)const".
I've tried to change Calling Conventions in settings of DLL project to
every of possible, and only __thiscall was generated every time. DLL
was created as a generic Win32 DLL. Is there a way to change the
convention in either DLL or the program itself to get rid of this error?
 
H

Howard

My project consists of two smaller ones : "kernel" and "interface".
"kernel" is implemented in a DLL and the problem is when I try to link
"interface", it can't find any of functions defined in DLL.

You need to ask in a microsoft newsgroup. Check the msnews.microsoft.com
server for possibilities.

-H
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,183
Messages
2,570,967
Members
47,518
Latest member
RomanGratt

Latest Threads

Top