flat assembler
Message board for the users of flat assembler.
Index
> Windows > help.... winsock |
Author |
|
aaro 24 May 2004, 09:16
You are using unicode version of the MessageBox function so your strings need to be unicode to:
Code: section '.data' data readable writeable WsaData WSADATA messagesyk du 'Succes',0 messageeror du 'error',0 messageerorv2 du 'Not version',0 caption du 'status',0 messageerorclean du 'couldn't cleaned',0 messageok du 'can be clean',0 |
|||
24 May 2004, 09:16 |
|
madmatt 24 May 2004, 09:17
In the inports section, I simply changed:
Code: import user,\ MessageBox,'MessageBoxW' to: Code: import user,\ MessageBox,'MessageBoxA' and all the message boxes turned out ok, also you need to change the text: Code: messageerorclean db 'couldn't cleaned',0 to: Code: messageerorclean db "couldn't cleaned",0 these are the only things I see so far. |
|||
24 May 2004, 09:17 |
|
madmatt 24 May 2004, 09:22
and qnother small error,the invoke Exitprocess needs another parameter as below
Code: _cleanupSucceeded: invoke MessageBox,HWND_DESKTOP,messageok,caption,MB_ICONQUESTION+MB_YESNO invoke ExitProcess Code: should be: _cleanupSucceeded: invoke MessageBox,HWND_DESKTOP,messageok,caption,MB_ICONQUESTION+MB_YESNO invoke ExitProcess,0 |
|||
24 May 2004, 09:22 |
|
senolc_eht 24 May 2004, 10:55
OK thanks for all it's now work fine.......
|
|||
24 May 2004, 10:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.