Click to See Complete Forum and Search --> : License key to use OCX on client PC, Help me!


TOHCS
May 17th, 1999, 07:25 PM
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

Sunil.R
May 18th, 1999, 01:18 AM
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
suneel_r@hotmail.com

leolin@
May 18th, 1999, 03:33 AM
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