--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> local myvar=""
> GetVaraddr("myvar")
> works fine.
Agreed. Went away and tested.
Whew.
That's a relief, 'cause I got two or three plugins now that trade on that.
I compiled
pszVarAddr = ppsv->GetVarAddr(pszArg);
m_nBufSize = _msize(pszVarAddr);
code in release config: crashed powerpro, so I assume there's still
an _msize problem.
Judging from comment in IN DBGHEAP.C
/*
* If this ASSERT fails, a bad pointer has been passed in. It may be
* totally bogus, or it may have been allocated from another heap.
* The pointer MUST come from the 'local' heap.
*/
I wonder if dll uses same local heap as the exe that calls it? I know
they run as same process, but no idea about who owns what heap. Will
go do some research.
In any case, will still need ppsv->getVarBufLen(varName), eventually.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/