Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
marsnme
Newbie


Joined: 28 Jul 2009
Posts: 4

PostPosted: Mon Jan 10, 2011 10:27 pm   

How do I find what a ProgID is
 
I'm working with creating a COM application to work with cMUD but i get an error that says invalid ProgID. How would one find out what this information is?
I thought it was the path to the app and the file name but that isn't it... Any suggestions would be helpful.
Thanks
MArs
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Tue Jan 11, 2011 9:49 am   
 
The ProgID is the human-readable string stored in the Registry that identifies the application. The ProgID for applications are located in the Registry in the HCR section. THis is an over-simplified explanation. However, if you are writing your own applications then you will know what the ProgID will be since you will create it. An example of a ProgiID would be cMUD.Application or cMUDPro.Application.
Code:

#VAR comobj %comcreate("cMUD.Application")

would establish a COM connection to cMud.
I recommend you read up on COM registration so you get an idea how to locate ProgIDs for applications. It is also the case that most documentation for applications that are exposed to COM will provide the information.
_________________
Sic itur ad astra.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net