Jos,
There are a couple of examples over on my website that should help get you started. Look at DeQuote and SpyIn.
Both of these functions let VFP allocate the strings, passes them to the DLL and it operates on those strings.
>When writing a dll in C to be used by a VFP7 application are there any special rules, tips, funnies, etc that one needs to be aware of for VFP7 - specifically in relation to memory management?