Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "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.031 c
4-1081150613
rimd
2004-04-05 11:36
2004.05.23
HWND and Path


7-1081923947
Anka
2004-04-14 10:25
2004.05.23
Смена раскладки клавиатуры


8-1078354024
Uber ASSA
2004-03-04 01:47
2004.05.23
Перерисовка Flash ролика


6-1081235446
+Evgen+
2004-04-06 11:10
2004.05.23
Soket


3-1082739226
lockheed_man
2004-04-23 20:53
2004.05.23
Проблемы с SQL-запросом.





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский