flat assembler
Message board for the users of flat assembler.

Index > Windows > Fasm Ddraw

Author
Thread Post new topic Reply to topic
asmgges



Joined: 17 Jun 2003
Posts: 86
Location: France
asmgges 17 Jun 2003, 13:23
Hi ! Very Happy

No chance with this question on another forum
Can be better here?
Without solution I can not continue my program with Fasm Crying or Very sad

Question relative to Fasm147\examples\ddraw\ddraw.asm

I can not have access to the functions of GDI

For example:
To obtain the colour of a point of the surface lpDDSBack:


Code:

comcall lpDDSBack, GetDC, ?????
    invoke GetPixel,??? 303,206
    mov [colorpix], eax
comcall lpDDSBack, ReleaseDC, ???????? 

    



Any help is VERY appreciated.
Post 17 Jun 2003, 13:23
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8367
Location: Kraków, Poland
Tomasz Grysztar 17 Jun 2003, 14:29
You need to create table of imports for the GDI32 functions.
Post 17 Jun 2003, 14:29
View user's profile Send private message Visit poster's website Reply with quote
Guest





Guest 17 Jun 2003, 15:48
Mr. Green Rolling Eyes

I had well create the section " import gdi "
But I had not declared GDI32.DLL in the section " library "

Big thanks

Friendly.....Gges
Post 17 Jun 2003, 15:48
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.