2022-12-29, 12:17:33
(2022-12-29, 11:13:33)wila Wrote: Vasile,
That's peculiar.
I will have a look, but currently don't have dBase 2019 installed, so will have to get a trial version for testing that.
But before I go down that path...
Does dBase have a way to get the dispatch pointer of an ActiveX control itself?
If so then you could use that as well instead of the IDispatchPointer property.
Also can you see if the IDispatchPointer property is returning a non zero value?
Let me add some extra logging details for troubleshooting this, so that a log file at level 2 gives me some details on what is actually happening. I will email you a private version, with steps for setting the logging later today.
--
Wil
Does dBase have a way to get the dispatch pointer of an ActiveX control itself?
Yes, .ACTIVEX1.nativeobject // this.ACTIVEX1.nativeobject
Also can you see if the IDispatchPointer property is returning a non zero value?
Not null.
this.ACTIVEX1.nativeobject.IDispatchPointer has a reference (pointer) to
this.ACTIVEX1.nativeobject
Thank you
Vasile
PS.
dBase 2019 link:
http://www.dbase.com/support/updates-and-fixes/
direct download link (30 days evaluation )
https://www.dbase.com/downloads/dBASE201...200218.exe
in command prompt:
cd "The path where TestAntView.wfm was saved"
// open in designer
modi form TestAntView.wfm
// open in source editor
modi comm TestAntView.wfm
// run
do TestAntView.wfm