Where is the COM+ API?
Re: Where is the COM+ API?
Thank you Gil. That is very similar to code I was able to get working already. I will just go with that.
-
- Posts: 16
- Joined: Mon Oct 06, 2008 9:29 am
Re: Where is the COM+ API?
That sounds good. One thing to note in the example code is this little snippet..
// Initialize SoftPro prompts (pass in path to spprmpts.txt)
int retval = SPLoadSPPrompts(@"D:\shared\ENT\Docs");
// Initialize SoftPro prompts (pass in path to Usrprmpts.txt
retval = SPLoadUserPrompts(@"D:\shared\ENT\Docs");
If you are planning on editing & saving orders via the API you'll want to do something similar in your code's initialization. This calls load custom symbols (i.e., prompts) so they don't get lost when you are editing/saving orders. Just pass in the path to the SoftPro server location where spprmpts.txt and usrprmpts.txt are located.
// Initialize SoftPro prompts (pass in path to spprmpts.txt)
int retval = SPLoadSPPrompts(@"D:\shared\ENT\Docs");
// Initialize SoftPro prompts (pass in path to Usrprmpts.txt
retval = SPLoadUserPrompts(@"D:\shared\ENT\Docs");
If you are planning on editing & saving orders via the API you'll want to do something similar in your code's initialization. This calls load custom symbols (i.e., prompts) so they don't get lost when you are editing/saving orders. Just pass in the path to the SoftPro server location where spprmpts.txt and usrprmpts.txt are located.
Gil McNeill
SoftPro Software Engineer
SoftPro Software Engineer