eug_prog
September 26th, 2006, 02:32 PM
I try to compile my program that calls these MSI functions:
MsiOpenPackageEx()
MsiGetProperty()
MsiCloseHandle()
VC++ compiler can't find the first two - dumps this type of message:
UsingMsiApis\UsingMsiApis.cpp(32) : error C3861: 'MsiOpenPackageEx': identifier not found, even with argument-dependent lookup
I have included in INCLUDE and LIB locations of msi.h and msi.lib.
Since I work on WinXP, I explicitly set _WIN32_MSI to be 200 (though I shouldn't have to).
If you have any ideas why compiler can't find MSI SDK functions, please let me know. I have tried everything that came to my mind - all in vain.
MsiOpenPackageEx()
MsiGetProperty()
MsiCloseHandle()
VC++ compiler can't find the first two - dumps this type of message:
UsingMsiApis\UsingMsiApis.cpp(32) : error C3861: 'MsiOpenPackageEx': identifier not found, even with argument-dependent lookup
I have included in INCLUDE and LIB locations of msi.h and msi.lib.
Since I work on WinXP, I explicitly set _WIN32_MSI to be 200 (though I shouldn't have to).
If you have any ideas why compiler can't find MSI SDK functions, please let me know. I have tried everything that came to my mind - all in vain.