>An API function begins to return the wrong return value type to the calling FP
>program? In both of the examples I have seen, the functions returned a logical
>T. to the program, when in one case it should have returned a character
>string, and in the other, the return value should have been numeric. The first
>case was one of GPLIB's functions, I don't remember which. The other (which I
>am experiencing now) is Black&White's Dr. Switch drshell() function. I
>originally thought that there seemed to be a correlation between low DOS
>memory, and this problem, but that doesn't seem to be the case now.
I seem to remember that one of GPLIB's functions had a problem causing
it to return logicals when it should have returned numerics.
Basically under the LCK if you don't explicitly return a variable it
returns a logical. For example:
void FoxFunc(ParamBlk FAR *p)
In the sample code, FoxFunc will return a Logical if p->pCount (the
parameter count) is 0.
MH Software, Inc.