flat assembler
Message board for the users of flat assembler.

Index > Windows > DLL with NO ENTRY POINT ??

Author
Thread Post new topic Reply to topic
r22



Joined: 27 Dec 2004
Posts: 805
r22 10 Mar 2005, 03:07
I get rid of the Entry directive but when I compile it the start of the code is still EXPORTED.

How to I make a DLL where the start of the code isn't exported?

format PE GUI 4.0 DLL
;entry start
Exports a NameLess, OrdinalLess with the address of the start of the code.
Post 10 Mar 2005, 03:07
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
Dilshod



Joined: 23 Feb 2005
Posts: 23
Location: Uzbekistan, Tashkent
Dilshod 10 Mar 2005, 14:04
Entry address not exported, its just entry point for execution, and I think you cant delete it. If you not need for entry just point it to return alone procedure.
Post 10 Mar 2005, 14:04
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22 11 Mar 2005, 02:38
The program the DLL is for "mIRC" will not work if the DLL has an entry point.

NASM lets you compile DLLs without exporting the ADDRESS of the BEGINNING of the CODE. Why can fASM not do this?
Post 11 Mar 2005, 02:38
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 11 Mar 2005, 06:04
As Dilshod told, you've confused different notions. The entry point is not exported, since it's not present in the export table (unless you put it there intentionally). What you're talking about is the entry point field in the PE header. Indeed it might be considered a bug, that in case of DLL fasm defaults the entry point to the beginning of first section if none is specified. I have fixed it in 1.59.9 - the default for DLL is now no entry point.
Post 11 Mar 2005, 06:04
View user's profile Send private message Visit poster's website Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22 11 Mar 2005, 06:40
Thanks Privalov YOU OWN !
Post 11 Mar 2005, 06:40
View user's profile Send private message AIM Address Yahoo Messenger 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.