ODBC driver linking with MS C++ 6.0

Поиск
Список
Период
Сортировка
От Rafael dos Santos Cubas
Тема ODBC driver linking with MS C++ 6.0
Дата
Msg-id Pine.LNX.4.21.0210021143260.14660-100000@dupond.inf.ufpr.br
обсуждение исходный текст
Ответ на Re: ODBC driver compilation with MS C++ 6.0  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgsql-odbc
Dave helped me to fix the precompiled headers problem,
so i gone ahead with the compilation process,
i got a sintax error :
--------------------Configuration: psqlodbc - Win32
Release--------------------
Compiling...
psqlodbc.cpp
C:\ARQUIVOS DE PROGRAMAS\MICROSOFT VISUAL
STUDIO\MyProjects\psqlodbc\psqlodbc.cpp(51) : error C2440: '=' : cannot
convert from 'void *' to 'struct HINSTANCE__ *'
        Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
Error executing cl.exe.
psqlodbc.dll - 1 error(s), 0 warning(s)

to fix it i just added a cast after '=', it worked fine. But at the
linking time i got a lot of error and i have no idea how to fix it.
this is the error message:
-------------------Configuration: psqlodbc - Win32 Release--------------------
Linking...
qresult.obj : error LNK2001: unresolved external symbol _globals
results.obj : error LNK2001: unresolved external symbol _globals
socket.obj : error LNK2001: unresolved external symbol _globals
statement.obj : error LNK2001: unresolved external symbol _globals
info.obj : error LNK2001: unresolved external symbol _globals
misc.obj : error LNK2001: unresolved external symbol _globals
options.obj : error LNK2001: unresolved external symbol _globals
pgtypes.obj : error LNK2001: unresolved external symbol _globals
connection.obj : error LNK2001: unresolved external symbol _globals
convert.obj : error LNK2001: unresolved external symbol _globals
dlg_specific.obj : error LNK2001: unresolved external symbol _globals
execute.obj : error LNK2001: unresolved external symbol _globals
drvconn.obj : error LNK2001: unresolved external symbol _s_hModule
setup.obj : error LNK2001: unresolved external symbol _s_hModule
psqlodbc.obj : error LNK2001: unresolved external symbol "void __cdecl
getGlobalDefaults(char *,char *,char)" (?getGlobalDefaults@@YAXPAD0D@Z)
Release/psqlodbc.dll : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

psqlodbc.dll - 16 error(s), 0 warning(s)

does any body can help?
Thanks a lot for your attention.


Rafael


В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: ODBC driver compilation with MS C++ 6.0
Следующее
От: lists
Дата:
Сообщение: Re: ODBC + MS-Access fails with MD5 pwds if not specified