vb6 - Will having two versions of mscomctl.ocx referenced in an application cause problems? -


i maintain lot of old vb6 code. programs have been around long time , run on many systems no problems.

recently have been having strange, random problems these programs on server 2012.

i noticed project file referenced mscomctl.ocx#2.0 , form file in project referenced mscomctl.ocx#2.1.

project file (vbp) object={831fdd16-0c5c-11d2-a9fc-0000f8754da1}#2.0#0; mscomctl.ocx

form file (frm) object={831fdd16-0c5c-11d2-a9fc-0000f8754da1}#2.1#0; mscomctl.ocx

a process dump showed comctl32.dll loaded twice

loadedmodule[39]=c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.17359_none_bf105a8645f47e85\comctl32.dll ... loadedmodule[42]=c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9200.17359_none_8935f06086091acc\comctl32.dll

from google, seems comctl32.dll dependency of mscomctl.ocx, loaded.

loadedmodule[47]=c:\windows\system32\mscomctl.ocx

is cause alarm?

thanks help.

your project (.vbp file) lacks proper setting upgrade activex controls.

open file in text editor , remove line:

nocontrolupgrade=1 

or open project in vb6 , check box in project properties dialog.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -