PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Problem Porting From GD104 to GD201

Hello,

I ported over my PPC program from GD104 to GD201. It runs great on the PPC. However, it fails to even start on my emulator now- When i run it on debug mode, it fails on Access Violation errors (NTDLL.dll)

Anybody come across this problem? It works on the PPC without a glitch though - before it ran on both.

Please could someone help

jackie
Hi Jackie,

Does your application work in Windows 2000/XP? I.e. if you compile it with Visual Studio?
Hi johan, I will build an XP version now - i will let you know.

thanks,
jackie
Jackie · 14 May 2003, 19:54 UTC — XP version works
hi johan, I have just ported the PPC app quite painlessly into XP. Just ran it without a problem.
Any ideas?
jackie
Jackie · 14 May 2003, 21:18 UTC — Display mode problem in XP version
Hi Johan,

In the XP version, I noticed that when i get the display mode to GDDISPMODE_NORMAL but the window of the application looks more like 320x 240?

Is there a bug there as well?



jackie
Unless you define the width and height of the window (config.dwDisplayWidth, config.dwDisplayHeight) it defaults to 320x240.
Jackie · 15 May 2003, 04:28 UTC — Has it got to do with GapiApplication?
Hi again,
Has this got to do with GapiApplication? ( I am using this as the main app. )

The XP and PPC version works semalessly - but emulator just even fails to start. Has anybody experienced this problem with the emulator?

thanks
jackie
Pejo Software - Per · 15 May 2003, 06:28 UTC
This kind of errors (It works on one platform and not the other or it works in retail mode but not in debug) often has to do with overwriting some memory that you shouldn't. Since memory is used in different ways in debug mode and on different platforms it is not certain that the implications of writing over memory is the same when you run it on another platform. Is it not possible for you to see the call stack in the debugger when you get the error? Maybe then you can see where the error is. It might be in your own code or in GapiDraw.
I will give it a go
thanks
jackie
Hi,

I've gotten several reports on the emulator.. I'll give it a look...

//Johan