Главная страница
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.017 c
1-55212
vajo
2002-06-05 11:15
2002.06.17
DateTime


6-55258
OGR
2002-02-06 13:34
2002.06.17
Как отключить скроль в TWebBrowser?


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


3-55019
sergey32
2002-05-22 16:54
2002.06.17
Делаю Insert в хранимой процедуре


3-55033
Грицаев Д.В.
2002-05-22 14:28
2002.06.17
работа из Д5 с IB6