1. DLL for Euphoria info

Hello,

Recently i wanted to do something with Euphoria but i need to 
know more about how a windows dll loads the code from the .dll file
into memory.  Perhaps info about the dll file type itself would be enough.

Any ideas or links?

Thanks.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » topic index » view message » categorize

2. Re: DLL for Euphoria info

Hi Al,
Windows dll are the format ast windows .exe files the format is Portable
Executable (PE).
The windows process responsible for loading program in memory distinguish dll
from exe files from a flag in the file header. You can test it by renaming a dll
with a .exe extesion and open it in euphoria with open_dll(). It will work but
you can't run it like program because the windows loader will know it is a dll by
reader the header.
For more information about the PE format:

http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx
agree with the licence and download "pecoff v8.doc" on the next page.

regards,
Jacques Deschênes

new topic     » goto parent     » topic index » view message » categorize

3. Re: DLL for Euphoria info

jacques deschênes wrote:
> 
> 
> Hi Al,
> Windows dll are the format ast windows .exe files the format is Portable
> Executable
> (PE).
> The windows process responsible for loading program in memory distinguish dll
> from exe files from a flag in the file header. You can test it by renaming a
> dll with a .exe extesion and open it in euphoria with open_dll(). It will work
> but you can't run it like program because the windows loader will know it is
> a dll by reader the header.
> For more information about the PE format:
> 
> <a
> href="http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx">http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx</a>
> agree with the licence and download "pecoff v8.doc" on the next page.
> 
> regards,
> Jacques Deschênes


Ok thanks Jacques i'll take a look.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu