-
1
- #1
FoxLearner
Programmer
Hi All
On Feb., 04 I posted a question asking help about the error 2020 I was getting when I tried to pass Arrays by refrence to Com objects. I was trying to pass arrays by reference to a VB DLL, which used to work fine in VFP 6.0/7.0, but in VFP 8.0 it generated an error. The error says "Class files() associated with this field could not be found. Class association cleared." Error number 2020.
After searching for help every where, finally I turned to MicroSoft Technical support and they decided it is a bug.
Temporarily they suggested a work around. Just before calling the DLL, redimension the arrays that are passed to the DLL by refernce.
It worked. The guy who attended to our problem said he reported the bug and it may be fixed in the next service pack or a patch that may be released.
Hope this may help some of you who may/might have faced this error.
Thanks and regards
FoxLearner
On Feb., 04 I posted a question asking help about the error 2020 I was getting when I tried to pass Arrays by refrence to Com objects. I was trying to pass arrays by reference to a VB DLL, which used to work fine in VFP 6.0/7.0, but in VFP 8.0 it generated an error. The error says "Class files() associated with this field could not be found. Class association cleared." Error number 2020.
After searching for help every where, finally I turned to MicroSoft Technical support and they decided it is a bug.
Temporarily they suggested a work around. Just before calling the DLL, redimension the arrays that are passed to the DLL by refernce.
It worked. The guy who attended to our problem said he reported the bug and it may be fixed in the next service pack or a patch that may be released.
Hope this may help some of you who may/might have faced this error.
Thanks and regards
FoxLearner