s-news
[Top] [All Lists]

[S] dll.load problem

To: S-News <s-news@wubios.wustl.edu>
Subject: [S] dll.load problem
From: Michael Wolf <mwolf@est-econ.uc3m.es>
Date: Tue, 23 Feb 1999 13:32:14 +0100
Sender: owner-s-news@wubios.wustl.edu
Dear all,

I have the following problem in trying to use the interface with C++. I
create a DLL with my C++ compiler (Borland C++ Builder 3.0), say
test.dll. Then I try to load it from
Splus 4.5 with dll.load("test.dll"). Invariably, I get the return value
-32, indicating
-32: System is out of memory, or relocations were invalid
and the DLL does not get loaded.

Does this mean that my PC does not have enough memory. It's a Compaq
Deskpro with 32MB of memory. On the other hand, it seems that the
computer already uses nearly 60MB of memory, with the only applications
running Windows 95 and Splus 4.5!
Could the problem be solved by installing more memory in my PC and, if
yes, by how much more?
I am somwhat confused about this, since there is another potential
return value of
dll.load for this situation, namely -8:
-8: There was insufficient memory to load the DLL
Also, the return value of -32 leaves open the possibility of invalid
relocations and I have no clue what that means.

If it helps, let me add that I get the return value of -32 even when I
try to load DLL's that are non-existent such as in
dll.load("nofile.dll").

I apologize in case I am asking something trivial or stupid, but I am
relatively new to the world of PC's and I never had this kind of problem
on a UNIX station (well, neither many other kinds of problems.....).

Thanks much,
Michael

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] dll.load problem, Michael Wolf <=