PC Review


Reply
Thread Tools Rate Thread

How to delete or replace .dll files win2000 is using

 
 
helpless
Guest
Posts: n/a
 
      2nd Nov 2003
I have windows 2000 and i'm having problems with dll files.
I tried to install a program but there was error telling
something like: sethandlecontext was not found on kernel32.
dll. How can i fix this problem? I found sites that suggest
of deleting files like winsock.dll & wsock32.dll and few
others, but when i try to delete them I get an error
message that says can't delete, because windows is using
this file. Is there anything I can do to delete, or replace
these .dll files? I also found out that this whole
kernel32.dll problem is because the program is designed for
win98 or something, but some people seem to have solved the
problem, but how they do it? I hope someone can help me out
with this issue, because it's very important.. thanks. (I'm
terribly sorry that the errormessages are so unaccurate,
but I have Finnish version of Win2000)
 
Reply With Quote
 
 
 
 
Ndi
Guest
Posts: n/a
 
      2nd Nov 2003
> I tried to install a program but there was error telling
> something like: sethandlecontext was not found on kernel32.


I can't find any references to SetHandleContext in the SDK. However, a
dump on a Windows 98 kernel32 did yeld a SetHandleContext, export ord 0721.
It does not appear to be documented.

On NT, this function has gone and only 'SetHandleCount' and
'SetHandleInformation' survived.

> I found sites that suggest
> of deleting files like winsock.dll & wsock32.dll and few
> others, but when i try to delete them I get an error
> message that says can't delete, because windows is using
> this file.


I'm not sure you want to delete those, even if you could. Deleting the
file isn't much but WFP will probably replace them. Hopefully, otherwise you
might render your network dead. Winsock DLLs interface applications to the
network layer and deleting those is bound to be painful.

You could be looking at getting a Windows 98 Kernel32.dll and copying it
into the directory in which the application is running. It will probably go
bananas, but you could try.

> Is there anything I can do to delete, or replace
> these .dll files? I also found out that this whole
> kernel32.dll problem is because the program is designed for
> win98 or something, but some people seem to have solved the
> problem, but how they do it?


If it is, it might want a older version of WinSock, even though these are
sort backwards compatible. You could try to downgrade Winsock, if such a
downgrade is possible. I fail to see how this would help the missing export.

> but I have Finnish version of Win2000


The SetHandleContext is language independent as noone need to see exports
from a library. Only the format of the message is relative. You can safely
look over the net for "SetHandleContext missing"

Doing a search myself I found that:

"games and some network
applications written for Win98 will also return it if they came bundled with
an older version of Winsock.DLL.

The solution is usually to find an upgraded version of the program that is
written to run on Win2K as well as Win98, or to replace the offending .DLL,
making the function call with one that works with Win2K APIs"

It means you should replace the dll that calls the function, not the
winsock DLL. If the application came with its OWN winsock library and copied
it in its directory, it's using functions no longer available. If there
isn't an upgrade form the manufacturer. try to remove the application DLLs,
forcing it to use the system's WinSock API, whick is maintaining
compatibility.

To delete one of these just make sure the program or any of its parts
isn't running and delete them. If they still linger, try to use MS's
InUse.exe to delete them or get a tool like MoveEx.

--
Andrei "Ndi" Dobrin
Brainbench MVP
www.Brainbench.com


 
Reply With Quote
 
Ndi
Guest
Posts: n/a
 
      2nd Nov 2003
> I tried to install a program but there was error telling
> something like: sethandlecontext was not found on kernel32.


I can't find any references to SetHandleContext in the SDK. However, a
dump on a Windows 98 kernel32 did yeld a SetHandleContext, export ord 0721.
It does not appear to be documented.

On NT, this function has gone and only 'SetHandleCount' and
'SetHandleInformation' survived.

> I found sites that suggest
> of deleting files like winsock.dll & wsock32.dll and few
> others, but when i try to delete them I get an error
> message that says can't delete, because windows is using
> this file.


I'm not sure you want to delete those, even if you could. Deleting the
file isn't much but WFP will probably replace them. Hopefully, otherwise you
might render your network dead. Winsock DLLs interface applications to the
network layer and deleting those is bound to be painful.

You could be looking at getting a Windows 98 Kernel32.dll and copying it
into the directory in which the application is running. It will probably go
bananas, but you could try.

