powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / C++ [игнор отключен] [закрыт для гостей] / Незнаю, какой файл подключить
6 сообщений из 6, страница 1 из 1
Незнаю, какой файл подключить
    #32709769
MySQLdb
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Сделал Import Type Library для Dao, в результате получил файлы в папке import, названия которых DAO_OCX.xxx включая .h, DAO_TBL.xxx включая .h, какой из них надо подключать к проекту?
-----------------------------------------------------------
С уважением,MySQLdb
...
Рейтинг: 0 / 0
Незнаю, какой файл подключить
    #32709875
funikovyuri
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
MSDN, как обычно, рулит
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_predir_The_.23.import_Directive.asp

автор
Header Files Created by Import
#import creates two header files that reconstruct the type library contents in C++ source code. The primary header file is similar to that produced by the Microsoft Interface Definition Language (MIDL) compiler, but with additional compiler-generated code and data. The primary header file has the same base name as the type library, plus a .TLH extension. The secondary header file has the same base name as the type library, with a .TLI extension. It contains the implementations for compiler-generated member functions, and is included (#include) in the primary header file.

If importing a dispinterface property that uses byref parameters, #import will not generate __declspec(property) statement for the function.

Both header files are placed in the output directory specified by the /Fo (name object file) option. They are then read and compiled by the compiler as if the primary header file was named by a #include directive.

The following compiler optimizations come with the #import directive:

The header file, when created, is given the same timestamp as the type library.
When #import is processed, the compiler first checks if the header exists and is up to date. If yes, then it does not need to be re-created.
The #import directive also participates in minimal rebuild and can be placed in a precompiled header file. See Creating Precompiled Header Files for more information.
...
Рейтинг: 0 / 0
Незнаю, какой файл подключить
    #32709893
MySQLdb
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Я веду речь про Builder C++, но не про VC++
-----------------------------------------------------------
С уважением,MySQLdb
...
Рейтинг: 0 / 0
Незнаю, какой файл подключить
    #32709898
zalexaka
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
я пользовал TBL
...
Рейтинг: 0 / 0
Незнаю, какой файл подключить
    #32709901
zalexaka
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
zalexakaя пользовал TBL
патч TLB конешна :)
...
Рейтинг: 0 / 0
Незнаю, какой файл подключить
    #32709959
MySQLdb
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Спасибо
-----------------------------------------------------------
С уважением,MySQLdb
...
Рейтинг: 0 / 0
6 сообщений из 6, страница 1 из 1
Форумы / C++ [игнор отключен] [закрыт для гостей] / Незнаю, какой файл подключить
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]