Impossible to add/use OCX OWC10.DLL
search cancel

Impossible to add/use OCX OWC10.DLL

book

Article ID: 274515

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

Have a panel in CA Plex 7.2 using correctly the OCX OWC10.DLL, but in version CA Plex 7.2.1, it does not work and closes CA Plex automatically.

Environment

CA Plex 7.2.1

Resolution

Issue was due to the DEP (Data Execution Prevention) being enabled on the machine where CA Plex is installed

This is prohibiting the Plex binaries from loading the OWC*.dll ActiveX control.

As a workaround, you can disable DEP (Data Execution Prevention) for Plex.exe and built EXE with the following commands:

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\editbin.exe"    /NXCOMPAT:NO    "FullPathToEXE\Plex.exe"

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\editbin.exe"    /NXCOMPAT:NO    "FullPathToEXE\BuiltEXE-ForExaxple-AA1F.exe"