MSCOFF & PECOFF
very nice Mr Colin.
thanks for that , but what PECOFF means , how can we use it.
http://www.freewebs.com/ogremagic/index.htm
A community discussion post from the original code:zIRON forum.
very nice Mr Colin.
thanks for that , but what PECOFF means , how can we use it.
http://www.freewebs.com/ogremagic/index.htm
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.
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
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.