> Is there anything I can do to delete, or replace
> these .dll files? I also found out that this whole
> kernel32.dll problem is because the program is designed for
> win98 or something, but some people seem to have solved the
> problem, but how they do it?


If it is, it might want a older version of WinSock, even though these are
sort backwards compatible. You could try to downgrade Winsock, if such a
downgrade is possible. I fail to see how this would help the missing export.

> but I have Finnish version of Win2000


The SetHandleContext is language independent as noone need to see exports
from a library. Only the format of the message is relative. You can safely
look over the net for "SetHandleContext missing"

Doing a search myself I found that:

"games and some network
applications written for Win98 will also return it if they came bundled with
an older version of Winsock.DLL.

The solution is usually to find an upgraded version of the program that is
written to run on Win2K as well as Win98, or to replace the offending .DLL,
making the function call with one that works with Win2K APIs"

It means you should replace the dll that calls the function, not the
winsock DLL. If the application came with its OWN winsock library and copied
it in its directory, it's using functions no longer available. If there
isn't an upgrade form the manufacturer. try to remove the application DLLs,
forcing it to use the system's WinSock API, whick is maintaining
compatibility.

To delete one of these just make sure the program or any of its parts
isn't running and delete them. If they still linger, try to use MS's
InUse.exe to delete them or get a tool like MoveEx.

--
Andrei "Ndi" Dobrin
Brainbench MVP
www.Brainbench.com


 
Reply With Quote
 
somebody@compusmart.ab.ca
Guest
Posts: n/a
 
      2nd Nov 2003
"helpless" <(E-Mail Removed)> wrote:

>I have windows 2000 and i'm having problems with dll files.
>I tried to install a program but there was error telling
>something like: sethandlecontext was not found on kernel32.
>dll. How can i fix this problem? I found sites that suggest
>of deleting files like winsock.dll & wsock32.dll and few
>others, but when i try to delete them I get an error
>message that says can't delete, because windows is using
>this file. Is there anything I can do to delete, or replace
>these .dll files? I also found out that this whole
>kernel32.dll problem is because the program is designed for
>win98 or something, but some people seem to have solved the
>problem, but how they do it? I hope someone can help me out
>with this issue, because it's very important.. thanks. (I'm
>terribly sorry that the errormessages are so unaccurate,
>but I have Finnish version of Win2000)


There is a Microsoft tool called "inuse.exe" for replacing files that
are in use. Follow this link for more details:
http://www.google.com/search?sourcei...&q=inuse%2Eexe

I have no suggestions for the other issue.

Roger

 
Reply With Quote
 
somebody@compusmart.ab.ca
Guest
Posts: n/a
 
      2nd Nov 2003
"helpless" <(E-Mail Removed)> wrote:

>I have windows 2000 and i'm having problems with dll files.
>I tried to install a program but there was error telling
>something like: sethandlecontext was not found on kernel32.
>dll. How can i fix this problem? I found sites that suggest
>of deleting files like winsock.dll & wsock32.dll and few
>others, but when i try to delete them I get an error
>message that says can't delete, because windows is using
>this file. Is there anything I can do to delete, or replace
>these .dll files? I also found out that this whole
>kernel32.dll problem is because the program is designed for
>win98 or something, but some people seem to have solved the
>problem, but how they do it? I hope someone can help me out
>with this issue, because it's very important.. thanks. (I'm
>terribly sorry that the errormessages are so unaccurate,
>but I have Finnish version of Win2000)


There is a Microsoft tool called "inuse.exe" for replacing files that
are in use. Follow this link for more details:
http://www.google.com/search?sourcei...&q=inuse%2Eexe

I have no suggestions for the other issue.

Roger

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
win2000 has spyware, can I logon with console repair and delete files to Bradley1234 Microsoft Windows 2000 Security 9 22nd Jan 2005 06:12 AM
Replace a Win2000 server Jorge Microsoft Windows 2000 6 18th Oct 2004 03:19 PM
How can I replace usp10.dll on Win2000? Leroy Vargas Microsoft Windows 2000 Windows Updates 0 19th Dec 2003 05:53 PM
How to delete or replace .dll files win2000 is using helpless Microsoft Windows 2000 Registry 2 2nd Nov 2003 11:37 PM
How to delete or replace .dll files win2000 is using helpless Microsoft Windows 2000 Registry Archive 0 2nd Nov 2003 10:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:08 PM.