Hi,
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
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
Hi bgong68
Open the .vap file and edit the build command.
KetilO
Open the .vap file and edit the build command.
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>
or
#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
Padilla
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>
or
#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
Padilla
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?
Thanks
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?
Thanks
Hi bgong68
The build seem ok.
Note that icz's tutorials often use rsrc.rc / rsrc.res for the resource files.
KetilO
The build seem ok.
Note that icz's tutorials often use rsrc.rc / rsrc.res for the resource files.
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.
^_^
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.
^_^