Solved

DLL error.

Posted on 2000-04-12
4
200 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

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

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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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