--- In [email protected], "brucexs" <bswit...@...> wrote:
> *info expr(yourplug.yourserv(arg))
>
> where arg somehow indicates which part of ms or which calculation you want
> returned.
Is the plugin DLL loaded/unloaded every time that expr is evaluated?
> Just look at sample.c in plugin source. It likely won't take you more than 15
> minutes.
How do I "return" it ... in a string? ... where do I write it?
I have in the past used a different declaration than I see in the sample. The
sample uses:
_declspec(dllexport) void changevar(LPSTR szv, LPSTR szx, BOOL (*GetVar)(LPSTR,
LPSTR), void (*SetVar)(LPSTR, LPSTR), DWORD* pFlags) {}
while I have used
_declspec(dllexport) VOID pppmem( LPSTR szv, LPSTR szx, BOOL (*GetVar)(LPSTR,
LPSTR), VOID (*SetVar)(LPSTR, LPSTR), DWORD* pFlags, UINT nargs, LPSTR* args,
PPROSERVICES* ppsv ) {}
and written a result to *args.
- Vince