The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
SLX Functions
Posted: 25 Apr 06 11:34 AM
|
fiogf49gjkf0d Hi,
Does anyone know how to acess the code for funcitons in slx architect? I am trying to fix an error message that I'm getting when trying to use the e-mail button which says "Que Message: Incorrect Function". I've noticed that there are parts of the system where the email functionality works properly but they are all called by a function "Write:Email". Being new to the slx world I'm not exactly sure how to call functions in code or what parameters they would take so I was hoping to get a look at the code in them to help shed some light on the situation.
FYI the function that is calling the e-mail in the bad code is Application.BasicFunctions.QueMessage
Thanks! |
|
|
|
Re: SLX Functions
Posted: 26 Apr 06 6:25 AM
|
fiogf49gjkf0d I'll guess you are using SLX version 6.2 pre SP3. Your QueMessage error is a compatibility issue between SLX and Outlook. We had the same issue. It is not bad code on the SLX side... its Microsoft not being backward compatible with their DLLs - one example is the OUTLLIB.DLL.
The answer is to NOT upgrade Office 2003 to Service Pack 2. SLX 6.2 SP2 and prior are not certified with Office 2003 SP2. AKA - they don't play well together.
The other answer is to upgrade to the latest SLX SP4 (or SP3 if 4 is not out yet).
John G. |
|
|
|
Re: SLX Functions
Posted: 27 Apr 06 8:29 AM
|
fiogf49gjkf0d The Application.BasicFunctions functions are compiled and are not exposed with open source. |
|
|
|
Re: SLX Functions
Posted: 27 Apr 06 8:37 AM
|
fiogf49gjkf0d Thanks for the responses. Do you know if the Write:Email function is exposed? Or if not how to call it? Forgive my ignorance if I'm descriping this wrong but when I look at the standard toolbar from architect, the e-mail button has an action of "Function" with an argument of "Write:Email" which doesn't seem to have any problems... I was hoping I could somehow utelize this as a temporary fix as I won't be able to upgrade all our remote users to sp4 for some time.
Thanks |
|
|
|
Re: SLX Functions
Posted: 28 Apr 06 6:05 AM
|
fiogf49gjkf0d Unless someone else has a suggestion, I don't think there is a way around this because the problem is in an external application - not SLX itself. SLX is doing its job as was defined by the external app. Unfortunately, the DLL(s) for the Outlook were upgraded by SP2 and not made backward compatible.
One thing we tried here was to replace the OUTLLIB.DLL in \Program Files\Microsoft Office\OFFICE11 with the earlier 11.0.5608.0 version. This is the version that is suppose to work. It helped in some instances of the QueError message but not all. Depends on the function call.
John G.
|
|
|
|