renaming DLLs

Discussion in 'Questions (Windows Mobile)' started by Cableguy, May 23, 2007.

  1. Cableguy

    Cableguy Expert Licensed User

    OK this may sound stupid...

    Imagine I rename a Library, before adding it to my app, and then add it to my app, will it run as usual?

    The thing is, there are lots of software that tracks repeted files, and if we use the same lib in more than one app, wich HAVE to be in the same dir as the app itself, the user might be tempted to delete the file, and the app no longer runs...
  2. WZSun

    WZSun Member Licensed User

    I have tried renaming DLL to something like:

    MyProject_d1.dll <- actually hardware.dll
    MyProject_d2.dll <- whatever dll

    It works. With the dll associated to your project, you need not worry about other applications overwriting your DLL, and this is especially true when your DLL is of latest version while the DLL that will be overwritten is of an earlier version.

    The only observation I've made is you cannot rename the dll extension to something else, other than .dll. For example:

    MyProject.001 <- hardware.dll
    MyProject.002 <- other dll

    It'd be great if dll filename/extension can be changed to anything..

  3. Erel

    Erel Administrator Staff Member Licensed User

    As you noticed you can rename the dll file, but not the extension.
  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