by coolkc » Jun 6, 2007 @ 1:18pm
Hi,
Thank you for the reply.
I am working on Embedded Visual C++ and Pocket PC 2003. So I followed the tutorial for Windows mobile and not for Windows Desktop.
Also I already installed DirectX 9.0 and included the Lib folder but then I got more errors
dge.lib(edge.obj) : error LNK2019: unresolved external symbol __imp__Sleep@4 referenced in function "private: void __thiscall ClassEdge::LockFPS(void)" (?LockFPS@ClassEdge@@AAEXXZ)
edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__CreateFileW@28 referenced in function "public: bool __thiscall ClassEFile::Open(unsigned short *,unsigned char)" (?Open@ClassEFile@@QAE_NPAGE@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__CloseHandle@4 referenced in function "public: void __thiscall ClassEFile::Close(void)" (?Close@ClassEFile@@QAEXXZ)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__GetFileSize@8 referenced in function "public: unsigned long __thiscall ClassEFile::Size(unsigned short *)" (?Size@ClassEFile@@QAEKPAG@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__ReadFile@20 referenced in function "public: bool __thiscall ClassEFile::Read(void *,unsigned long)" (?Read@ClassEFile@@QAE_NPAXK@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__WriteFile@20 referenced in function "public: bool __thiscall ClassEFile::Write(void *,unsigned long)" (?Write@ClassEFile@@QAE_NPAXK@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__SetFilePointer@16 referenced in function "public: void __thiscall ClassEFile::Seek(unsigned long)" (?Seek@ClassEFile@@QAEXK@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__SetEndOfFile@4 referenced in function "public: bool __thiscall ClassEFile::SetSize(unsigned long)" (?SetSize@ClassEFile@@QAE_NK@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__DeleteFileW@4 referenced in function "public: bool __thiscall ClassEFile::Delete(unsigned short *)" (?Delete@ClassEFile@@QAE_NPAG@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__MoveFileW@8 referenced in function "public: bool __thiscall ClassEFile::Rename(unsigned short *,unsigned short *)" (?Rename@ClassEFile@@QAE_NPAG0@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__GetFileAttributesA@4 referenced in function "public: unsigned short __thiscall ClassEFile::GetAttributes(unsigned short *)" (?GetAttributes@ClassEFile@@QAEGPAG@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__FileTimeToSystemTime@8 referenced in function "public: bool __thiscall ClassEFile::GetInformation(struct E_FILEINFO *,unsigned short *,bool)" (?GetInformation@ClassEFile@@QAE
_NPAUE_FILEINFO@@PAG_N@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__FileTimeToLocalFileTime@8 referenced in function "public: bool __thiscall ClassEFile::GetInformation(struct E_FILEINFO *,unsigned short *,bool)" (?GetInformation@ClassEFile@@
QAE_NPAUE_FILEINFO@@PAG_N@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__GetFileInformationByHandle@8 referenced in function "public: bool __thiscall ClassEFile::GetInformation(struct E_FILEINFO *,unsigned short *,bool)" (?GetInformation@ClassEFil
e@@QAE_NPAUE_FILEINFO@@PAG_N@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__CreateDirectoryW@8 referenced in function "public: bool __thiscall ClassEFile::NewFolder(unsigned short *)" (?NewFolder@ClassEFile@@QAE_NPAG@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__FindFirstFileW@8 referenced in function "public: bool __thiscall ClassEFile::OpenFolder(unsigned short *,unsigned short *)" (?OpenFolder@ClassEFile@@QAE_NPAG0@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__FindNextFileW@8 referenced in function "public: bool __thiscall ClassEFile::ReadFolder(unsigned short *)" (?ReadFolder@ClassEFile@@QAE_NPAG@Z)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__FindClose@4 referenced in function "public: void __thiscall ClassEFile::CloseFolder(void)" (?CloseFolder@ClassEFile@@QAEXXZ)
edge.lib(emod_file.obj) : error LNK2019: unresolved external symbol __imp__RemoveDirectoryW@4 referenced in function "public: bool __thiscall ClassEFile::DeleteFolder(unsigned short *)" (?DeleteFolder@ClassEFile@@QAE_NPAG@Z)
edge.lib(emod_vtimer.obj) : error LNK2019: unresolved external symbol __imp__GetTickCount@0 referenced in function "public: static unsigned long __cdecl ClassERTimer::Count(void)" (?Count@ClassERTimer@@SAKXZ)
edge.lib(emod_vtimer.obj) : error LNK2019: unresolved external symbol __imp__QueryPerformanceCounter@4 referenced in function "public: static unsigned long __cdecl ClassERTimer::Count(void)" (?Count@ClassERTimer@@SAKXZ)
edge.lib(emod_vtimer.obj) : error LNK2019: unresolved external symbol __imp__QueryPerformanceFrequency@4 referenced in function "public: static unsigned long __cdecl ClassERTimer::Count(void)" (?Count@ClassERTimer@@SAKXZ)
edge.lib(emod_device.obj) : error LNK2019: unresolved external symbol _GetSystemPowerStatus@4 referenced in function "private: static void __cdecl ClassEDevice::GetBatteryInfo(unsigned char &,unsigned char &)" (?GetBatteryInfo@ClassEDevice@@CAXAAE0@
Z)
edge.lib(emod_device.obj) : error LNK2019: unresolved external symbol __imp__GetSystemTime@4 referenced in function "public: static void __cdecl ClassEDevice::CurrentTime(unsigned char &,unsigned char &,unsigned char &,bool)" (?CurrentTime@ClassEDev
ice@@SAXAAE00_N@Z)
edge.lib(emod_device.obj) : error LNK2019: unresolved external symbol __imp__GetLocalTime@4 referenced in function "public: static void __cdecl ClassEDevice::CurrentTime(unsigned char &,unsigned char &,unsigned char &,bool)" (?CurrentTime@ClassEDevi
ce@@SAXAAE00_N@Z)
edge.lib(emod_device.obj) : error LNK2019: unresolved external symbol __imp__GetTimeZoneInformation@4 referenced in function "public: static unsigned long __cdecl ClassEDevice::LocalTimeOffset(void)" (?LocalTimeOffset@ClassEDevice@@SAKXZ)
edge.lib(emod_device.obj) : error LNK2019: unresolved external symbol __imp__GetVersionExA@4 referenced in function "public: static void __cdecl ClassEDevice::GetOSName(unsigned short *)" (?GetOSName@ClassEDevice@@SAXPAG@Z)
edge.lib(emod_device.obj) : error LNK2019: unresolved external symbol __wgetenv referenced in function "public: unsigned short * __thiscall ClassEDevice::GetOwnerName(unsigned short *)" (?GetOwnerName@ClassEDevice@@QAEPAGPAG@Z)
emulatorDbg/helloworld.exe : fatal error LNK1120: 28 unresolved externals
These were the errors. Can you find what might be the problem here? I will however try working on Windows Desktop now, but I wanted to know what went wrong in the previous implementation of Embedded Visual C++ and Pocket PC 2003. Even when I install the directx why the errors are arising?
Thank You
coolkc