Howdy,
The few messages in the EasyCE1.5 thread got me thinking about the casio mips pspc. What are the challenges in getting that to properly link? If the project consists of classes that mainly build on themselves and uses easyCE for base program setup, what tweaks are necessary to get it to link for PSPC 2.11?
My project builds fine under Pocket PC (with eMbedded Vis C++) and fine for Win32 (with Vis c++). When I attempt to build for PSPC 2.11 MIPS, I get the following error:
EasyCE.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl GXOpenDisplay(void *,unsigned long)" (__imp_?GXOpenDisplay@@YAHPAXK@Z)
This GXOpenDisplay is part of the GX LIB? I guess that would be a different flavor than the one already in lib_mips?
Any pointers?
- Ketamine
You need to link against gx.lib, which is the import library for gx.dll. Go into Project->Settings, and add gx.lib to the list of Object/library modules.
Dan East
The GX.LIB is in my include statement and the other GX.. statements seem to compile ok. Maybe the function is not being called like it should.
GXOpenDisplay( NULL, GX_FULLSCREEN );
Is this the proper use of this function? Is the GAPI used on the PSPC devices?
Thanks,
Ketamine
Ahhh. I should have read your question more carefully. No, GAPI it not officially supported for CE 2.11. However, I think someone (Larry Bank?) has produced a 3rd party one for PSPC and HPC.
Dan East
nah larry is not that cool, there is one here though:
http://balder.prohosting.com/behr/lose.html
see how that works...
however, the subject fo the pspcs with easy
ce came up because of the previous versions of easyce worked with pspc out of the box.. so to speak. And now it doesnt

Earlier versions of EasyCE used GameX instead of GAPI. GameX evolved into GAPI, and is thus very similar. The main reasons for not supporting 2.x anymore are:
1. I don't have a 2.x device (I had one, but I sold it)
2. I think only a small number of people own devices and use them for programming and / or games.
Combine 1 & 2, and you see the problem: I would have to develop using testers, making testing cycles extremely long. If that would serve hundreds of people, that would be OK, but I doubt that. I have little time, and I think I can better spend it on things that more people need.
If, however, you are a coder with a 2.x device, you might give it a try. I would gladly help you; I'm sure I have the GameX code somewhere, it should be possible to merge it with the current version of EasyCE.
- Jacco.
Jaybot, Thanks for the link. I am going to try to use that GX library tonight on my old E100. I should be able to link for the PSPC against that in the same manner that I do for the pocketPC devices.
Phantom, I still see some remains of GAMEX in your EasyCE1.5. Were there any other PSPC (besides what will be handled in the GAPI) specific functions / interface changes for setting up a PSPC as opposed to the PocketPC?
Thanks,
Ketamine
Is the WIN32_WCE constant defined both pocket PC and PSPC devices? what would I use to differentiate the two?
Also, does anyone have a decent link for general pocketPC dev or PSPC dev site? The reference material I have is a bit dated (covers 2.0).
Thanks
- Ketamine
Also, I have my project compiling / fully linking under the PSPC MIPS device using the source from
http://balder.prohosting.com/behr/lose.html .
What libraries are needed for this to run besides the GX.DLL, the source exe and the images?
After clicking my app, the taskbar is minimzed (hidden) and then the device freezes.
Any pointers?
-- Ketamine
Yes, _WIN32_WCE is defined for both platforms, as is _WIN32_WCE_PSPC. The latter is what you should actually use. Just do the following to check for Pocket PC as oppposed to PSPC:
[fixed]
#if _WIN32_WCE_PSPC>=300
//This is a pocket pc build
#endif
[/fixed]
Dan East
I finally got my test app to work on my E100 using EasyCE and the GAPI (mentioned above). There are issues with the void taskbar( bool show ) code in EasyCE for the PSPC and the GAPI lib.
The GX.LIB mentioned above hides the task bar on GXOpenDisplay(...) and restores it (if not set to autohide in the taskbar preferences) on the GXCloseDisplay(..) call. I just removed the PSPC section of the taskbar(bool) in EASYCE.cpp and now everything works as it should.
I cannot say how compatible EasyCE is with button calls / assignments for the PSPC just yet, but should soon.
-- Ketamine