PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Problem with Edge and windows desktop

I have a project that runs well onpocket pc and I have to make it run under windows because I don't have a ppc anymore to test it. I have tested the edge samples and they work well. So I assume that the problem don't really comes from edge but I really don't see where it could comes from. I have these errors:

"c:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\WinBase.h(232): error C2501: '_OVERLAPPED::__unnamed::__unnamed::DWORD' "

"c:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include\WinBase.h(228): error C2501: '_OVERLAPPED::ULONG_PTR'"

I think that the problem comes from the platform SDK but I have it installed and I have added the paths to VS.net
Maybe you can try to rebuild the Edge samples (go to build -> rebuild all). Sometimes it doesn't recompile if files hadn't changed. Try to see if you get the same error.

It seems the errors come from a multiple defined symbol. Have you defined (using #define or typedef) one of these symbols (DWORD, ULONG_PTR)?
Even if I rebuild the edge samples, I don't get the same error. Plus, I didn't redefine the ULONG or DWORD symbols. If I find the error, I'll post a message in case of someone will encounter the same problem
You can try to comment out all source code, except an empty EdgeMain function returning NULL. Try to see if the problem still happens. If it is, there might be something wrong with the project file, otherwise try to check which piece of source code generates the error.