I've got a project I'm working on that, every once in a while, will appear not to run... but if I wait several minutes and stop some other programs, it then starts. As if it were waiting for free memory or something.
This is usually when I've been using the ppc for checking emails and various things - so several apps are running...
I thought that the other apps are supposed to be shut down automatically - or the game should just fail to load - not wait indefinitely.
Has anyone else seen this behavior? I'm using PF0.8 on a 2003SE device.
Thanks.
yeah, I've noticed it too... for about 1/2 second the PPC will appear to freeze. When this happens I quit the project I'm working on, stop all other applications and then resume development.
Seems like an OS snag to me.
I was fortunate enough to have this huge pause (minutes - not seconds) on my project loading today while it was in the cradle.
I loaded up the remote process viewer and noticed that the program that was hanging didn't show gx.dll and compime.dll listed in the module section.
Could the loading of these libraries actually stall the loading of the app?
fast_rx wrote:I was fortunate enough to have this huge pause (minutes - not seconds) on my project loading today while it was in the cradle.
I loaded up the remote process viewer and noticed that the program that was hanging didn't show gx.dll and compime.dll listed in the module section.
Could the loading of these libraries actually stall the loading of the app?
Not exactly sure how you got to "these 2 dlls aren't loaded and would cause my app to pause while loading"?
What program was hanging? Yours? Or something else?
What's compime.dll?
Sorry for the confusion Thierry.
The programs that this is happening with are 2 of my big PF apps. Simple ones don't seem to be affected.
The only reason I mention the dll files is that the app is apparently running, but just never displaying anything on the screen. I know it's running because it's listed in the remote process viewer window.
The only indication of a problem that I can see using the remote process viewer is that those 2 dll files are not shown as being loaded (and when the game loads correctly, they are there). So, by deduction, I assume the game must be hanging at a spot before those are loaded. I don't know what compime is, but it shows up in almost other processes listed.
Is there any return values I should be checking when initializing the PF framework? I guess I should make some kind of logging function to see where it's hanging, but it seems like I'm never getting to the GameInit().
I still can't get eVC4 to connect to this PPC, so I can't debug to give any more info.
If your new app is using PF0.8, why is it using gx.dll?
-John
I think that it's for the buttons, but where I came up with that - I don't know.
Presto wrote:If your new app is using PF0.8, why is it using gx.dll?
It is quite possible for PocketHAL to use GX.DLL. It will be linked dynamically though (ie: PocketHAL doesn't link with GX.LIB).
Why do you say 'quite possible'?
Should an axim x30 use it?
GX.DLL will be loaded anyways for the GetKeyList() function. If it's not there, no big deal... But it will be loaded if it's available.
PocketHAL doesn't require GX.DLL to be there, but that doesn't mean it won't use it if it's there.
That makes sense. Thanks.
On that note though, is there a way to tell it that you don't want to use gx.dll, and what would that do to the keylist if you did that?
(not that I ever see myself ever needing to do that... just curious)
-John
On PPC and Smartphone it won't change anything. PocketHAL retrieves the key list in the same way that GAPI does if GX.DLL isn't there. I just though it was safer to use GAPI when available.
But this is causing "problems" with WM2003 SE VGA devices in that GAPI is always used and you only get access to a 240x320 buffer. This will of course be addressed soon (as soon as I get my hands on such a device, which should be quite soon).