[snip]
>unknown NEWOBJECT - undefined
>unknown FORCEEXIT - undefined
>unknown VARTYPE - undefined.
>Am I missing something or can I not use the VCX within an application?
From the errors, it looks to me like you've written it for VFP6 but compiled it in VFP5.
Insanity: Doing the same thing over and over and expecting different results.