Silverfrost Forums

Welcome to our forums

Using LO when SLINK a DLL

23 Nov 2015 5:34 #17022

My LNK file is as follows

MAP WINFred.MAP PERMIT_DUPLICATES NOSIZEWARNING DLL LO C:\Fred.BETA\OBJ\*.OBJ LO G:\Fred\BETA\RC\WINFredRC.OBJ LO G:\Fred\BETA\DLL\FredWNTAB.DLL LO G:\Fred\BETA\DLL\VERSION.DLL LO C:\WINDOWS\SYSTEM32\DK2WIN32.DLL LO G:\Fred\BETA\DLL\AVIFIL32.DLL LO G:\Fred\BETA\DLL\MSPORTS.DLL EXPORTALL FILE WINFred

For many years now, this has not caused a problem.

All of a sudden, the LO C:\Fred.BETA\OBJ\*.OBJ statement comes back - in my MAP - with

*** Could not open: C:\Fred.BETA\OBJ\*.OBJ

The only clue I have is that this folder now has just over 1400 OBJ files.

Is this a problem ?

23 Nov 2015 5:47 #17023

It could be but if it is then you may be running out of memory.

Is the failure delayed when you reduce the number of obj files in the folder?

24 Nov 2015 9:25 #17026

Thanks Paul

I have removed a few OBJ that I know are not required and...SLINK works fine. Memory does not seem to be an issue, so I wonder if the number of items is the problem.

This may be the time to split the system into smaller DLLs ?

24 Nov 2015 6:00 #17028

If your build stopped because of a limit on the number of OBJ files input to SLINK, you could combine a couple of hundred OBJ files into a static LIB file, and use the LIB file instead of those OBJ files. If this works, you will be able to use the same number of DLLs (1 ?) as at present.

Please login to reply.