Article View: borland.public.cppbuilder.deployment
Article #307Re: Deploying C++ Builder 6 program to Windows XP... CodeGuard gets error before WinMain Begins!
From: softcoder
Date: Mon, 21 Jun 2004 21:24
Date: Mon, 21 Jun 2004 21:24
76 lines
3571 bytes
3571 bytes
Use an app like www.dependencywalker.com to find the dlls and bpls required
for your EXE. Check things like dynamic runtime lib (uncheck I found
provides best stability). Make sure you have all deployed dependaencies and
initially put them in the EXE folder just to be safe and see if that helps.
"Greg kaup" <glkaup@kaup.com> wrote in message
news:40cce13d$1@newsgroups.borland.com...
> Hello...
>
> Last week I installed the myprog on a new Dell Windows XP box... All
> went smoothly... Even though development was done on Windows 2000 Pro.
>
> This week... trying to load the same program from the same CD on another
> XP box... This one had been Updated with EVERY patch available... When
> that didn't work... it was rebuilt and NO patches were applied!
>
> The program does NOT EVEN enter WinMain...
>
> WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
> {
> try
> {
> int i(1);
> assert(i != 1);
> Application->Initialize();
> Application->Title = "myprog";
> ...
>
> Never sees the assert... Code Guard reports the following....
>
>
> Error 00001. 0x400000 (Thread 0x0494):
> Exception 0xEEDFADE:
> Call Tree:
> 0x77E6D756(=kernel32.dll:0x01:00C756)
> 0x400BFA4A(=vcl60.bpl:0x01:00EA4A)
> 0x400C0AA4(=vcl60.bpl:0x01:00FAA4)
> 0x0050037D(=myprog.exe:0x01:0FF37D)
> 0x004C12F8(=myprog.exe:0x01:0C02F8)
> 0x004C2684(=myprog.exe:0x01:0C1684)
>
> ------------------------------------------
>
> My Windows 2000 Pro box runs this program just fine!
>
> PROGRM FILE VERSION
> Windows NT 5.1 Build 2600
> myprog 1.0.2.434
> ntdll.dll 5.1.2600.0
> kernel32.dll 5.1.2600.0
> vcl60.bpl 6.0.6.240
> rtl60.bpl 6.0.6.240
> user32.dll 5.1.2600.0
> GDI32.dll dito
> ADVAPI32.dll dito
> RPCRT4.dll
> oleaut32.dll 3.50.5014
> My Distribution has version 2.40.4275.1 (not installed!)
> ...
> vclx60.bpl 6.0.6.240
> bcbsmp60.bpl 6.0.0.0
> borlndmm.dll 6.0.10.157
> ...
>
> Without CodeGuard, XP wants to send a report to MicroSoft... The info
> above is from that report... (some at least)..
>
> ANY IDEAS?
>
>
> Thanks in advance for your time!
>
> Greg Kaup
>
>
>
Technical Details
Message-ID:
<40d750ea$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40cce13d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8e54,cd581a6afa727ec6,start X-Google-Attributes: gidf8e54,public From: "softcoder" <nospam_softcoder@soft-haus.com> Newsgroups: borland.public.cppbuilder.deployment References: <40cce13d$1@newsgroups.borland.com> Subject: Re: Deploying C++ Builder 6 program to Windows XP... CodeGuard gets error before WinMain Begins! Date: Mon, 21 Jun 2004 14:24:12 -0700 Lines: 78 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: 209.52.113.225 Message-ID: <40d750ea$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087852778 209.52.113.225 (21 Jun 2004 14:19:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail