?
Solved

PROBLEM WITH REGISTERING DLL (HELP!!!!!!!)

Posted on 1999-08-26
6
Medium Priority
?
186 Views
Last Modified: 2010-05-02
Hi there,

Pls would someone advise me on the following:

I have a Completed Visual Basic Program with 3 DLLs and an Exe file.

1.  In order to install the program for user testing purpose, I compiled the 3 DLLs and exe under the following names.  The names are as follow and the 3DLLs and Exe are saved in the folder TEST_SYSTEM


  Compute_Test.dll
  Project1_Test.dll
  Project2_Test.dll
  HT_Test.exe

2.  In order to have a live version of the same program, I have compiled another set of the 3 DLLs and Exe.  The names are as follow and the 3DLLs and Exe are saved in the folder
LIVE_SYSTEM

  Compute_Test.dll
  Project1_Test.dll
  Project2_Test.dll
  HT_Test.exe

PROBLEM:

In order to run the program, I did a setup.exe program. I then manually registered the DLLs for the TEST system using the following commands.

FOR THE TEST SYSTEM
regsvr32 C:\TEST_SYSTEM\Compute_Test.dll
regsvr32 C:\TEST_SYSTEM\Project1_Test.dll
regsvr32 C:\TEST_SYSTEM\Project2_Test.dll

RESULT: The TEST system works perfectly well


I then registered the 3DLLs in the LIVE_SYSTEM folder

FOR THE LIVE SYSTEM
regsvr32 C:\LIVE_SYSTEM\Compute_Live.dll
regsvr32 C:\LIVE_SYSTEM\Project1_Live.dll
regsvr32 C:\LIVE_SYSTEM\Project2_Live.dll

RESULT:The Live system is running well BUT if I try to run the TEST System an error message appeared: CLASS DOES NOT SUPPORT AUTOMATION. In order to run the Test system again,
I have to do the Dll registration again. i.e. the following commands that I have applied earlier.

FOR THE TEST SYSTEM
regsvr32 C:\TEST_SYSTEM\Compute_Test.dll
regsvr32 C:\TEST_SYSTEM\Project1_Test.dll
regsvr32 C:\TEST_SYSTEM\Project2_Test.dll

RESULT:This time the test system is WORKING but the LIVE SYSTEM faced the same error message that the TEST SYSTEM faced earlier.  So to run the LIVE SYSTEM, I NOW needs to
re-registered the DLL of the LIVE SYSTEM after which the
TEST system will have the AUTOMATION error message.

Can someone teach me a way of registering the DLLs for both
the TEST and LIVE system such that both can be set to working. i.e. I need not have to do the re-registering


Many thanks

Morgan
 
0
Comment
Question by:MCAIGTK3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 

Author Comment

by:MCAIGTK3
ID: 1534041
Edited text of question.
0
 

Expert Comment

by:RandomTask
ID: 1534042
Are they VB DLL's?
0
 

Author Comment

by:MCAIGTK3
ID: 1534043
Yes, they are all VB6.0 DLLs

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:RandomTask
ID: 1534044
Are both sets of DLL's compiled from the same project files, if so then the earlier references could possibly have been outdated.
0
 
LVL 2

Accepted Solution

by:
srirambm earned 60 total points
ID: 1534045
Either change the names of the DLL's between live and test or install them in your windows system directory as shared.
0
 

Author Comment

by:MCAIGTK3
ID: 1534046
I have saved the projects in two different folders; LIVE and TEST.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question