Where is the COM+ API?

Discussions related to integration with SoftPro Standard or SoftPro Enterprise editions.
at2k21
Posts: 17
Joined: Wed Aug 16, 2017 5:33 pm

Re: Where is the COM+ API?

Post by at2k21 » Tue Aug 22, 2017 3:34 pm

Thank you Gil. That is very similar to code I was able to get working already. I will just go with that.

Gil McNeill
Posts: 16
Joined: Mon Oct 06, 2008 9:29 am

Re: Where is the COM+ API?

Post by Gil McNeill » Tue Aug 22, 2017 5:27 pm

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.
Gil McNeill
SoftPro Software Engineer

Post Reply