>
> Here's a small problem. Take for example
>
> DWORD GetPrivateProfileString(
> LPCTSTR lpAppName,
> LPCTSTR lpKeyName,
> LPCTSTR lpDefault,
> LPTSTR lpReturnedString,
> DWORD nSize,
> LPCTSTR lpFileName
> );
>
\
> lpReturnedString has to point to a char* at least nSize long.
>
> How does one communicate that fact to the plugin service?
You could force the caller to pre-create variables
returnedstring = repeat("\00",nSize+1)
Then just pass "returnedstring" as a variable name as the argument.
The plugin will see a string pointer and uses getvaraddr to get
string pointer.
>
> something.callDll(dllname, funcname, param_types,
> param1#param2#param3)
>
> in fact one could allow caller to use as many of args
> 4 on for his actual param values/var names.
Yes this would work although you would then have to eval expressions
passed as arguments or force variable names only as arguments.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/