VladimirKlimenko
Member
Hi,
I am writing a business function (in C) that works with OS registry (Windows NT). I can't use standard Visual C header file <windows.h>, because when I build my function I get this result:
**********************************************************************sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegSetValueExA@24
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegConnectRegistryA@12
*********************************************************************
I want to use <registry.h> (JDE), but I don't know where to find documentation about this API.
Maybe, anybody knows any solution this problem.
Bye
Vladimir
I am writing a business function (in C) that works with OS registry (Windows NT). I can't use standard Visual C header file <windows.h>, because when I build my function I get this result:
**********************************************************************sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegSetValueExA@24
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
sCLOC.lib(B59KV004.obj) : error LNK2001: unresolved external symbol __imp__RegConnectRegistryA@12
*********************************************************************
I want to use <registry.h> (JDE), but I don't know where to find documentation about this API.
Maybe, anybody knows any solution this problem.
Bye
Vladimir