Solved

DLL Cannot start - error

Posted on 1997-07-01
2
225 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

895 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

16 Experts available now in Live!

Get 1:1 Help Now