Flag added to stop a .dll from loading?


  1. Posts : 107
    Windows7 64
       #1

    Flag added to stop a .dll from loading?


    Hi - is it possible to add a flag (or whatever it might be called) to an .exe or the command-line to stop to stop a specific .dll from loading when an app is launched?

    I am not even sure I am asking the question in the right manner, but I am trying my best!
      My Computer


  2. Posts : 1,618
    Win7 Home Premium x64 W10Pro&Home
       #2

    be more specific...what .exe, what .dll, and if the program calls for the .dll, it prob won't run without it....
      My Computer


  3. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #3

    jasong1968 said:
    Hi - is it possible to add a flag (or whatever it might be called) to an .exe or the command-line to stop to stop a specific .dll from loading when an app is launched?

    I am not even sure I am asking the question in the right manner, but I am trying my best!
    What program are you trying to prevent from loading in a normal manner?

    What is your objective?
      My Computer


  4. Posts : 107
    Windows7 64
    Thread Starter
       #4

    The program is Cubase.

    The objective is to not have a specific .dll file load with the app.

    The app will run w/o the .dll.

    Thanks.
      My Computer


  5. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #5

    Add .bak to the dll file and see if that works. I.E. something.dll.bak.
    Curious, what does the dll do that you don't want?
      My Computer


  6. Posts : 107
    Windows7 64
    Thread Starter
       #6

    Thanks for the reply.

    It might be causing the program to hang - not sure, but I wanted to rule that out as a possibility.

    How do you add a .bak to a .dll?
      My Computer


  7. Posts : 1,800
    Windows 7 Pro x64 SP1
       #7

    jasong1968 said:
    Thanks for the reply.

    It might be causing the program to hang - not sure, but I wanted to rule that out as a possibility.

    How do you add a .bak to a .dll?
    The normal procedure to rename a file is to highlight the file and right click on the file name and select rename. Keep the full file name and just put your cursor on the last character and add .bak to the file name and select ok.

    This way if it all goes to hell in a handbasket, you can go to the .dll file and remove the .bak from the end of the file and save and you should be back where you started.

    Now, the file could be read only which you will have to change in properties.

    Also, if you don't have the folder properties set to show hidden and system files, you will have to go to control panel, folder options and select view files and remove the check marks from hide hidden and system files like this
    Flag added to stop a .dll from loading?-folderoptions.gif

    Rich
      My Computer


  8. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #8

    Yes, just type .bak after the .dll part in the file name after you click it twice slowly, the file name will be hightlighted. :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:16.
Find Us