Serial Validation Number DLL - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Thibault
Posts: 4
Joined: Thu Sep 14, 2006 3:25 pm

Serial Validation Number DLL

Hi,
is it possible to write this DLL in C# ?

(By the way, the Serial Validation Number project sample in C++ do not link with VC8 : msi.lib is missing. I searched on my disk, the only msi.lib found is into C:\program files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib\AMD64 and doesn't seem to work. Should I install something else, like an SDK?)
Thibault
Posts: 4
Joined: Thu Sep 14, 2006 3:25 pm

ok,
i found that link : http://blogs.msdn.com/heaths/archive/20 ... 04399.aspx

this fix the msi.lib with vs2005 c++
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

You cannot use managed code to write the serial validation DLL. The function exported from the DLL must use the "__stdcall" calling convention.

Regarding the "msi.lib" issue, you are correct: it is not included for the x86 platform with VC 2005. The solution would be to install the Windows Installer SDK. The following post may prove useful:
http://www.advancedinstaller.com/forums ... =4104#4104

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”