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

Intersect function causes exception


Intersect function causes exception

Postby jasjenl » Apr 17, 2002 @ 2:39pm

jasjenl
pm Member
 
Posts: 11
Joined: Apr 17, 2002 @ 2:25pm


Postby Johan » Apr 17, 2002 @ 8:59pm

Hi,

Very strange. Exception 5 is typically used when accessing uninitialized memory areas.

I tried changing the MaskDemo (which is shipped with GapiDraw) so that both surface use rectangles. No crash. I also looked through the source code for Intersect.

Please verify the parameter "POINT* pIntersection". This is a return value, and it must point to an initialized memory space. Using an uninitialized pointer here could easily cause GapiDraw to crash. Please report back again if all parameters are indeed correct, so I can have another look at it before I release the next GapiDraw tomorrow.

/Johan
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby jasjenl » Apr 18, 2002 @ 10:20am

jasjenl
pm Member
 
Posts: 11
Joined: Apr 17, 2002 @ 2:25pm


Postby Johan » Apr 18, 2002 @ 2:58pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


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