开发者

If I registered a TLB do I still need to register the ocx in order to compile?

开发者 https://www.devze.com 2022-12-12 13:18 出处:网络
I am trying to compile a vb6 application and I can\'t register the ocx files. In order to attempt to compile I have replaced the Object= lines in the .vbp file with Reference= lines to the TLB instead

I am trying to compile a vb6 application and I can't register the ocx files. In order to attempt to compile I have replaced the Object= lines in the .vbp file with Reference= lines to the TLB instead of the OCX. Now when I compile I get the following type of errors.

Line 125: Class KimgpLib.KImgp of control K开发者_StackOverflowImgp1 was not a loaded control class.
Line 145: Class KFormLib.KForm of control KForm1 was not a loaded control class.

I have registered the tlb files using regtlib.exe but cannot register the ocx files.

Any suggestions would be appreciated.


You will need to read up on reg free COM which also works with OCXs You can read more here. The process involves creating manifest files for each library (DLL or OCX but not ActiveX EXE)

0

精彩评论

暂无评论...
验证码 换一张
取 消