Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C++ DLL help
Message
From
21/08/2008 11:48:17
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01340071
Message ID:
01340800
Views:
10
Hi Christof,

>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).

I checked and I specified the SampleSelectDLL.lib. I have been talking to the DLL developer may she can help.

Thanks.



>
>> 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.
Previous
Reply
Map
View

Click here to load this message in the networking platform