Home > Software engineering >  Vb6 ocx version is not the same software cannot be opened
Vb6 ocx version is not the same software cannot be opened

Time:10-01

I quoted a control in the procedure of VB mscomctl. Ocx, but the version is different, some computer can't open the program, but is already in the memory process, I need to quote the corresponding version of the controls, repackaging, the computer can use, how to solve this problem

CodePudding user response:

Is inconsistent with the version control, software interface to see after running the program, memory is growing

CodePudding user response:

Mscomctl. Ocx in inside your own program, each runtime checking register your own mscomctl. Ocx

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
  • Related