> char* pszTemp = ppsv->AllocTemp(iCount); > memset pszTemp to all blanks > put a final \x00 byte at end > ensure var exists, if not declare it global with ppsv->runCmd > SetVar the var to pszTemp > pvar = ppsv->GetVarAddr(szVarName) > if (pvar) > memcpy(pvar, val, iCount) >
This should work.... ------------------------ 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/
