Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.06.17;
Скачать: CL | DM;

Вниз

Об использовании .obj файлов в Delphi.   Найти похожие ветки 

 
Poaokristal   (2002-06-04 13:03) [0]

Как подготовить обьектный файл в Builder C++ для использования его функций в Delphi.
Как объявлять и использовать .obj файл в Delphi.
Пожалуйста с примером формирования .cpp и . pas файлов.
Василий.


 
Виктор Щербаков ©   (2002-06-04 13:23) [1]

Надо испоьлзовать директиву компилятора {$L filename}

Вот из хэлпа:
Link object file

Type Parameter
Syntax {$L filename}
{$LINK filename}
Scope Local
Remarks

The $L parameter instructs the compiler to link the named file with the program or unit being compiled. The $L directive is used to link with code written in other languages for procedures and functions declared to be external. The named file must be an Intel relocatable object file (.OBJ file). The default extension for filename is .OBJ. If filename does not specify a directory path, then, in addition to searching for the file in the same directory as the current module, Delphi searches in the directories specified in the Search path input box on the Directories/Conditionals page of the Project|Options dialog box (or in the directories specified in a /O option on the DCC32 command line).

To specify a file name that includes a space, surround the file name with single quotation marks: {$L "My file"}.
For further details about linking with assembly language, see online Help.



Страницы: 1 вся ветка

Текущий архив: 2002.06.17;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.01 c
14-55293
phantom2040
2002-05-15 11:38
2002.06.17
Вопрос по Linux


1-55064
SleD
2002-06-02 14:13
2002.06.17
Насчёт КРУГЛЫХ картинок


1-55148
Poaokristal
2002-06-04 13:03
2002.06.17
Об использовании .obj файлов в Delphi.


14-55285
TPavel
2002-05-14 07:48
2002.06.17
быстрое преобразование Фурье


4-55378
Rammst
2002-04-13 09:03
2002.06.17
Свободное место на винчестере