Probably you forgot to select "fastcall" calling convention (Project settings->C/C++->Code generation).
>Very frustrating.
>
>Now; such a simple fll (prints out var type passed) is returning garbage.
>
>I think I need to take a break...
>the output is:
>VAL[]
>Var: [
>
>so I must have screwed somethign up with mixing/matching libraries or header files or something...
>
>#include "pro_ext.h"
>
>void FAR test(ParamBlk FAR *parm ) {
> char test[100];
> _PutStr("VAL[");
> _PutValue(&parm->p[0].val);
> _PutStr("]\n");
> sprintf(test,"Var: [%c]\n",parm->p[0].val.ev_type);
> _PutStr(test);
>}
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only