Главная страница
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.012 c
3-54974
Vitamin
2002-05-22 14:25
2002.06.17
Как передать результат запроса в Exel?


8-55228
MrAngel
2002-01-30 17:31
2002.06.17
Direct3D


1-55132
vald
2002-06-04 09:04
2002.06.17
Возможность вертикальной ориентации текста при печати


1-55145
Karlusha
2002-06-04 11:27
2002.06.17
Окна диалога


3-55031
Z-man
2002-05-21 07:20
2002.06.17
Как написать Help для проги