A
--== Alain ==--
Hi,
I'm migrating my MFC application to .NET and therefore i need to create
it again...
However, there are some *.cpp and *.h file which i would like to keep as
such (in MFC coding).
How can i makethem usuable for VC.NET ?
I tried a simple include and here is the result :
MyAPP\wrapper\CARDLLWrapper.h(10) : error C2065: 'FUNCT_LocGetString' :
undeclared identifier
Where in my CARDLLWrapper.h :
typedef LPTSTR (*FUNCT_LocGetString)(HMODULE, long);
and in my CARDLLWrapper.cpp :
(FUNCT_LocGetString)MyGetStr =
(FUNCT_LocGetString)GetProcAddress(m_hlibLoc, (LPCSTR)("DLL_GetString"));
I tried to play with C++/compiler options but without success.
Could you help me please ?
thanks a lot,
Alain
I'm migrating my MFC application to .NET and therefore i need to create
it again...
However, there are some *.cpp and *.h file which i would like to keep as
such (in MFC coding).
How can i makethem usuable for VC.NET ?
I tried a simple include and here is the result :
MyAPP\wrapper\CARDLLWrapper.h(10) : error C2065: 'FUNCT_LocGetString' :
undeclared identifier
Where in my CARDLLWrapper.h :
typedef LPTSTR (*FUNCT_LocGetString)(HMODULE, long);
and in my CARDLLWrapper.cpp :
(FUNCT_LocGetString)MyGetStr =
(FUNCT_LocGetString)GetProcAddress(m_hlibLoc, (LPCSTR)("DLL_GetString"));
I tried to play with C++/compiler options but without success.
Could you help me please ?
thanks a lot,
Alain