32bit DLL problem in Borland C++ 4.5
Posted on 1997-02-27
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 ????????
K. SENTHIL KUMAR