Solved

DLL Cannot start - error

Posted on 1997-07-01
2
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi - replicating a form 8 111
Magic Software info 18 153
DBCtrlGrid, Delphi, Scroll 8 86
Delphi Firemonkey : user drawing in window 3 56
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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