Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETOBJECT and OLEPUBLIC
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01176727
Message ID:
01177428
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform