I am using the qeditor, and I get this error: cannot open file "kernel32.lib". 

I created paths for the include and includelib in the environment variable system settings.  C:\masm32\inlcude and C:\masm32\lib

Please help, I am new to assembly and trying to learn!

Here is my code:


.386

.model flat, stdcall

option casemap:none

include windows.inc
include kernel32.inc
include user32.inc
includelib kernel32.lib
includelib user32.lib


.data
lpText db "Hello, World!", 0;string to display
lpCaption db "Hello", 0;our name in titlebar

.code
start:
invoke MessageBox, NULL, addr lpText, addr lpCaption, MB_OK
invoke ExitProcess, 0
end start


Posted on 2008-12-16 18:28:45 by greeneyehawk
Hi - environmental variables are not activated until you reboot :)
Posted on 2008-12-16 23:33:11 by Homer
environmental variables are not activated until you reboot :)
Log-off :)  :P
Or Kill Explorer.Exe then Run Explorer.Exe :)
Posted on 2008-12-17 15:04:41 by drizz