I'm having trouble compiling an old MFC WIN CE embedded project in windows 7 visual studio 2010. I believe the old application was compiled in embedded Visual Studio 4 and needed mfcce211.dll.
Any who, all of the source files manage to compile fine but I’m getting the following linker error:
error LNK2019: unresolved external symbol _VirtualCopy referenced in function "public: static void __cdecl CTX3922::Initialise(void)" (?Initialise@CTX3922@@SAXXZ)
VirtualCopy is being called in CTX3922::Initialise which is in the file TX3922.cpp and holds:
extern "C" {
BOOL VirtualCopy(LPVOID lpvDest, LPVOID lpvSrc, DWORD cbSize, DWORD fdwProtect);
}
Project properties are:
Enabling /NODEFAULTLIB throws A LOT of linker errors including this one.
I can't find the declaration of VirtualCopy anywhere
I am missing a library, if so, Is there anyway of finding out which one?
Many Thanks
VirtualCopy is a Win CE call used to copy physical memory into virtual given a memory address and is not available in win32. this type of call cannot be done in a standard c++ usermode app. I will most likey need a device driver. Thanks