Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_FindMemo( ) API Library Routine
Message
From
30/11/2005 19:44:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
_FindMemo( ) API Library Routine
Miscellaneous
Thread ID:
01073542
Message ID:
01073542
Views:
45
Has anyone had any success with Foxpro C API for the latest versions. For VFP8 I can't make work the example from online help. C code was built into DLL in Visual Studio .Net 2003
It gives me "API Call caused an exception" for
_FindMemo(memoFldLoc)

in the following snippet

_PutStr("\n1 Hello, World!\n"); //print the message

if ((fchMemo = _MemoChan(-1)) == -1)
{
_UserError("_MemoChan() failed");
}
_PutStr("\n2 Hello, World!\n"); //print the message

memoFldLoc = &parm->p[0].loc;

_PutStr("\n3 Hello, World!\n"); //print the message

if ((loc = _FindMemo(memoFldLoc)) < 0)
{
_UserError("_FindMemo() failed");
}
_PutStr("\n4 Hello, World!\n"); //print the message


TIA
Michael
Next
Reply
Map
View

Click here to load this message in the networking platform