🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.migration
2 messages
2 total messages Started by ken wilkinson Wed, 04 Oct 2006 18:26
Exception on Program Exit
#189
Author: ken wilkinson
Date: Wed, 04 Oct 2006 18:26
14 lines
1366 bytes
My application, migrated from BCB6 to BDS2006, often results in an exception 
(EAccessViolation) when exiting the application.  If I request the IDE to 
perform a break, it displays the file GETMEM.INC, line 1654.

In an attempt to debug, using the divide and conquer approach, I remove 
modules.  When several modules are removed, the application does not fail. 
It does not seem to matter which modules are removed

I have the BDS2006 Update 2  and the BDS Hotfix rollup installed, using C++ 
personality.

Any clues are appreciated.

-Ken 
Re: Exception on Program Exit
#190
Author: ken wilkinson
Date: Thu, 05 Oct 2006 20:57
25 lines
1774 bytes
This problem was solved by using

#include <utilcls.h>  WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
 TInitOle ole;
 ...


"ken wilkinson" <ken.wilkinsonNoWay@tetratech.com> wrote in message 
news:4523fcd8$1@newsgroups.borland.com...
> My application, migrated from BCB6 to BDS2006, often results in an 
> exception (EAccessViolation) when exiting the application.  If I request 
> the IDE to perform a break, it displays the file GETMEM.INC, line 1654.
>
> In an attempt to debug, using the divide and conquer approach, I remove 
> modules.  When several modules are removed, the application does not fail. 
> It does not seem to matter which modules are removed
>
> I have the BDS2006 Update 2  and the BDS Hotfix rollup installed, using 
> C++ personality.
>
> Any clues are appreciated.
>
> -Ken
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads