flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > FASM as a DLL - is hDisplayPipe implemented?

Author
Thread Post new topic Reply to topic
faser



Joined: 03 Oct 2010
Posts: 4
faser 03 Oct 2010, 18:11
Hello,

I'm trying out the DLL version of FASM which is working quite nicely so far except that I'm unable to get any output from the library even by passing a handle to a pipe/file... In which cases does the library output anything to the pipe? I've tried invalid instructions, invalid operands, reserved words as labels... but none of these errors caused the library to write anything to the pipe.

This is the prototype of the function I'm using:
"fasm_Assemble(lpSource,lpMemory,cbMemorySize,nPassesLimit,hDisplayPipe)"

Thanks in advance.
Post 03 Oct 2010, 18:11
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 03 Oct 2010, 18:24
The pipe exists only for the purpose of getting the output from "display" directive. So as long as you don't have any "display" in your source, you will not get anything in your pipe.
Post 03 Oct 2010, 18:24
View user's profile Send private message Visit poster's website Reply with quote
faser



Joined: 03 Oct 2010
Posts: 4
faser 03 Oct 2010, 18:39
Oh, OK. Thank you for your help.
Post 03 Oct 2010, 18:39
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.