flat assembler
Message board for the users of flat assembler.
Index
> Windows > Winmm.inc for beginner |
Author |
|
revolution 15 Nov 2014, 11:02
You will need to have the winmm imports put into the .end macro. Just make a new .end macro modified as shown below.
Code: ;... library kernel32,'KERNEL32.DLL',\ user32,'USER32.DLL',\ gdi32,'GDI32.DLL',\ advapi32,'ADVAPI32.DLL',\ comctl32,'COMCTL32.DLL',\ comdlg32,'COMDLG32.DLL',\ shell32,'SHELL32.DLL',\ wsock32,'WSOCK32.DLL' ----> add your winmm DLL link here import_kernel32 import_user32 import_gdi32 import_advapi32 import_comctl32 import_comdlg32 import_shell32 import_wsock32 ----> add your minmm imports here ;... |
|||
15 Nov 2014, 11:02 |
|
Traxler 15 Nov 2014, 11:48
revolution wrote: You will need to have the winmm imports put into the .end macro. Just make a new .end macro modified as shown below. Fasm says now : illegal instruction import_winmm ... |
|||
15 Nov 2014, 11:48 |
|
revolution 15 Nov 2014, 12:10
If you haven't defined the macro 'import_winmm' then you can manually place the imports:
Code: import winmm32,\ ;<--- use the same name you used for the library mciSendStringA,'mciSendStringA',\ mciSendStringW,'mciSendStringW' ;... |
|||
15 Nov 2014, 12:10 |
|
Traxler 15 Nov 2014, 12:19
revolution wrote: If you haven't defined the macro 'import_winmm' then you can manually place the imports: Still have the same error message... |
|||
15 Nov 2014, 12:19 |
|
revolution 15 Nov 2014, 13:14
Show your code please.
|
|||
15 Nov 2014, 13:14 |
|
Traxler 15 Nov 2014, 14:38
revolution wrote: Show your code please. All is ok, thank very much for your help |
|||
15 Nov 2014, 14:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.