News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

"About Dll" Settings

Started by Strobe Raver, August 10, 2009, 11:10:40 PM

Previous topic - Next topic

Vortex

Quote from: Strobe Raver on August 11, 2009, 01:38:53 AM
Quote from: dedndave on August 11, 2009, 01:21:49 AM
http://www.masm32.com/board/index.php?board=10.0

Would you know how to put a resource file into a static-library?

Hi Strobe Raver,

I managed to created a static library from .res files converted to .obj :


res2obj ColorDlg.res Rsrc1.obj _ColorDlg
res2obj Listbox.res Rsrc2.obj _Listbox
\masm32\bin\link -lib /OUT:Rsrc.lib *.obj


_ColorDlg and _Listbox are labels referencing to the binary resource data.


Strobe Raver