Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DCOM98 problems

Status
Not open for further replies.

windows98

Programmer
Nov 3, 1999
39
AU
I wrote a program in VB6 in Windows XP environment and packaged it with Microsoft PD Wizard. The programa distributes and runs OK in Windows XP. However in Windows 98 it installes OK but when running comes with Runtime Error 7 Out of space. I believe that this is due to some problem in DCOM 98 (or CNFG). I would prefer to avoid porting it to Windows 98. Please help.
Henry

Henry Drillich
drillich@tpgi.com.au

 
If you are using MDAC the 98 computer needs to run DCOM98.exe before you install your app. The Package & Deployement Wizard indicates this at the bottom of the report when your package is compiled. This file is free from Microsoft

I have changed the Setup1 program to check if the OS is Windows 95/98 then shell DCOM98.exe which I have included in a tools directory in my distribution package.

Mike When you call out for help in the darkness, and you hear a voice in return, you're probably just talking to yourself again!
 
Dear Mike,
Thanks for your E-mail. I installed DCOM98 (latest web version 1.3, installed DCOM98.exe version is 4.71.10150)) before installing my application. I am using MDAC. The program itself is OK as I tried it out on number of Windows XP installations and I attribute the runtime error 7 out of memory to some incompatibility with DCOM98. Another peculiarity is that when I tried to uninstall DCOM98 (oldole) in DOS as per release document I could not do it beause after typing uninstall the message came this program cannot be used in DOS. Trying to repeat the installation of DCOM98 (over the same version) without uninstall was accepted and done but resulted in a loss of D drive (CD-ROM) and necessitated reinstallation of Windows 98. I still have an option to delete oldole in Windows (it cannot be done from Add/Remove programs) and adjust Registry, but I prefer not to try it as yet. Any ideas?
Thanks,
Henry

Henry Drillich
drillich@tpgi.com.au

 
Sorry Henry I don't have any ideas but I can tell you what I am doing with DCOM98 for comparison

My program runs OK on XP and during setup I detect Windows 95 or 98 in which case I shell to DCOM98. I have repeated this installation many time without causing any trouble on my 98 machine. Today I installed my app on two clean 98 machines and ran DCOM98 on both. There were no problems.

I have not tried, and based on my experience of reinstalling DCOM98 repeatedly I don't intend to, uninstall DCOM98.

Out of memory can be attributed to many things and maybe DCOM98 is not the problem. I had lots of problems as my program grew and still have to reboot regularly when compiling on the 98 machine. 98 is not a good manager of meory or resources. Out of memory can be caused by actual out of memory, low resources, too many icons in your app.

Sorry can't help more

Mike When you call out for help in the darkness, and you hear a voice in return, you're probably just talking to yourself again!
 
Thanks for info. I will let you know when I fix it. Regards,
Henry

Henry Drillich
drillich@tpgi.com.au

 
Dear Mike,
It appears that the problem is in Windows98 and not in DCOM98 (it was incompatible with an HP program supplied with my Laptop.). I ported eventually my program to Windows 98 to find the same error (No 7. Checking the System Monitor reveals that Windows 98 does not release the memory when you Unload Forms in VB6. Also the swap file does not cut in (to enhance the available memory) even if it is manually increased. The error 7 occurs on Showing a Form so it is a memory handling issue in Windows 98. Regards,
Henry

Henry Drillich
drillich@tpgi.com.au

 
Thanks Henry

Yes I have also had lots of problems with memory. I have resigned to rebooting every couple of hours.

Mike When you call out for help in the darkness, and you hear a voice in return, you're probably just talking to yourself again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top