| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Barcode ActiveX Control
 Community Forum : Barcode ActiveX Control
Subject Topic: Deploying DLL Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
christopher.k
Newbie
Newbie


Joined: November 02 2007
Location: United States
Posts: 6
Posted: March 07 2008 at 2:26pm | IP Logged Quote christopher.k

I'm trying to deploy an application using the Barcode ActiveX Control.

The application is written in Powerbuilder and run from a network location, so there's no installer with which to register the MrvBarCd.dll. What I've done instead is use a scripting language tool to copy the DLL to the Windows SYSTEM32 folder, and run the REGSVR32 command line to register the DLL.

It all runs successfully. The DLL appears, I've verified the REGSVR32 command succeeds (and have even run it from the command line myself to verify its being run), but the application fails every time it tries to reference the DLL. If I run the Retail installation, the application works fine. Is there something the control is expecting to show it as being registered, or am I getting the wrong DLL?

Thanks in advance,

Chris

Back to Top View christopher.k's Profile Search for other posts by christopher.k
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: March 07 2008 at 3:47pm | IP Logged Quote glitch

Chris,

An ActiveX object can be created in two ways (1) a design-time license; or (2) a run-time license. A design-time license is installed with our installer. The run-time license is normally embedded in your application by your programming environment (a typical case is to embed the control in a dialog).

If you create the object directly, you are creating an object with a design-time license. However, since there is no license file on that machine, the object will fail to create.

You might want to modify your program by placing the control on a dialog/form. And retrieve the object pointer from there to avoid instantiating the object directly. There are also some other workarounds, and we have example code in C++.

http://mdn.morovia.com/manuals/bax3/bax.licensing.php.



Edited by glitch on March 07 2008 at 4:04pm
Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.4707 seconds.