🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #190

Re: Exception on Program Exit

#190
From: 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
> 
Technical Details
Message-ID: <452571d3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4523fcd8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,5d148a441e542763
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "ken wilkinson" <ken.wilkinsonNoWay@tetratech.com>
Newsgroups: borland.public.cppbuilder.migration
References: <4523fcd8$1@newsgroups.borland.com>
Subject: Re: Exception on Program Exit 
Date: Thu, 5 Oct 2006 13:57:45 -0700
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 68.167.205.69
Message-ID: <452571d3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160081875 68.167.205.69 (5 Oct 2006 13:57:55 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail