Solved

DLL error.

Posted on 2000-04-12
4
195 Views
Last Modified: 2010-04-04
Hi everybody.
I try to call a string function from a .DLL library but I get the error
"A required .DLL file, DELPHIMM.DLL, was not found".
 I put in the uses clause "ShareMem" both in the calling unit and the .DLL library, as I am told when I create the .DLL. Where is the mistake?
Alex.
0
Comment
Question by:val84
  • 2
  • 2
4 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 2710774
There's no mistake, if you use ShareMem, you have to copy the dll "DelphiMm.dll" from the "c:\Delphi\Bin" directory to your project's directory. You also have to distribute this dll with your application.

Regards, Madshi.
0
 

Author Comment

by:val84
ID: 2710861
Hi Madshi.
Thanks very much. By the way, I don't want to use ShareMem for it's sake, I only want to use string functions.
Best regards, Alex.
0
 

Author Comment

by:val84
ID: 2710921
Hi Madshi.
Thanks very much. By the way, I don't want to use ShareMem for it's sake, I only want to use string functions.
Best regards, Alex.
0
 
LVL 20

Accepted Solution

by:
Madshi earned 100 total points
ID: 2710982
Yes, of course. That's the most common reason for using ShareMem.

So I guess I can answer the question.

Regards, Madshi.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

25 Experts available now in Live!

Get 1:1 Help Now