1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

visual c++ cross platform problem

Discussion in 'Windows XP' started by Alear, Feb 6, 2003.

Thread Status:
Not open for further replies.
  1. Alear

    Alear Thread Starter

    Joined:
    Feb 6, 2003
    Messages:
    1
    I wrote a program in Visual studio that uses a GUI with a browse function to pick out a file for another process. The program was written on a windows 2000 machine, and everything works as intended. The problem I'm having is when it is run on a Windows NT 4 machine, the browse function only returns folders.

    I found the reason for this, at least I think I have; according to the help files online in the MSDN library, the browse structure uses Shell32.dll to operate. In order to browse for files, the computer must have at least version 4.71 of Shell32.dll, and NT 4 only has version 4.0. We tried updating the NT machine to the latest service pack, but it didn't update that file. After some more research, I found that when internet explorer 4.0 (possibly, might be a different version) is installed, it also updates this file, but that's the only way that they mention. My boss also tried to just copy the .dll from my windows 2000 machine and paste it over his own, but shell32.dll is apparently always in use, so he couldn't.

    The problem with that is I don't want to have the 6 people that need to use this program go through all the irritation of downgrading IE, then upgrading back to where they were. It seems non-sensical to me that they would make it so difficult to update this file. Does anyone know of a way around this, without forcing everyone to upgrade to windows 2000?
     
  2. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    As long as updating shell32 won't break anything, you need to check out KB Q181345 for the technique to slide a new file in. There is also a tool in the Resource Kit to replace files in use at the next boot, see KB Q184408
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/117343

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice