Download Pelles C here: http://www.smorgasbordet.com/pellesc/
QuoteMany applications create toolbars containing tools that correspond to menu commands. For such tools, it is convenient for the tooltip control to display the same text as the corresponding menu item. The system automatically strips the ampersand (&) accelerator characters from all strings passed to a tooltip control, and terminates the string at the first tab character (\t), unless the control has the TTS_NOPREFIX style.
.386
.model flat,stdcall
option casemap:none
COMM CommVar:DWORD
END
.386
.model flat,stdcall
option casemap:none
includelib \PellesC\Lib\Win\kernel32.lib
includelib \PellesC\Lib\Win\user32.lib
includelib msvcrt.lib
EXTERN CommVar:DWORD
printf PROTO C :DWORD,:VARARG
ExitProcess PROTO :DWORD
.data
msg db 'COMM variable = %u',0
.code
start:
mov CommVar,256
invoke printf,ADDR msg,CommVar
invoke ExitProcess,0
END start
Page created in 0.021 seconds with 11 queries.