Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
365 views
in Technique[技术] by (71.8m points)

Problems with FM20.dll and crystl32.ocx while opening VB6 project

A client has recently given me some work involving their (old) VB6 program. I've successfully installed VB6 in a VM with Windows XP (32 bit), and it works just fine. The problem is when I try to open the client's program. The following messages pop up:

crystl32.ocx could not be loaded--Continue Loading Project?

FM20.DLL could not be loaded--Continue Loading Project?

After that there are a bunch of warnings cause of crystl32.ocx. So I tried to register the dependencies with regsvr32, but it said that the modules couldn't be found, even though they were right there. Googling the problem took me to download Dependency Walker and find which dll files were needed for those files, which were:

msvcr100.dll

IEShims.dll

wer.dll

crpe32.dll

After downloading these dll files, I tried registering the first one, but it said that the "dllregisterserver entry point was not found". So I tried to unregister it first, but it couldn't find the module.

I've reinstalled VB6 several times, to no effect. Any ideas on how to make this work?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Crystl32.ocx and Crpe32.dll are Crystal Reports run time files.

FM20.DLL is Microsoft Form 2.0 Library with some standard GUI controls like label, text box, check box etc. Msvcr100.dll is a part of MS Visual C++ 2010 Redistributable Package

If there is an installer of your client's program you should run it before opening the source code with VB6 IDE. That way you’ll get all the dependencies required by VB6 program. If not, please post the vbp file of your VB6 application.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...