Log in

View Full Version : Converting WCE x86 to WCE ARM?


Cdextraze
09-18-2003, 01:50 PM
I created a program with EVC++ 3.0 that is working quite well with the
emulator of the pocket PC 2002(WCE x86), but now I have to use it so
it can work on a real Pocket PC so I find out it was only working on
(WCE ARM) but when I compile it, I got lot of error and it seem that
good part of my coding not working with it...

I did put a lot of work in it and I really would appreciate if someone
know a way to make it work in WCE ARM!

Thanks for your time!

nicstrong
09-19-2003, 11:23 AM
Can't think of anything of the top of my head.
But one or two of the error messages would help people trying and get to the bottom of it.

Cheers,

Cdextraze
09-19-2003, 01:09 PM
Thanks for the reply, it is like I thought, well look like I have to find an other way to access my database, it was the hardest to do and now with the WCE ARM it is not working anymore...., now how it can be done...

Anyone have any idea, how to access my database, other than ADOCE in eVC++ ??? cause that was the way I was making it work but now the code give me error!

Janak Parekh
09-19-2003, 04:38 PM
Cdextraze, can you post the exact error messages you're getting? I think that's what Nic is asking for.

--janak

Cdextraze
09-19-2003, 06:20 PM
C:\Windows CE Tools\wce300\Pocket PC 2002\mfc\include\afxdisp.h(63) : fatal error C1189: #error : "Can't build MFC OLE projects using static MFC libraries."
is one of them.

but once I manage to pass those error when linking
the CoCreateInstance function seem to create problem.
It is because I using the wrong library?

thanks again for your time
Christian

nicstrong
09-22-2003, 10:06 AM
Try changing to the DLL version of MFC might get past the first lot of errors.

That can be done in Project->Settings->General Tab

Change Microsoft Foundation Classes to 'Use MFC in Shared DLL'

Hope that helps.

Cheers,

Cdextraze
09-22-2003, 01:14 PM
Hey thanks a lot Nic, it working now!!! :) well almost...
I got this linking error
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function WinMainCRTStartup
I fell so newbie now!!! :oops:
You still have save me a lot of work thanks again I hope I will be able to help you back someday.

nicstrong
09-22-2003, 11:28 PM
I think that is because unicode apps have a different entry point.

Try setting the Entry-point symbol to 'wWinMainCRTStartup'.

This is done in Project->Settings->Link tab->Output category.


Cheers,

Cdextraze
09-23-2003, 01:37 PM
Well thanks a lot for all your kind help, well I am glad that I can keep all my work!
I hope I will know as much as you someday in Pocket PC programming :)

Take care!

Christian