Hi Joel,
have a look at _VFP.StartMode property in the help file. This should be what you want.
Armin
>Is there a way I can tell if a program is running inside a multi-threaded DLL? I have a program that uses commands that are not supported by the multi-threaded runtime. I want to bypass the commands, but only if the program is running in an MTDLL.
>
>Thanks.