Hi James,
>Warning 1 warning LNK4003: invalid library format; library ignored d:\projects\Pope\FSSample\FSSample\FSSample\SampleSelectDLL.dll 1
This sounds as if you had specified the DLL file instead of the LIB file in the Linker properties (where you also have WINAPIMS.LIB).
> CString s1( (char *) _HandToPtr(parm->p[0].val.ev_handle));
Sorry, forgot the cast operation.
>I can't get the third float parameter to work. Get an erorr that says can't convert float * to float.
How are you getting the third parameter? You don't have to pass the value as a string. Instead defines the parameter type in the Foxinfo structure as "CCN" instead of "CCC". Then use
parm->p[0].val.ev_real
as the value for the third parameter.
> I added #define _AFXDLL that fixed the compile error but maybe the dll does not like this?
If you can compile, you should try the FLL. This is getting into regions where my knowledge bases on having it done once or read about. <s> When writing C++ libraries I tried to avoid MFC where ever I could.
--
Christof