Subj : Re: Out of Memory in _setargv() To : borland.public.cpp.borlandcpp From : Mark Manning Date : Sun Sep 12 2004 01:52 am Well, this is all I can contribute: 1. argv is one of the two arguments to a program. int main( int argc, char *argv[] ){} As you can see, argv is what is used to hold the characters sent to the program as arguments. Thus, my thought would be that, because you only have 16MB of memory for Windows 95 to run in - that there isn't enough memory left over to load the program and then try to create the argv array. I can not see why you would want to run Windows with only 16MB of memory. Memory now-a-days is very cheap and should not cost you more than $50.00 for about 64MB or even 128MB of memory. If your system is an old one what you should do is to look around on the net (like eBay or maybe some other auction site) and find a system up for sale which uses the same kind of memory you use. I've seen them for as little as $25.00. Buy one and upgrade the memory in your system. Most computers need at least 64MB of memory in order to compile and test programs. Hope this helps. Mark Corinto wrote: > Hi everyone!!! > > First of all, I don't know if this is the right place to post my question. > If it isn't, I'm sorry! > > Anyway, I'm new to Borlan C++ and I have this problem.. > > I have a c file trying to compile it in the Borland C++ 3.1 for Windows > running in a Win 95 16 MB Ram. > I also have to call a DLL which I don't have a clue on what was written in. > > But, after fighting a lot with the .lib and .def > I finally did compiled it and linked it but the newly create .exe file gives > me this error while trying to run it > > Out of Memory in _setargv() > > I don't know what's going on. If you, please, give me an idea? I would > really appreciate it. > > Thanks a lot in advance... > > .