flat assembler
Message board for the users of flat assembler.

Index > Windows > CLASS'ES IN FASM?

Author
Thread Post new topic Reply to topic
metalfishx



Joined: 30 Sep 2004
Posts: 65
Location: Florida, Uruguay
metalfishx
Hello masters!
I have sometime trying to study the fasm macros... but.. you know, newbye.. Smile
The motivation is because i think, with the power that fasm macros have (as i saw) theres i think can be a WAY to make CLASSES in fasm.
So, im wondering ¿some one of the masters here have planned or developed something like this?
For example, i think something like:
CLASS tete
PRIVATED
.name dd ?
PUBLIC
.bla dd ?
PROC TeteInit

ENDCLASS

classproc tete.TeteInit,name,bla
mov eax,[name]
return
endcp


section '.data'......

newteteclass tete

start:
newclass newtestclass,tete
invokeclass newtestclass.TeteInit,strName,strBla


etc, etc...
This is just how i imagine that can be in the code.. but im wondering how to do it ussing macros or something.. but with classes, mmm!!!! fasm will be very powerfull.. i can imagine... windows api classes... ogl classess... etc...

Smile

Maybe im crazy? Smile

_________________
---------------------------------------
Roberto A. Berrospe Machin
Ruta Internet, Florida Uruguay
---------------------------------------
Post 16 Oct 2004, 14:28
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
Check this: http://board.flatassembler.net/topic.php?t=1421. But private/public members... that might be a problem.
Post 16 Oct 2004, 14:36
View user's profile Send private message Visit poster's website Reply with quote
metalfishx



Joined: 30 Sep 2004
Posts: 65
Location: Florida, Uruguay
metalfishx
Hey, thnaks, this looks good.. ill try to studdy the macros...I think this can be good to make good things for fasm... Smile
Thanks decard..!
Post 16 Oct 2004, 15:25
View user's profile Send private message Visit poster's website 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-2020, Tomasz Grysztar.

Powered by rwasa.