Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error when acessing winsock
Message
De
16/12/2003 15:15:33
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00859548
Message ID:
00859626
Vues:
20
actually, ThisForm.AddObject() works (i had an mistake in my test).

But, i now get a timeout (set to 10 seconds) with the same settings as on my developing machine on the same network with the same i-net connection.

any ideas?



>In the KBArticle say you can't use AddObject. Use NewObject instead.
>
>"Add the control you want to use into a class that is saved in a Visual Class library or into a class created with the DEFINE CLASS command. Next, add an instance of the class at run-time instead of adding the control. Please see the MORE INFORMATION section for details."
>
>HTH.
>
>>Thank you for your reply
>
>>that did not do the trick. i just test it by creating a class of winsock, then instantiating the class with ThisForm.AddObject().
>
>>i still get the same error.
>>BUG: License Error with ActiveX Control Added at Run-Time
>>
>>http://support.microsoft.com/?scid=192693
>>
>>
>>Hope this helps
>>
>>>hello everybody
>>
>>>i know i have seen this beeing discussed here at Universal Thread before - just can't remember where it was.
>>
>>>when trying to send e-mail via winsock i get the following error:
>>
>>>OLE error code 0x80040112: Class is not licensed for use.
>>
>>>it works fine on my developer machine but on another winXP it does not. if i remember correctly it was an install problem, right?
>>
>>>i have my own homemade install routine which registers/proccesses ocx/dlls. i gues it does not do it correctly. what should i be looking for, and what 'testing' routine could i include in my install to ensure correct installment?
>>
>>thanks for all your help as always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform