Solved

32bit DLL problem in Borland C++ 4.5

Posted on 1997-02-27
1
263 Views
Last Modified: 2012-06-27
hello,
I have developed a 32 bit dll under Borland 4.5. The name of the DLL is "samp.dll" under WINDOWS 95 operating system.

When this DLL is used by single 32bit exe(Appln developed in Delphi 2.0) file it works fine but when I try run the 32 bit exe again(with the first copy already running)  I get a MessageBox with a Message as Follows:
"Cannot run multiple instances of a DLL under WIN32s" and when Ipress the ok button, I get another MessageBox with the following Message:
"The samp.dll file cannot start.Check the file to determine the problem".

Also If I run other 32bit exe file which uses the "samp.dll",I get the same message as above.

The purpose of a DLL should be to allow  multiple Applications to access the DLL not the other way !!!!

I would like to have a solution for the above problem ASAP.!!!

If this is a problem with Borland ver 4.5 then should I have to go forBorland Ver 5.0 ????????

thanks
senthil
K. SENTHIL KUMAR
Netherlands
senthil.kumar@rcc.nl
0
Comment
Question by:senthil-k
1 Comment
 
LVL 3

Accepted Solution

by:
os012897 earned 200 total points
Comment Utility
Make sure you linked against the multi-thread aware runtime-
libraries!!

Regards,

       os

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

771 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

10 Experts available now in Live!

Get 1:1 Help Now