Re: NQAR2 ?? Attention MIC

new topic     » goto parent     » topic index » view thread      » older message » newer message

>Mic:
>    In your nqar2 files you have libraries example : w32kernel.lib
>    What utility did you use to create them ?
>    There are not standard library files.
>    They appear to be just a list of functions
>    What is the format that you are using ?
>Bernie
>

I wrote a small utility (in euphoria :) to create those. The format is as 
follows:

CSTRING: name is needed dll file, zero-padded to the nearest 8-byte boundry.
DWORD: number of entries (=n)
DWORD: one (1)
DWORD*n: absolute file offset of entry names
WORD*n: zero (0)
BYTE*n: size in bytes of the arguments for each entry (eg. compare with the 
notation "GetDC@4")
CSTRING*n: entry names
BYTE*?: zero-padding to the nearest 16-byte boundry

I just wanted a simple format I could use with the compiler. One of the 
things on my to-do list is to add support for COFF format libs, as used by 
eg. MS's compilers, but I find those pretty messy and I have yet to get hold 
of a good spec.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu