Building PDFCreator

I am not used to MS’s development tools, but my company does have an enterprise edition license for VB6, so I thought I would give it a shot.

Upon trying to load PDFCreator.vbg (which I presume is the root level project), I got an error that mscomctl.ocx could not be loaded. That file is present in my system32 directory. I tried copying it to the source directory, but I got the same error.

What do I need to do to get the project to load properly?

BTW, what language(s) do you plan to use for the rewrite?

Hi,


I think the first is a non PDFCreator specific issue with mscomctl.osx, google should help you solve it (If not, I can ask one of the developers) A quick thing you could try is running visual studio with rightclick-> run as admin once.

The new PDFCreator is being rewritten in C#

regards,

Robin


I updated the .ocx using http://support.microsoft.com/kb/896559 but that did
not fix the problem. I was able to resolve it using the last post at
http://www.touchofdeathforums.com/community/index.php?/topic/129253-mscomctlocx-could-not-be-loaded/page__st__20

I also discovered a dependency not mentioned in the readme. So for anyone else
wanting to build the package, go to http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
and download OLELIB.TLB (presently the first download link on the page). According
to pnish’s post on vbforums.com, you must then:

Extract olelib.tlb and olelib.odl from tl_ole.zip and copy them to your
Windows\System32 directory.

Open a command window and navigate to Windows\System32,
eg cd\windows\system32

Register the two files as follows:
Type: regtlib olelib.tlb and press
Type: regtlib -o olelib.odl and press

Once I did these actions, I was able to make the .exe’s.

Hi,


thanks for the feedback, i will keep it in mind if other users run into similar issues.

regards,

Robin