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

avatar

(send private message)

Posts: 638
Topics: 103

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: 925
Topics: 54

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: 638
Topics: 103

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: 925
Topics: 54

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 6 user(s) online. 0 member(s) and 6 guest(s)
Most users ever online was 533, May 5, 2016, 7:19 am.


Statistics:
Threads: 223 | Posts: 1837 | Members: 50 | Active Members: 50
Welcome to our newest member, NobodyAtWork
const Copyright = '2011-2018 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd