Article ID: 152778
Article Last Modified on 9/30/2003
* Place the following code in the Click event of a button on a form: SET LIBRARY TO clearwind.FLL ADDITIVE = CLEARWIND(this) && we are passing the button object to the C routine RELEASE LIBRARY clearwind
#include <pro_ext.h>
void FAR ClearObjWin(ParamBlk FAR *parm)
{
WHANDLE Wh;
\\ Note that you are passing the address to the Value structure.
Wh = _WGetObjectClientWindow(&parm->p[0].val);
_WClear(Wh);
};
\\ Note below that the parameter type is "O" (for Object).
FoxInfo myFoxInfo[] =
{
{"CLEARWIND", (FPFI) ClearObjWin, 1, "O"},
};
FoxTable _FoxTable =
{
(FoxTable FAR *) 0, sizeof(myFoxInfo)/sizeof(FoxInfo), myFoxInfo
};
135709 PRB: Visual C++ Link Error LNK2001: unresolved external symbol
137059 DOCERR: Missing Visual C/C++ "Multithreaded Using DLL" Setting
Additional query words: VFoxWin
Keywords: kbcode KB152778