Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETOBJECT and OLEPUBLIC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01176727
Message ID:
01177428
Vues:
9
>ONce you download, you will have a file in the folder >AspDevelopmentAndDebugging/ComDebug/prg called ROTServer.PRG, that is the one >you need to look at.

I'm looking at it now. Exactly how it's called is not clear, though. The critical lines (in a prog called 'Main.prg') appear to be:
Private poStatus
poStatus = NewObject('ComStatusForm', 'ComDebug') && note 1
poStatus.Show()

lcName	= JustFname(Set('Directory')) && note 2

Local loRotServer
loRotServer = RotServer()
loRotServer.Register(poStatus, lcName + '.Debugger') && note 3
Note 1. There is no classname ComStatusForm in ComDebug.PRG, only a OlePublic class called ComDebug. If this is meant to be a form, what are you meant to put here in the case of a running application?

Note 2. Presumably means the name of the exe file you want to register/activate with GETOBJECT().

Note 3. Obvious enough once it is clear what the params should be.

More clues?
J
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform