🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ABNORMAL PROGRAM TERMINATION Control Panel Applet

#13172
From: R1 2003
Date: Thu, 23 Oct 2003 09:42
33 lines
2476 bytes
Hello all,

i've been messing with a control panel app for so long.. previously i
was using Microsoft Visual C++ 6 and had no problems, but now at
work we switched to Borland C++ 6.0.

The control panel applet i did contains a simple form with a
PageControl and some buttons, it works fine and all, except that,
sometimes, the first time i open windows control panel, after copying
the .cpl to windows system directory, i get "Abnormal program
termination" error, explorer crashes and restarts itself, now after
this if i open the control panel again it works fine...

Sometimes it just works even at the first launch, i tried it on
another box and it does same thing.

I noticed that if i install the cpl, then reboot, then let the system
boot nicely (wait before it did every initialization, launched every
service and so on) and open the control panel it works, if instead i
open the cpanel while hd is still loading other programs/etc it
crashes 100%.

Can this some form of timeout? maybe windows control panel wants each
.cpl to answer to inquire messages in a short period? (consiering the
files the cpl has to load, cc3260mt.dll, borlndmm.dll, some
bpl files and all it might take too long).

I even tried disabling "Build with runtime packages" (so it includes
the .bpl fiels in the .cpl itself) but i even get worse problems, like
windows cpanel crashing everytime i open it.

any1 know what im doing wrong ?
Technical Details
Message-ID: <3f97a275$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!news-xfer.cox.net!peer02.cox.net!peer01.cox.net!cox.net!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f80db84340a747df,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-23 03:04:31 PST
From: "R1 2003" <NOSPAMscrosara@barsottisoftware.191.it>
Sender: "R1 2003" <NOSPAMscrosara@barsottisoftware.191.it>
Reply-To: "R1 2003" <NOSPAMscrosara@barsottisoftware.191.it>
Subject: ABNORMAL PROGRAM TERMINATION Control Panel Applet 
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 81.73.242.54     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3f97a275$1@newsgroups.borland.com>
Date: 23 Oct 2003 02:42:13 -0700
X-Trace: newsgroups.borland.com 1066902133 207.105.83.66 (23 Oct 2003 02:42:13 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!news-xfer.cox.net!peer02.cox.net!peer01.cox.net!cox.net!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail