Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


renaming DLLs


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-23-2007, 11:01 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default renaming DLLs

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...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 04:01 AM
Junior Member
 
Join Date: May 2007
Posts: 37
Awards Showcase
Beta Tester 
Total Awards: 1
Default

HI,
I have tried renaming DLL to something like:

MyProject.exe
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.exe
MyProject.001 <- hardware.dll
MyProject.002 <- other dll

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

Rgds
WZSun
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 05:35 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

As you noticed you can rename the dll file, but not the extension.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Renaming sorted records in table aerohost Questions & Help Needed 3 06-25-2008 05:54 PM
Old style DLLs Jess Questions & Help Needed 3 06-18-2008 04:37 PM
Combine DLLs into one dzt Code Samples & Tips 38 05-20-2008 10:56 PM
DLLs in a shared directory John F. Eldredge Questions & Help Needed 1 05-16-2008 06:39 AM
Combining DLLs Cableguy Basic4ppc Wishlist 5 05-25-2007 05:56 AM


All times are GMT. The time now is 03:20 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0