flat assembler
Message board for the users of flat assembler.

Index > Windows > PLUGINS!!! HELP ME PLEASE

Author
Thread Post new topic Reply to topic
cubeoid



Joined: 22 Jan 2007
Posts: 19
cubeoid
does anyone know how to load plugins like an emulator would
ie.have several gfx plugins and chose which one to use Sad

i dont want to include every file in the source
ie. like this Confused

section '.idata' import data readable writeable

library kernel,'KERNEL32.DLL',\
errormsg,'ERRORMSG.DLL'

import kernel,\
ExitProcess,'ExitProcess'

import errormsg,\
ShowLastError,'ShowLastError'


what i want is for it to register every dll from a directory.
and then distuinguis which ones are valid Shocked

YOU GET THE GENERAL IDEA OF WHA I WANT... Wink

THANKS TO ANYONE WHO REPLYS,IN ADVANCED
Post 20 Feb 2007, 17:30
View user's profile Send private message Reply with quote
ACP



Joined: 23 Sep 2006
Posts: 204
ACP
Use GetProcAddress and LoadLibrary. You can make CRC field of exe header your marker for example or define special function inside DLL for authorization.
Post 20 Feb 2007, 22:25
View user's profile Send private message Reply with quote
cubeoid



Joined: 22 Jan 2007
Posts: 19
cubeoid
could you post an example of that plz. thanks again

EDIT: i think i get it now thanks, Code would be still nice though
Post 21 Feb 2007, 14:23
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.