CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    8

    License key to use OCX on client PC, Help me!

    Error "Fail to create empty document" occurs when I run my application run on a client PC, I was told that this is a licensing issue. Can any one tell me what is the license key and how I can get it? What should I pass when I call Create function??

    I used the MSComm32.ocx and the code is

    if(!m_commctrl.Create(NULL,0,CRect(0,0,0,0),this,ID_COMMCTRL))
    {
    TRACE0("Failed to create OLE Communication Control\n");
    return -1;
    }

    //***************************************************************

    If anyone of you know, please help me. Thank you.

    siang



  2. #2
    Join Date
    May 1999
    Location
    Bangalore,India
    Posts
    59

    Re: License key to use OCX on client PC, Help me!

    Hi
    The way u have used create function is Ok.It must work well. If it is the Ocx ..I can send u a ocx if u do
    send me your mail ID.
    Even I havent come across this error. If u get some information do mail me.Check if u have the dependency file of the ocx. The .dep file

    Thanx
    regadrs
    [email protected]





  3. #3
    Join Date
    Apr 1999
    Posts
    27

    Re: License key to use OCX on client PC, Help me!


    You need to get the licence key about that Activex Control if you want
    to use that control on unlicense client computer, the way you can get the
    license key from that control and put the license key when you Create
    that object, so it can distribute to other client when without vc environment


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured