?
Solved

DLL error.

Posted on 2000-04-12
4
Medium Priority
?
205 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
[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
  • 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 400 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

Independent Software Vendors: 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

762 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