Problem with ActiveX under Windows 10

Xbase++ 2.0 Build 554 or later
Post Reply
Message
Author
Piotr D
Posts: 129
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

Problem with ActiveX under Windows 10

#1 Post by Piotr D »

Hi,
I use MW6QRCode ActiveX for generating QR-code. This work fine on machine with Windows 7 and 8, but under Windows 10 when generate some QR-code (not all), system crash. Length of text is ca. 200 characters. Below is LOG file:

FATAL ERROR LOG
Not recoverable Error!
SYS Thread-ID: 1312
Module: EH
Error Codes: EH: 900 Sub: 0(0) OS: 0 XPP: 0
Call Stack of Thread 1 (1160):
@XBPACTIVEXCONTROL@I@NOMETHOD(891)
PD_TWORZQR_BMP(3048)
PSBIGQRSTOP(3169)
D_DRQR(1053)
D_W_DRNAKRFPPP(3033)
D_W_DRNAKRF(1455)
D_W_RF_DRUNI(455)
@M_CRFDRUNP@I@INDYWIDUALNIE(2025)
(B)@M_CRFDRUNP@I@KACTIVATE(1036)
@XBPPUSHBUTTON@I@HANDLEEVENT(1556)
@M_DIALOG@I@DOEVENT(111)
@M_CRFDRUNP@I@DOEVENT(315)
M_RFDRUNP(156)
MAIN(888)
Call Stack of GUI Thread (1312):
Call Stack of Thread 3 (1596):
@R_HINTTHR@I@EXECUTE(161)
File: G:\gorzow.rf\X_RFIZ.EXE
TimeStamp: 20180131 18:01
End of FATAL ERROR LOG.

Any idea?
Regards
Piotr

User avatar
rdonnay
Site Admin
Posts: 4728
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Problem with ActiveX under Windows 10

#2 Post by rdonnay »

I believe that you will need to contact the developer of the ActiveX control to solve this problem.
The eXpress train is coming - and it has more cars.

Piotr D
Posts: 129
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

Re: Problem with ActiveX under Windows 10

#3 Post by Piotr D »

Hi,
problem occurs, when text to coding into QR was greater than 255 characters. But, when I change creation of ActiveX object from:
oControl := XbpActiveXControl():new()
oControl:CLSID := "{3BB56637-651D-4D1D-AFA4-C0506F57EAF8}"

to
oControl := CreateObject("MW6QRCode.QRCode")

problem was solved. I don't understand....
Regards
Piotr

User avatar
Auge_Ohr
Posts: 1406
Joined: Wed Feb 24, 2010 3:44 pm

Re: Problem with ActiveX under Windows 10

#4 Post by Auge_Ohr »

the Difference is that XbpActiveXControl() use a "Top-Window" to receive Events.

since Windows 10.16299.xx some User have Problem with Windows Scaleing > 100% "Resolution" (PDR 6904).
most those Xbase++ Apps don't start and show XppFatal.LOG
Module: EH
Error Codes: EH: 900 Sub: 0(0) OS: 0 XPP: 0
but it also happens when "something" change "Resolution" like your QR Code Generator.

so use CreateObject() / DynamicCast() if you need to receive Events instead of XbpActiveXControl()
greetings by OHR
Jimmy

Post Reply