i am very new to vc++.i have the code.
Code:
#include "windows.h" #include "stdafx.h" // Need the following header files to access the MSI API #include "msi.h" #include "msiquery.h" #pragma comment(lib, "msi.lib") // Export the function so MSI can call it using undecorated C style name extern "C" _declspec(dllexport)