Search found 16 matches
- Mon Aug 28, 2017 8:48 am
- Forum: Standard/Enterprise Development
- Topic: Call to SPGetFieldValue returns 0 on invalid FieldName.
- Replies: 1
- Views: 2405
Re: Call to SPGetFieldValue returns 0 on invalid FieldName.
The documentation is wrong for that function. SPGetFieldValue returns the length of the data in the field. If you pass in a bad field name it will return zero. I'll put a bug in to get that fixed so that the API returns < 0 value for a bad field name. SPSetFieldValue (on the other hand) will return ...
- Tue Aug 22, 2017 5:27 pm
- Forum: Standard/Enterprise Development
- Topic: Where is the COM+ API?
- Replies: 11
- Views: 6962
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(@"...
- Tue Aug 22, 2017 2:26 pm
- Forum: Standard/Enterprise Development
- Topic: Where is the COM+ API?
- Replies: 11
- Views: 6962
Re: Where is the COM+ API?
I would recommend bypassing COM and just using the DllImport attribute in your C# code. I have attached a sample project that you can use as an example.
- Tue Aug 22, 2017 1:03 pm
- Forum: Standard/Enterprise Development
- Topic: Where is the COM+ API?
- Replies: 11
- Views: 6962
Re: Where is the COM+ API?
So...if you open a command prompt and navigate to your API folder...
Type regsvr32 ProFormAPI.dll
Does it succeed?
Type regsvr32 ProFormAPI.dll
Does it succeed?
- Tue Aug 22, 2017 12:03 pm
- Forum: Standard/Enterprise Development
- Topic: Where is the COM+ API?
- Replies: 11
- Views: 6962
Re: Where is the COM+ API?
Thanks. So..another question...
See attached screenshot. It shows a folder (and the list of files) where I have the API installed locally.
In the folder where you installed the API, do you see the same set of files?
See attached screenshot. It shows a folder (and the list of files) where I have the API installed locally.
In the folder where you installed the API, do you see the same set of files?
- Tue Aug 22, 2017 9:19 am
- Forum: Standard/Enterprise Development
- Topic: Where is the COM+ API?
- Replies: 11
- Views: 6962
Re: Where is the COM+ API?
Hello...quick question...
What version of Classic (or STD) are you running? You can check the version by looking at the version info of the properties of softpro.dll.
The STD version does not support the COM+ interface...only the Classic version.
Thanks,
Gil McNeill
Software Engineer
What version of Classic (or STD) are you running? You can check the version by looking at the version info of the properties of softpro.dll.
The STD version does not support the COM+ interface...only the Classic version.
Thanks,
Gil McNeill
Software Engineer