help guys "virtual machine error"

Discuss PocketC for Palm OS (including Desktop Edition)

Postby exit_head on Mon Sep 05, 2005 2:53 am

Addr: 92
Func: EHplaysnd
Stack corruption detected

my program compiled fine last time and i didnt even modify func its says is corrupted. any ideas?

Posts: 64
Joined: Tue May 04, 2004 3:50 am
Location: USA

Postby SyPDA on Mon Sep 05, 2005 9:41 am

Did you change anything at all?

If not, did you try to recompile for a second time? I noticed that the PDE on my PC sometimes creates .prc files with 'Stack corruption' errors. A second compilation of the same sourcecode does usually run without errors.
Posts: 94
Joined: Tue Dec 05, 2000 8:08 am
Location: Germany

Postby exit_head on Thu Sep 08, 2005 5:08 am

ok after takeing another look at my code i realized the im using Globals like there freaking candy. ive minimized that and now i get a different error :) YAY!! :)

virtual machine error
Func: EHplaysnd
Global ref out of range

ok... heres the that very same func.
EHplaysnd(int EHsndID,string EHsndDB,int EHsndVOL,int EHsndLength){

i get the feeling im doing something stupid. what am i doing?

Nate Edwards
Posts: 64
Joined: Tue May 04, 2004 3:50 am
Location: USA

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 1 guest