Can anyone teach me how to link a resource file with an obj file in VisualASM? I am using version 0.9.0019 and I am studying Icztutes #8 at this time.
Thank You
Posted on 2002-12-19 21:05:12 by bgong68
Hi bgong68

Open the .vap file and edit the build command.

Posted on 2002-12-20 01:03:50 by KetilO
Hi bgong68,

You need to establish the resource.h PATH.
If you have installed Hutch Pack put at the begining of your .rc file:
#include <C:\masm32\INCLUDE\RESOURCE.H>


#inclide <c:\Program Files\microsoft visual studio\vc98\include\ressource.h>
if you have installed Microsoft Visual Studio 6.o or 7.0.

But you can use Ewayne Pack is better and has the complete code. Mr. Ewayne is a very good teacher. Possibly the best. Go, go here http://asmedit.massmind.org/

Good lack
Posted on 2002-12-20 04:40:54 by ipadilla
Hi KetilO,

I don't know why but I am still having trouble linking.

build="C:\VisualASM\bin\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 /LIBPATH:C:\VisualASM\lib Menu.obj Menu.res"

Is this build correct?
Posted on 2002-12-20 05:55:32 by bgong68
Hi bgong68

The build seem ok.

Note that icz's tutorials often use rsrc.rc / rsrc.res for the resource files.

Posted on 2002-12-20 06:03:02 by KetilO
Hi KetilO,
You were on the money. I modified the VAP file like you said. The build was on the wrong line in the VAP file. Thanks for taking the time to show me.
Posted on 2002-12-21 18:01:52 by bgong68