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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing a program on NT. oleaut32.dll problem

Status
Not open for further replies.

Misled

Programmer
Sep 22, 1998
23
US
When installing my program on a windows NT (written in VB) system, it aborts when trying to copy the oleaut32.dll file. I'm assuming the file is in use by NT, however I'm not an NT guru. I looked at the tasks list and services and could not tell which service or task to stop. Could someone tell me how to deal with this problem. I'm sure its a simple problem with NT.<br>

 
Were any apps running at the time? OLEAUT32.DLL is part of the OLE2 layer and cannot be overwritten whilst in use.<br>
Ideally you should alter your installer so that it installs any DLLs into the application directory, rather than %WINNT%\SYSTEM. This solves any problems with DLL versioning, and means that when a user's NT box goes belly up they can't blame you :)<br>
<br>
Peter.<br>

 
pwhysall,<br>
I am a VB programmer. I wrote the program in VB 6. That dll needs updating. There are several internal to NT apps running. I stopped all client apps (outlook, office toolbar, other non-ms programs). He is on a network too. As I said, I am not an NT guru (yet). Any other ideas would be greatly appeciated. I plan to boot from floppy, and copy it manually. Think that will cause a problem(I'll make a backup of the file first)?
 
Misled,<br>
<br>
I'm late into this, but the problem may be that you need to have the system restart and replace the oleaut32.dll on restart, before any Windows apps start to use it. I use the Wise installation program, so I don't know how the VB6 version of setup handles this sort of thing. However, you should be able to use the wininit.ini file (or the WinNT equivalent) to replace the existing file. Mind, I haven't had occasion to try this, so I may just be ''whistling' in the wind' &lt;grin!&gt;, but I've seen references on several mailing lists and newsgroups that make me think this would work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top