Главная страница
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.016 c
3-55027
Eugene
2002-05-23 05:04
2002.06.17
Как правильно узнать структуру таблицы dbase или Foxpro ?


3-54983
HDD
2002-05-20 06:18
2002.06.17
Помогите далекой Камчатке


1-55106
andrey_ps
2002-06-06 09:55
2002.06.17
Компоненты для Delphi


1-55113
VJar
2002-06-05 14:30
2002.06.17
Адресса окон


1-55088
Dmitry Sheenok
2002-06-03 18:28
2002.06.17
HEX-код буквы