🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

A Dynamic Link Library (DLL) initialization routine failed. Error when opening program.

#5347
From: Tom
Date: Sun, 04 Sep 2005 12:24
40 lines
2330 bytes
I have only 2 customers receiving this error when the go to open my program. 
Both users
are using Windows XP Pro, which is what I'm using as well and I have around 
180 other
customers using XP Pro, XP Home, 98, 98SE, ME and Media Center without any 
problems.
The error message does not elaborate as to which DLL it is. I do use 
Loadlibrary on a DLL,
but I tried having this commented out as well as all of the code pertaining 
to that DLL but
they still receive the error.

I used a program called Dependancy Walker and the files below are what it 
came back
with. I had the customers check and all of them are there.

c:\winnt\system32\ADVAPI32.DLL
c:\winnt\system32\KERNEL32.DLL
c:\winnt\system32\VERSION.DLL
c:\winnt\system32\WSOCK32.DLL
c:\winnt\system32\WINSPOOL.DRV
c:\winnt\system32\COMCTL32.DLL
c:\winnt\system32\COMDLG32.DLL
c:\winnt\system32\GDI32.DLL
c:\winnt\system32\SHELL32.DLL
c:\winnt\system32\USER32.DLL
c:\winnt\system32\OLE32.DLL
c:\winnt\system32\OLEAUT32.DLL

What I'd like to do is to be able to trap this error so I can get more 
detail as to
which DLL it is so I can have them get what ever file is missing.

I'm using BCB 6.0. I'm not using any runtimes. Not sure what other info 
might
be useful.

Thanks,

Tom 
Technical Details
Message-ID: <431ae73b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5ab1764959a7361b,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tom" <thomasf1021@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: A Dynamic Link Library (DLL) initialization routine failed. Error when opening program.
Date: Sun, 4 Sep 2005 07:24:20 -0500
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 68.1.78.156
Message-ID: <431ae73b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1125836603 68.1.78.156 (4 Sep 2005 05:23:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail