We've noticed that often when modifying C++ OCXs if you change the type or number of parameters for any given function or even substantially change the properties of the control VFP throws a fit and won't load the OCX (When developing in the visual environment). Even unregistering and reregistering the control doesn't help. It doesn't happen all the time but we believe that the we've narrowed it down to the changes I mention above. We are still unsure of the exact changes that have to be made to the C++ code to produce this behavior.
The only way to fix this seems to be to delete the object and reinsert it into the form.
My question is threefold:
1. Has anyone else noticed this behavior?
2. Is there any way to fix this problem either in C++ or in VFP.
3. Why does it happen in the first place?
Also, are there any GOOD references out there for writing C++ OCXs for use with VFP?
Thanks! You guys are great!
Steve
The only way to fix this seems to be to delete the object and reinsert it into the form.
My question is threefold:
1. Has anyone else noticed this behavior?
2. Is there any way to fix this problem either in C++ or in VFP.
3. Why does it happen in the first place?
Also, are there any GOOD references out there for writing C++ OCXs for use with VFP?
Thanks! You guys are great!
Steve