Page 2 of 2

Re: Where is the COM+ API?

Posted: Tue Aug 22, 2017 3:34 pm
by at2k21
Thank you Gil. That is very similar to code I was able to get working already. I will just go with that.

Re: Where is the COM+ API?

Posted: Tue Aug 22, 2017 5:27 pm
by Gil McNeill
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.