I want to create a Dll file that include a bitmap resource. But i dont  know how to make it.
  how can i add a resource to my Dll?

  Cry for help~!!!!
Posted on 2005-08-04 07:42:19 by Abuseyourdna
Do exactly as you would with an EXE file: with a .RC resource script.
Give me a moment, I'll cook up a little sample... :)
Posted on 2005-08-04 10:16:34 by QvasiModo
There.
Attachments:
Posted on 2005-08-04 10:26:08 by QvasiModo
can u show me the steps?

for example:
1. RC -v dllresource.rc
2. it will create the dllresource.res
3.LINK /DLL /SECTION:.bss,S /SUBSYSTEM:WINDOWS /DEF:dllresource.def dellresource.obj.

......
i dont know how to use the LINK command to add the dllresource.res .


my english is so poor,hope u can understand what i say.
Posted on 2005-08-04 11:08:23 by Abuseyourdna
Well, I'm using WinAsm Studio, which simplifies the whole thing... ;)

http://www.winasm.net

If you still want to use the command line tools to build the project, these are the commands:

ML /c /coff /Cp /nologo /I"C:\Masm32\Include" "DllResource.asm"

LINK /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 "/LIBPATH:C:\Masm32\Lib" /DLL "/DEF:DllResource.def" "DllResource.obj" "DllResource.res" "/OUT:DllResource.dll"


I'm assuming your MASM32 package is installed at the default location (C:\Masm32).

Hope that helps! :)
Posted on 2005-08-04 11:23:38 by QvasiModo
Haha~! Thx,i get it !!
Posted on 2005-08-04 11:28:07 by Abuseyourdna

Haha~! Thx,i get it !!


Always a great help http://www.google.co.id/search?hl=id&q=China+dictionary&btnG=Cari&meta=
Posted on 2005-08-05 07:29:20 by realvampire