flat assembler
Message board for the users of flat assembler.

Index > Windows > implementing a lib in windows?

Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
hello windows coders, ho wcan i implement my own lib in windows, assuming that this lib low level based, and windows not....

to execute an item:
Code:
gnode:
.call=0
.x=4
.y=8
.xl=12
.yl=16
        mov eax,[esi+.x]
        mov ebx,[esi+.xl]
        mov ecx,[esi+.y]
        mov edx,[esi+.yl]
        invoke [esi+.call],eax,ebx,ecx,edx
    


i ask this because as i meet some hardware problems (my notebook hngs when executing .COM code after browsing the net at least one time), and i want to make it more easy to test.

the big problem will be to rest window$ independant, for BOOT.
Post 23 Mar 2008, 01:32
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17669
Location: In your JS exploiting you and your system
revolution
"lib"s in Windows are just DLL's. There are examples in the fasm windows download.

Are you using Win2k or higher? If not then that is maybe why your laptop is crashing.
Post 23 Mar 2008, 01:39
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
ok, thanks, then, i shall write a M$ dll including my lib.. Crying or Very sad
delete this topic is not a bad thing.

win98, forever, my os will act as win98, but without bugs i hope.
Post 23 Mar 2008, 02:37
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. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.