DLL + resource problem (bug?)

Started by lamer, June 25, 2005, 12:23:33 PM

Previous topic - Next topic

lamer

Hi!
When you create the new DLL project in RadAsm and then try to add any resource to DLL - you can't do it :(
You can create the resource, compile it, get the .res file but... nothing is added to DLL.
I've thought I'm just go crazy :dazzled:
After all I opened one of Add-in samples which has been created a couple of years ago - and what I found out?
Compare theese two lines from project properties:
This one from the new project
LINK 7,O,$B\LINK.EXE /SUBSYSTEM:WINDOWS /DLL /DEF:$6 /LIBPATH:"$L" /OUT:"$7",3
And this one from the old:
LINK 7,O,$B\LINK.EXE /SUBSYSTEM:WINDOWS /DLL /DEF:$6 /LIBPATH:$L,3,4
This was the only difference I found. Well, I changed the link parameters in the new project according to old ones and voila - the resource is in the DLL.
What's wrong with the setting that I get as default when create a new DLL project?
Or what's wrong with me? :green2