>Build an ActiveX in VC++ using the ActiveX wizard. Use the wizard to declare a method that receives a SHORT param. Calling this method from VFP should generate an error (Param type mismatch or something like that).
>
>I don't know if this problem can be simulated using VB.
>
>Vlad
>
>>>>Can you describe a more detailed scenario for the error occuring?
>>>>
>>>>BB
>>During testing I used, but in the final version I didnot dare to use.
>>
>>BB
Hello Paul!
I tested it as you wrote. I added an OLE method by class wizard. I made a method of return type BOOL, with 1 short type parameter.
I had no problem with it. Wasnot there any other detail, that could cause the problem?
(I faced, when used variant parameter type, that sometimes VFP passed integer values as VT_R4 or VT_R8, even integer numbers like _TALLY. But if you define parameter type as short, VFP should convert it internally/automatically)
I use VC++4.2 and VFP5.0a
BB
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only