Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing integers to .OCXs
Message
From
14/11/1998 17:06:18
 
 
To
12/11/1998 23:21:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00156955
Message ID:
00157681
Views:
25
>I know that VFP generates an OLE error if the param of the OLE object method was declared in C++ as SHORT.
>
>Until now I couldn't find a workaround for this.
>
>Vlad
>
>>Is it possible for VisualFoxpro to set an integer property or pass an integer as a parameter to an .OCX at run time.
>>
>>Unlike .DLLs, the methods and properties of .OCXs are accessed directly. My experience is that offering a Visual Foxpro numeric (or even an integer field from a table) is frequently ignored or generates an error message.
>>
>>Can anybody confirm that this is inevitable or suggest a way round it.

Hello Paul!

Some months ago, I read a similar message from you. Since then, I programmed 2 OCX control. As you suggested I didnot used short type for parameters. I made some test with it, but I didnot find any error, but I even didnot use...
I tested only under VFP5.0a with Properties using Get/Set method and Method parameters.

Can you describe a more detailed scenario for the error occuring?

BB
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform