Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My simple Testing on DCOM using Win98 machine
Message
 
 
À
12/03/2001 03:49:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00483975
Message ID:
00485829
Vues:
11
Hi!

You can reduce the time by hiding most of the properties, events and methods of the COM class, so they will not be participated i the DCOM marchalling during initialization. This reduces the time, but not much.

DCOMCNFG.EXE suposed to manage security for COM objects accessed from outside world, but I don;t know if you will be able to use it under W98, maybe W98 have another utility for that.

>Hi,
> I have a simple testing on running DCOM on remote WIN98 machine without existence of WINNT and DCOM configuration in my network using CREATEOBJECTEX() function. What I do are as the following:
>
>1. I did compile a simple class to be COM EXE called myproj.mytest
>2. I have a method called mytest.register() which will activate a timer (3 seconds)
>3. Once timer event fire, it will display a form on screen, and release the form after a while.
>
>The result I get :
>1. my class was initiated successfully in remote Win98 machine. However, it take 2 mins and 36 seconds. 2. After I createobjectex(), I try to call mytest.register() but OLE return error "server authenication unknown".
>3. I try another way to do this, by adding statement mytest.register() in class.INIT() event. Therefore, My form will be displayed once it was initiated. Yes, it work by this way.
>
>My question are:
>1. Why it take so long time for initialization?
>2. how to solve the authenication problem?
>
>Any suggestions?
>
>Thank you
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform