Have read that VS2005 emulator supports GAPI. I was trying to compile samples (for Pocket PC 2003) from Microsoft site but they do not work. I am new at this field and probably I am doing something wrong with GAPI components. I think I have to use gx.dll and gx.lib for ARM processor and put them on PDA. Where should I put them in project to make it work? I have VS2005 Standard Edition on laptop with XP SP2, using c#. Any help is appreciated.
I think you'll need to use LoadLibary function to use gx.dll in C#. Need to check syntax, Im new to C#!
You then need to copy gx.dll to either the same folder as your program file or the /WINDOWS folder on the device.
The emulator has these on already.
It is worth pointing out that for WM5 and onwards, the GAPI libary is depreciated and has been replaced by DirectX mobile.
Thanks, gamefreaks. I made it work with device, hope it will work with emulator too, will try to put GXGraphics dll (sample from MS site) to application folder. I am aware that MW5 has more efficient graphics components, even tried them, but they will not work for PPC 2003.
I have tested GAPI performance and a regular Graphics objects (double buffering) and found that there is no big difference. Am I doing something wrong?
There shouldn't be much difference between GAPI and the GDI as neither will use any blitting hardware the device has available to it.
If you need the extra speed, you should look at PocketHAL or DXMobile.
DXMobile? is that something similar to PocketHal?
Can you talk a little more about that?
Thank you,
Serge.
DX as in DirectX. It's new to Windows Mobile 5. You should be able to find it at
http://msdn.microsoft.com
[edit] Here's the link:
http://msdn2.microsoft.com/en-us/library/ms172504.aspx
Oh, right... I got confused, because I googled it and I only found something about a sync app on palm...
Thank you,
Serge.