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!

clint
Posts: 139
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Trial & Registration

Hi,

Will the Trial & Registration work for a Visual Basic 6 legacy program?

Thank you.
clint
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Trial & Registration

Hi Clint,

I think it should. Did you checked our Integrate licensing feature in VB projects tutorial?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clint
Posts: 139
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Trial & Registration

Hello Dan,

Yes, I saw the tutorial already.

The example code under "6. Integrate the Licensing Library within application" is written in VB 2008.
The call to the Trial.dll requires a windows handle to be passed using the variable type IntPtr.
This type is not in VB6, where typically a variable integer of type LONG is used for a windows handle.

Therefore, my question is if I go and create the code for the call to the Trial.dll in a VB2008 Dll and pass windows handle from the current VB6 process, will that work?
Or is there a specific VB6 solution I am unaware of?

Thank You!

clink

Return to “Building Installers”