This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Error message while exiting GapiDraw.Net Demos in PocketPC


Error message while exiting GapiDraw.Net Demos in PocketPC

Postby tomasofen » Jun 8, 2005 @ 9:37am

Hello

I have copy the Demo applications that comes with the GapiDraw.Net kit (the ones in the \Demo\Arm directory), and i have the same problem in all of them when exiting.

The applications runs ok, but when i exit from any of them it gives me an error message like the following:

Excepcion administrada en
GapiDisplay::Dispose+0x19

Error 80070057 Unknown
GapiDisplay::Dispose+0x19
GapiApplication::CloseDisplay+0x13
GapiApplication::ShutDownAfterRun+0x06
GapiApplication::Run0x60
mfcApplication::Main0x17

Aceptar para terminar



I have an "Acer n-10" PDA. Does it happens to someone? Can this be fixed?

Thanks in advance,

Tomás.
tomasofen
pm Member
 
Posts: 4
Joined: Jun 7, 2005 @ 4:49pm


Postby tomasofen » Jun 9, 2005 @ 10:44am

mmmmm....

Nobody else has the same problem than me?

I have been testing it in source code, and it gaves me this error message:

An unhandled exception of type 'System.Exception' occurred in GapiDrawNet.dll

Additional information: Error 80070057: Unknown



I trace the code, and i see that the error shows in the following point:

Proyect: GapiDrawNet (I use the SourceCode for this dll)
Module: GapiUtility.cs
Function: RaiseExceptionOnError()


The source code at this point is:

public static void RaiseExceptionOnError(UInt32 hResult)
{
if(hResult == (UInt32)GapiResults.GD_OK){ return;}
string ErrorMessage = GetErrorMessage(hResult);

throw new Exception("Error " + hResult.ToString("X") + ": " + ErrorMessage);
}


As far as i can understood, this exception is called while trying to free something of the GapiDisplay:

GapiDisplay.cs --> Dispose()
|
|---GapiUtility.cs --> RaiseExceptionOnError()



override public void Dispose()
{
IntPtr display = unmanagedGapiObject;
unmanagedGapiObject = IntPtr.Zero;
GdNet.CGapiDisplay_Destroy(display); //<- It fails at this point, i think, that is where the exception is raised...
}



Any idea about this? I supose this is not dued to the source code version i have, becouse it neither work in the copiled demos i tried.

Hope anyone can help.

Tomás.
tomasofen
pm Member
 
Posts: 4
Joined: Jun 7, 2005 @ 4:49pm


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron