Solved

DLL Cannot start - error

Posted on 1997-07-01
2
224 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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now