You will find that you are most likely
either calling your function from the kernel (as in testing it and
getting a failure) or that you are using it via the CTAPI. The way
the CiCode engine works is that during the compile process, these
functions normally get resolved correctly to the new function
prototype (with added parameters) and are able to cope without the
additional parameter being added where you call it, however using
the CTAPI or the kernel, does not allow the compiler to resolve
this.
The solution invariably is as simple as placing an underscore _
in front of your function when you call it. eg
_AlarmGetFieldRec()
This is how the new function protype is named and it should work in
this format. Yo won't need to add the extra parameter/s if you call
it in this way. Otherwise, you can simply add the parameter in your
call and call the function as per normal without the underscore
character.
|