🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3781

Re: TCppWebBrowser + LOCAL_SYSTEM account

#3781
From: Remy Lebeau (TeamB)
Date: Tue, 09 May 2006 19:13
25 lines
1763 bytes
"Mike Collins" <its@TheBottomOfThePost.com> wrote in message
news:4460d27d$1@newsgroups.borland.com...

> I've try.. catch(...)'ed it so I know there is an exception being
generated
> after that i'm a bit stuck.

What exactly is being thrown?

> One of the problems is that there are issues using the normal ShowMessage
> or MessageBox api's in this context so it's a bit difficult to debug.

The Win32 API MessageBox() function should be working fine.  Don't use the
VCL's TApplication::MessageBox() method.

> I've tried displaying GetLastError on one of the captions on the
> form but all I get is that the Operation was complete sucessfully.

The return value of GetLastError() sometimes gets reset when a VCL exception
is thrown.  There is a bug in the Exception constructor that does not
preserve the existing value of GetLastError().


Gambit
Technical Details
Message-ID: <4460ea6b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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: <4460d27d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d67fc4a2c4ab8bd3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4460d27d$1@newsgroups.borland.com>
Subject: Re: TCppWebBrowser + LOCAL_SYSTEM account
Date: Tue, 9 May 2006 12:13:33 -0700
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4460ea6b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1147202155 68.69.17.41 (9 May 2006 12:15:55 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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