Главная страница
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.015 c
1-55053
Tahion
2002-05-25 14:01
2002.06.17
Как в DrawGrid-е нарисовать какртинку?


1-55061
cult
2002-06-05 17:47
2002.06.17
прорисовщик компонента


1-55125
Vladimir_Shk
2002-06-06 13:21
2002.06.17
не получается использовать TPersistent.Assign


14-55266
kontra
2002-05-10 13:04
2002.06.17
Программирование на Delphi


1-55077
PTE
2002-06-05 09:36
2002.06.17
А как можно зашить в код программы, что бы она по истечению срока