Karl,

Adding to Warren's suggestions:

When we faced the same message, the following took care of the problem:
(1) Freed up some hard disk space, and
(2) Increased the swap size.

It turned out that our DLL needed a memory footprint bigger than that of the
RAM and hence forced NT/95 to swap from RAM to hard disk.  Since our swap
size was initially small, the swap could not be done and NT/95 informed us
of this problem using the catch-all "Unable to load library abc.dll. Unable
to link to external library abc.dll" message".  After we increased the swap
size, the problem and message went away.  Hopefully, if this is the case
with you then a simple swap size increase may solve your problem.  Good
luck.

Raj Nagaraj
Deccan International
San Diego, CA


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 03, 1999 10:49 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: MI Mapbasic DLL programming question


Hello Karl,

> I have a MapBasic programming question.  I am trying to link to a DLL
> but when I run my MBX I get the message "Unable to load library abc.dll.
> Unable to link to external library abc.dll".  Has anyone come across
> this before?  I heard from MapInfo that only 32 bit dll's are supported
> and this is a 32 bit dll so that shouldn't be the problem.

>This could be a number of things but the most common problems are;
>
>1) Your functions are not being declared for export properly. I use the
following definition for 
>C/C++ functions:...
>
>2) Your functions are being exported with C++ mangled names which are not
matched by the 
>calling MB program. ...

>Warren Vick
>Europa Technologies Ltd, U.K.
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to