[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DLL Cannot start - error

Posted on 1997-07-01
2
Medium Priority
?
239 Views
Last Modified: 2010-10-05

I am using Delphi2 in Win95, on a Pentium 150 with 16Mb
RAM.

I am attempting to use a DLL. I have declared the routines
as:

   interface
   .
   .
   procedure Something; StdCall; {As directed by Dll doc}
   .
   .
   Implementation
   .
   .
   procedure Something; external 'cbw32.dll';
   .
   .



However I get the error:
           "The CBW32.DLL file cannot start.
          Check the file to determine the problem"

The Dll is in the same directory as my project.
I also have the project directory in the search
path under project options.

Compiler options are: {$D+,S+,L+,F+}

What should I do ?
0
Comment
Question by:jturpin
2 Comments
 

Accepted Solution

by:
XSpider earned 100 total points
ID: 1338062
try one of following: replace word 'procedure' by 'function' external 'cbw32.dll'; replace with  external 'cbw32.dll' name 'Something';this may help
0
 
LVL 1

Author Comment

by:jturpin
ID: 1338063
The problem was that the Dll in question was actually
relying on another DLL which was not documented,
and which was not in the search path. Once I added
this additional Dll to the search path, everything
went ok.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Integration Management Part 2
Screencast - Getting to Know the Pipeline
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question