Форум: "KOL";
Текущий архив: 2004.05.23;
Скачать: [xml.tar.bz2];
ВнизLink MASM coff .obj files Найти похожие ветки
← →
zeddy (2003-12-23 13:18) [0]"Unfortunately, Delphi doesn"t like OBJ files that MASM produces. For all but the most trivial of assembly modules, Delphi will reject the MASM"s output. Borland Delphi expects external assembly modules to be written with Borland"s assembler, TASM32.EXE (the 32-bit Turbo Assembler) that they realy don"t sell TASM anymore; the only way to get a copy of TASM v5.3 is to obtain a copy of Borlands C++ Builder Professional system which includes TASM32 v5.3."
Any solution to this ?
Any possilbe convertors for sourcecode or binaries ?
thank you
← →
azsd © (2003-12-23 14:53) [1]If you have asm soucecodes,
use TASM to link asm files.
or C++ sourcecode use tcc32.
define in delphi use stdcall/cdcel
and use {$LINK xx.obj} after interface.
← →
zeddy (2003-12-23 14:54) [2]I am hard coding a PE Packer for KOL executables (yeah right, it only works with Delphi EXEs) and i feel forced to port all my source code from masm to tasm, to link the engine obj.
← →
azsd © (2003-12-23 15:27) [3]TASM lack some headers that masm had and most macros.
most simple codes can directly link use tasm with same args.
or sould be fix some codes,most time were invoke.
once I has same puzzy for coff /omf,
I used some coff to omf coverter but delphi always told me "bad obj file formats"
at least I used "Free Borland C++ comandline tools" to solute the problem.
I had the Borland C++ Builder CD,but I don"t know how to rip the TASM 5.3 out.
My separate TASM32 on C:\TASM is 5.0.
← →
azsd © (2003-12-23 16:07) [4]To zeddy:
Try to remove /coff
I make a test,write an simple foo.asm change
ML.EXE /c /coff /Cp /nologo
to
ML.EXE /c /Cp /nologo
and then the foo.obj files can directly link into delphi....
yes it"s omf obj.
wait for your nice packers.
:) azsd 2003
← →
PVOzerski © (2003-12-24 10:18) [5]There are exist some COFF/OMF32 converters, some of them are included into free C++ compiler packages (Borland, Digital Mars)
← →
azsd © (2003-12-24 11:09) [6]To PVOzerki
mmm,these converts fails with all obj In my test.
only lib can convert fine though these convertor.
I am recently found masm can out put OMF format obj directly.
I think native OMF files will be better of converted ones from coff,:)
Surely I want to get convertors can convert coff obj to omf,
if you have had converted obj files use some converter,could you told/send me the obj and converter to me?
I crave for these info,Some obj I can"t get their source and need converters.
thx
← →
Mantic0re (2003-12-24 17:21) [7]I have equal problem.
But I decide link all assembler routines in dll, by MASM.
← →
PVOzerski © (2003-12-25 10:20) [8]There are exists also walk32 free package that lets create win32 dlls using nasm or (older versions) masm. Maybe, it also could be a solution.
Страницы: 1 вся ветка
Форум: "KOL";
Текущий архив: 2004.05.23;
Скачать: [xml.tar.bz2];
Память: 0.45 MB
Время: 0.035 c