Hi Guys,
Our team is trying to upgrade from Powerbuilder 12.5 to 12.6 in order to take advantage of new features. The problem we are running into is that when we run the migrated project from 12.6 the application crashes every time we go into the parts of the application where Imageman ActiveX Control is present. We took the control off and it runs the application just fined. We are deploying the application in P-Code 32-Bit. When we add this control to a test project with the ActiveX control in it then it does the same thing, but works if we deployed in Machine Code. Our application cannot be run in Machine Code, so we still have to find a solution. We know the error is an Access Violation to memory, which may have to do with how Powerbuilder is manifesting the Build in the OS.
The Imageman control can be downloaded from the following website as a 30 free trial, if you would like to replicate the problem: https://www.data-tech.com/media/3435/imxtrial.exe
Thx in advance.
Hi Ivan,
Hope you get this reply as you posted this as a blog instead of a discussion.
I have not downloaded and tested with your ActiveX but it sounds like a bug I know was recently fixed.
Do you have Visual Studio 2010? If you do, try running editbin.exe on your exe.
https://msdn.microsoft.com/en-us/library/xd3shwhf(v=vs.100).aspx
After generating a PB executable, example name PbActiveX.exe, execute the following from a VS command prompt.
editbin.exe /NXCOMPAT:NO PbActiveX.exe
It works as well with the PB IDE editbin.exe/NXCOMPAT:NO on PB126.exe
See below for info on why this was happening.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa366553(v=vs.85).aspx
If this is what you are running into and you do not have Visual Studio, it will also be fixed in the next PB 12.6 EBF.
Patricia Steinhardt
SAP Active Global Support
Hello,
We are having the same issue with some imaging activex controls. Could you give the PB 12.6 ebf build that corrects this issue? We are on the PB 12.6 GA release (3506)
Thanks,
Quentin Carrera
Hello Quentin,
From KBA 2124884 ( http://service.sap.com/sap/support/notes/2124884 ) and associated CR 777624, it is fixed with build 4058 of PB 12.6
Jacob,
Unfortunately, we have upgraded to the 4058 build and are still having problems with a video capture SDK. (Viscom VidCap Activex Control). The control was working with the 3506 build after using the editbin command as described above. We are developing on Win 7 Sp1 OS.
Quentin
Quentin,
To be able to help you so far with this issue, please create a new SAP incident providing the needed infos (ActiveX control and use case example) to recreate the issue.
Thanks
Jacob
Was there a solution found to this? I am having the same issue with PB 12.6 with the latest EBF