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!

Protection
Posts: 8
Joined: Thu Aug 03, 2017 8:53 am

Calling function from standard DLL

Hi AI team,

In our project user can insert license key but we need to check validity of key.
I have tried console application but AI can not save return code as property (0 - OK, 1 - error), so I decided to use .dll and call function.
I followed this instructions (http://www.advancedinstaller.com/user-g ... rp-ca.html). When i trigger button for validate license key (call DLL function) it ends with error "Function 'LicenseNumberCustomAction' not found in DLL". DLL file is in the temp file.

What am i doing wrong?
Or is there way how to save output (return code) from console application into property?

Thanks.
Attachments
dllFunction.png
dllFunction.png (35.48 KiB) Viewed 2906 times
Protection
Posts: 8
Joined: Thu Aug 03, 2017 8:53 am

Re: Calling function from standard DLL

Problem solved. We had wrong CA dll file.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Calling function from standard DLL

Hi,

I'm glad you solved the problem. Just let us know if there is anything else that we can help you with.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”