News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

dbdemo from MASM32 package

Started by GoneFishing, September 16, 2013, 09:49:09 PM

Previous topic - Next topic

GoneFishing

 I tried to compile \MASM32\vkdebug\example\demo1\dbdemo.asm and got an error:
Assembling: D:\MASM32\vkdebug\example\demo1\dbdemo.asm

***********
ASCII build
***********

D:\MASM32\vkdebug\example\demo1\dbdemo.asm(38) : error A2006: undefined symbol : wsprintf
PrintDec(27): Macro Called From
  D:\MASM32\vkdebug\example\demo1\dbdemo.asm(38): Main Line Code
D:\MASM32\vkdebug\example\demo1\dbdemo.asm(39) : error A2006: undefined symbol : wsprintf
PrintDec(27): Macro Called From
  D:\MASM32\vkdebug\example\demo1\dbdemo.asm(39): Main Line Code
Fix: dbdemo.asm(68) - I am going to fix it later
_
Assembly Error


Including masm32rt.inc did the job and I enjoied the demo:
include \masm32\include\masm32rt.inc

;include \masm32\include\windows.inc
;include \masm32\include\kernel32.inc
;include \masm32\include\masm32.inc
include \masm32\include\debug.inc

;includelib \masm32\lib\kernel32.lib
;includelib \masm32\lib\masm32.lib
includelib \masm32\lib\debug.lib


Could you try to compile this demo "as it is right now" in your masm32 folder?

dedndave


jj2007

Add an include \masm32\include\user32.inc

(or, much better, use deb  :icon_mrgreen:)