Register | Login
Forum Index > General Discussion > MSCOFF & PECOFF
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1324] MSCOFF & PECOFF - posted: 2013-02-01 21:04:29
very nice Mr Colin.

thanks for that , but what PECOFF means , how can we use it.


http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1325] - posted: 2013-02-01 21:54:31
PE coff is just the COFF format (MS version) with modifications for the PE executable file, the standard WIN32... .exe and .dll format.

and of course MSCOFF is the microsoft coff object files.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 639
Topics: 104

Location:
Alex, Egypt
[1326] - posted: 2013-02-02 18:06:16

really , i still don't get it.

so what is the difference between them, and in which case should i use them?

also , if i have a lib file "a static library" that has some functions , and i want to use one of them. how can i declare the prototype in my coff source file?


http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 933
Topics: 55

Location:
OverHertz Studio
[1327] - posted: 2013-02-02 19:01:29
I already explained the difference.

PECOFF = .exe, .dll
COFF = .obj

Ziron does not yet support importing object or lib files, it can only produce obj files that may be linked with microsoft link.exe

in which case you would create an import just like for a dll, and call the functions as normal, then when linked with ms link the linker will link the calls to the object file.

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Pages: 1
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 3 user(s) online. 0 member(s) and 3 guest(s)
Most users ever online was 1046, January 28, 2022, 2:08 pm.


Statistics:
Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51
Welcome to our newest member, yecate
const Copyright = '2011-2024 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd