Article View: comp.os.ms-windows.programmer.misc
Article #1918Re: problems with CTL3D.DLL
From: Kuusisto Pasi Petri,,,SIG,64380
Date: Thu, 31 Dec 1992 09:45
Date: Thu, 31 Dec 1992 09:45
35 lines
2111 bytes
2111 bytes
From article <1992Dec31.021603.21231@emr1.emr.ca>, by jagrant@emr1.emr.ca (John Grant):
> CTL3D.DLL is provided by MS on CI$ and at ftp.cica.indiana.edu
> (in vendors... - sorry I forget the exact location or filenames,
> but it was posted here recently). It provides 3d effects for
> listboxes, comboboxes, etc (finishing up what they started with
> 3d buttons).
/vendor/microsoft/developer-network/techsamp/3-31.zip
> Problems with CTL3D.DLL
> -----------------------
> 1. before *anything* in your app runs (i.e. even before you check for
> 'first instance', something in CTL3D.LIB (linked in) tries to find
> CTL3D.DLL. It appears to look in at least 3 directories:
> - ...\windows
> - ...\windows\system
> - the application's home directory (GetModuleFileName)
> (I tried placing it in each of the 3 directories to see
> what it was looking for and where).
>
> If it can't find CTL3D.DLL, it chokes and displays:
> +----------------------+
> | File Error |
> | Can't find CTL3D.DLL |
> +----------------------+
> and then terminates the application before it even gets a
> chance to run.
Yes, but that's Windows itself. Before executing a single line of the
application it will try and load all the DLL's needed (specified
when linking).
If you don't want this, you might try LoadLibrary and GetProcAddress
(or whatever, never tried myself - so don't ask how to do this. SDK
reference should be able to help)
-zi
Technical Details
Message-ID:
<1huff6INNag0@cs.tut.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!fuug!news.funet.fi!news.cs.tut.fi!pk64380References:
<1992Dec31.021603.21231@emr1.emr.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!fuug!news.funet.fi!news.cs.tut.fi!pk64380 From: pk64380@kaarne.cs.tut.fi (Kuusisto Pasi Petri,,,SIG,64380) Newsgroups: comp.os.ms-windows.programmer.misc Subject: Re: problems with CTL3D.DLL Message-ID: <1huff6INNag0@cs.tut.fi> Date: 31 Dec 92 09:45:10 GMT References: <1992Dec31.021603.21231@emr1.emr.ca> Reply-To: pk64380@kaarne.cs.tut.fi Organization: Technical University of Tampere, Dep. of Computer Science ,Finland Lines: 35 NNTP-Posting-Host: kaarne.cs.tut.fi Originator: pk64380@kaarne.cs.tut.fi