I uploaded powerpro.exe version 4.9m7 

http://powerpro.webeddie.com/download/powerpro.exe

which adds new plugin service at end of current list

LPSTR (*CallPlugin)(LPSTR pszMod, LPSTR pszService, LPSTR pszBuf, UINT 
nArgs,...);

Note the ... for variable number of args.  Use as follows:

(ppsv->CallPlugin)(LPSTR pszMod, LPSTR pszService, LPSTR pszBuf, UINT nargs, 
psz1, psz2, ...);

Calls Plugin  pszMod, service pszService, with output buffer (ie szargs[0]) set 
to pszBuf and remaining arguments psz1, psz, etc. in szargs[1], szargs[2] etc  
as specified by variable arguments after nargs; these remaining arguments must 
all be LPSTR.  

Returns LPSTR pointer to result, by applying ppsv->GetOutputAddr to pszBuf.  

This example calls vec.create(10, 32).
(ppsv->CallPlugin)("vec", "create", szBuf, 2, "10", "32")


If that is not clear, I can send the sample I used for testing.



> vec: simple change, included in ClassAndVec.zip, modifies none of your code, 
> adds a dll-to-dll service not available any other way (return number of 
> columns: basically, is vec 1d or 2d).  Okay incorporating those changes in 
> next version pp?
>


Yes.


Reply via email to