forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using LO when SLINK a DLL

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
Steve



Joined: 23 Feb 2007
Posts: 73

PostPosted: Mon Nov 23, 2015 6:34 pm    Post subject: Using LO when SLINK a DLL Reply with quote

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 ?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon Nov 23, 2015 6:47 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message AIM Address
Steve



Joined: 23 Feb 2007
Posts: 73

PostPosted: Tue Nov 24, 2015 10:25 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
mecej4



Joined: 31 Oct 2006
Posts: 1885

PostPosted: Tue Nov 24, 2015 7:00 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group