I broke it.
I have a large-ish application, where when I run some of the reports, (DF20.1, Dr8.1, MSSQL or RDS) the OCX just hangs. I get to the line
Code:
Send ComReportRefresh sReportId
in cDrReport.pkg and the OCX just hangs.
I did all the usual debugging, and it works on some dev machines,but not on others.
I wrote a helper app that just celled that report, it works fine there.
I put the debugger on one machine where it fails, and I see that AFTER the call to the OCX, my timers fire off, and I do a bunch of calls to HTTPGetRequest method in a cHttpTransfer object. So I forcibly stopped the timers and suddenly all is well in the world, and the reports work.
Now I have questions.
1. is there a global way to temporarily stop all timers from firing?
2. WTF is happening that the ActiveX control so completely looses the plot?
3. Is there a better way to fix this than stopping all the timers?
Michael Mullan.
Danes Bridge Enterprises.
++++++++++++++++++++++++++++
There is just today. Tomorrow is a concept
that is mostly theoretical. -- GM Wylie
++++++++++++++++++++++++++++