flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
revolution
Is this what you see?
[edit]Removed the attachment, it is no longer needed.[/edit] Last edited by revolution on 22 Dec 2008, 00:45; edited 1 time in total |
|||
![]() |
|
Alphonso
Crinan: I don't know why you cant add USER32.DLL, maybe a typo' somewhere. Something like this should work,
Code: section '.idata' import data readable writeable library kernel,'KERNEL32.DLL',\ gdi,'GDI32.DLL',\ winspool,'WINSPOOL.DRV',\ user,'USER32.DLL' ;<--library user32.dll added ... import user,\ ;<--further down add the import(s) MessageBox,'MessageBoxA' Create file '..INCLUDE\API\WINSPOOL.INC' and add the following lines Code: ; WINSPOOL API calls import winspool,\ GetDefaultPrinterA,'GetDefaultPrinterA',\ GetDefaultPrinterW,'GetDefaultPrinterW' api GetDefaultPrinter Create file '..INCLUDE\APIA\WINSPOOL.INC' and add the following lines Code: ; WINSPOOL API calls (ASCII) import winspool,\ GetDefaultPrinter,'GetDefaultPrinterA' modify file ..INCLUDE\WIN32AX.INC by adding the following Code: ... include 'api/comdlg32.inc' include 'api/shell32.inc' include 'api/wsock32.inc' include 'api/winspool.inc' ;<---add this line ... comdlg32,'COMDLG32.DLL',\ shell32,'SHELL32.DLL',\ wsock32,'WSOCK32.DLL',\ ;<---add ,\ winspool,'WINSPOOL.DRV' ;<---add this line ... import_shell32 import_wsock32 import_winspool ;<---add this line |
|||
![]() |
|
Crinan
Yes Alphonso, you are right - a typo
winspool,'WINSPOOL.DRV'\ I remembered the \ but forgot the comma! No, I will stick with your section and build on that - seems more straightforward. Many thanks for comrade's bureau, I had never heard of it. There seems to be a lot that is hard to find out about, such as comrade's bureau, when you thought I may already have learnt about it. And I wonder how Revolution knew about the meaning of error code 6 earlier referred to. I couldn't find anywhere to look it up. Never mind, I may get there yet (if I live long enough!) Many thanks. |
|||
![]() |
|
Crinan
Alphonso
Just a quick addendum I cannot find any reference to 'api/winspool.inc' on my system, or that file in any directory. |
|||
![]() |
|
madmatt
When you click on "Download" in the 7zip website, in the big orange box that you see "SOURCEFORGE.NET" just right below it (still in the orange box) click on "direct link", you should get a download requestor for 7z460.exe.
this Version worked on my file (and the others, as well) that you mention. |
|||
![]() |
|
Crinan
Thanks madmatt.
I clicked on "try another mirror" - wrong choice. I must be getting too old for this! |
|||
![]() |
|
Crinan
I must really be missing something.
I downloaded 7z460.exe, ran it to install 7-zip, invoked it to extract the file, and got: Diagnostic Message Can not open file 'C:\Downloads\FASMW16726.rar' as archive. That seems to be the only choice I could make. I read through its help file but got no further. |
|||
![]() |
|
revolution
Crinan wrote: Can not open file 'C:\Downloads\FASMW16726.rar' as archive. |
|||
![]() |
|
habran
Hi, Crinian!
There are codes for printing in MDIRichEditor written in fasm on this site why don't you download it and look how is it working regards |
|||
![]() |
|
Crinan
Revolution:
No viruses but my file was 4,390,097bytes. I downloaded it again and got 4,321,041bytes, and this one got extracted. It seems to be a repeat of fasm but I will need more time to get through it. habran: Thanks for that. I have dowloaded it and will look through it. |
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.