Пришлите, пожалуйста, e-mail, на который выслать пример.
Проблема все с тем же axgistoolkit.tlh
Делал в соответствии с Вашим алгоритмом действий.
Удалил из Вашего проекта axfMapWorkSet.h и axMapAtlas.h
Проект - Добавить класс - MFC - MFC класс из TypeLib - Добавить - Файл - Выбираю в путях axGisToolKit.ocx - это выполняю для 2х классов IaxfMapWorkSet и IaxMapAtlas.
Компилирую.
Список ошибок в axgistoolkit.tlh:
error C2146: syntax error : missing ';' before identifier 'DialogFiles'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error : missing ';' before identifier 'HistoryList'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error : missing ';' before identifier 'GetDialogFiles'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error : missing ';' before identifier 'GetHistoryList'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2143: syntax error : missing ';' before 'IaxMapFileNameEdit::GetDialogFiles'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2497: 'IStringsPtr' : 'implementation_key' can only be applied to function declarations
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2143: syntax error : missing ';' before 'IaxMapFileNameEdit::GetHistoryList'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2497: 'IStringsPtr' : 'implementation_key' can only be applied to function declarations
error C2086: 'int IStringsPtr' : redefinition
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Есть подозрение, что при импорте из OCX VS интерпретирует типы по-своему, что в итоге приводит к несоответствию типов.
Проблема все с тем же axgistoolkit.tlh
Делал в соответствии с Вашим алгоритмом действий.
Удалил из Вашего проекта axfMapWorkSet.h и axMapAtlas.h
Проект - Добавить класс - MFC - MFC класс из TypeLib - Добавить - Файл - Выбираю в путях axGisToolKit.ocx - это выполняю для 2х классов IaxfMapWorkSet и IaxMapAtlas.
Компилирую.
Список ошибок в axgistoolkit.tlh:
error C2146: syntax error : missing ';' before identifier 'DialogFiles'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error : missing ';' before identifier 'HistoryList'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error : missing ';' before identifier 'GetDialogFiles'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2146: syntax error : missing ';' before identifier 'GetHistoryList'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2143: syntax error : missing ';' before 'IaxMapFileNameEdit::GetDialogFiles'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2497: 'IStringsPtr' : 'implementation_key' can only be applied to function declarations
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2143: syntax error : missing ';' before 'IaxMapFileNameEdit::GetHistoryList'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2497: 'IStringsPtr' : 'implementation_key' can only be applied to function declarations
error C2086: 'int IStringsPtr' : redefinition
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Есть подозрение, что при импорте из OCX VS интерпретирует типы по-своему, что в итоге приводит к несоответствию типов.