MultiMedia Soft forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

SMF - Just Installed!

Author Topic: ActiveX register for client  (Read 333 times)

cedricscha

  • Newbie
  • *
  • Posts: 4
    • View Profile
ActiveX register for client
« on: August 29, 2016, 03:44:38 PM »

Hello,

I bought the paid version of your active, unfortunately, when I passed on, my client is faced with a message asking them to buy the active X.

Is this normal?

Here is what I do on the posts of my clients:

OCX.bat:
Code: [Select]
echo off

Regsvr32 /s "%~p0%\asrecmms.ocx"

exit

Thank you to help me if possible. I think forgotten something, but I do not see anything.

Best regards

cedricscha
Logged

Administrator

  • Administrator
  • Full Member
  • *****
  • Posts: 118
    • View Profile
    • MultiMedia Soft
Re: ActiveX register for client
« Reply #1 on: August 29, 2016, 04:50:07 PM »

Hello,

the nag message may appear in 2 situations:
1 - when redistributing the trial version of the ocx instead of the full version (they come with different installers)
2 - when invoking the InitRecorder method at a too earlier stage during the container application's life, for example inside the constructor of the container form or dialog box instead of the initialization handler (WM_INITDIALOG for applications developed using C++)

Please, let me know if one of the 2 points may apply to you and the development environment and language currently in use (for example VB6, VC++, Delphi, etc.).

Kind regards

Severino Delaurenti
MultiMedia Soft
Logged

cedricscha

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: ActiveX register for client
« Reply #2 on: August 30, 2016, 08:39:53 PM »

Hello,
I look at it,
Here is my environment dev. Pc Soft Windev.
Best regards
Logged

Administrator

  • Administrator
  • Full Member
  • *****
  • Posts: 118
    • View Profile
    • MultiMedia Soft
Re: ActiveX register for client
« Reply #3 on: August 30, 2016, 09:05:32 PM »

Hello,
unfortunately we don't have a direct experience with Windev but we know for sure that some of our customers are using our ActiveX controls in this environment; if after your verification the problem should persist, please, send us a small exe file reproducing the issue so we may eventually try where the problem is.

Kind Regards

Severino Delaurenti
MultiMedia Soft
Logged

cedricscha

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: ActiveX register for client
« Reply #4 on: September 02, 2016, 07:44:05 AM »

Hello, The FAQ states the .ocx and .dll file.

What should I do .dll do I copy it into system32 also?

Thank you in advance for your answer

Best regards
Logged

cedricscha

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: ActiveX register for client
« Reply #5 on: September 02, 2016, 10:25:38 AM »

Hello,
Here is my initialization code of the window


Code: [Select]
AX_RecSound>>InitRecordingSystem(Handle(FEN_Enregistre_Son))
The procedure is called to open the window
Logged

Administrator

  • Administrator
  • Full Member
  • *****
  • Posts: 118
    • View Profile
    • MultiMedia Soft
Re: ActiveX register for client
« Reply #6 on: September 02, 2016, 10:58:00 AM »

Hello,

the dll and the ocx files must be copied inside the same folder of the container application's exe file, not inside the the Windows\System32 folder.

Calling the InitRecordingSystem method is OK but you should verify that this method is invoked when the container form is already created, meaning that the value passed to this method contains a valid Windows handle.

Kind Regards

Severino Delaurenti
MultiMedia Soft
Logged