Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

Merging Basic4ppc libraries

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2007, 11:12 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default Merging Basic4ppc libraries

Hi gang,

'dllmerger' is a UI for the purpose of merging two or more official or user supplied Basic4ppc libraries referencing both the desktop and the device. The source is contained in 'dllmerger.sbp', the interface is believed to be intuitive.

To complete the package you need to download the file 'ilmerge.exe' from Microsoft' web site at:
http://research.microsoft.com/~mbarnett/ILMerge.aspx
and copy 'ilmerge.exe' into the 'ilmerge' folder.

Please be wary of the following points:

1. Copy the unzipped folder 'ilmerge' to your HD, typically c:\
2. Copy any Basic4ppc libraries to be merged into this folder (do not use subdirectories).
3. Make sure not to pick non-Basic4ppc libraries for merging.
4. Make sure not to mess desktop and device libraries.
5. The file name of an existing merged file will be deleted before merging a new library. This is important because in case of error no file will be created, i.e., the old library will not be overwritten and you might believe that a new merged library was created.
6. Upon successful creation of a merged library, a *.pdb file will be created as well. You may faithfully delete it.
7. 'dllmerger.exe' is a desktop-only application.
8. A few Basic4ppc libraries are included for immediate testing.
9. 'henshu_d.dll' and 'henshu_p.dll' are tested merged libraries, including binaryfile.dll, bitwise.dll, formlib.dll, hardware.dll, registry.dll for the desktop and device, respectively.

Best luck!

Heartful thanks to the following forum members (in alphabetical order) who flattened the way to this application:

DeeCee, dzt, Erel and Louis

Version history:
http://www.basic4ppc.com/forum/code-samples-tips/1220-combine-dlls-into-one.html
Attached Files
File Type: zip ilmerge.zip (240.8 KB, 200 views)

Last edited by alfcen : 11-28-2007 at 01:13 PM.
Reply With Quote
  #2 (permalink)  
Old 11-28-2007, 12:48 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I'm really sorry alfcen but you should not distribute ILMerge (its license doesn't permit it).
Instead you can put a download link to Microsoft site.
Reply With Quote
  #3 (permalink)  
Old 11-28-2007, 01:01 PM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I am truly sorry, Erel, I wasn't aware of this.
I downloaded ilmerge.exe from:
http://research.microsoft.com/~mbarnett/ILMerge.aspx

On that page, Microsoft Research states:
Quote:
ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. It is freely available for use from the Tools & Utilities page at the Microsoft .NET Framework Developer Center. Its license does allow commercial usage!
Anyway, do you wish me to remove the upload?
Reply With Quote
  #4 (permalink)  
Old 11-28-2007, 01:03 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can read this restriction in the EULA file.
You should only remove ILMerge.exe from the zip file.
Reply With Quote
  #5 (permalink)  
Old 11-28-2007, 01:14 PM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Done, thanks so much for your kind concern, Erel.
Reply With Quote
  #6 (permalink)  
Old 11-28-2007, 05:14 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by Erel View Post
I'm really sorry alfcen but you should not distribute ILMerge (its license doesn't permit it).
Instead you can put a download link to Microsoft site.
I'm sure the Microsoft laywers wouldn't make a big fuss over such a trivial mistake

Unlike Endemol
I'm sure there watching me ......
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #7 (permalink)  
Old 11-29-2007, 09:52 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Taxi
Probably so, but I want to keep this forum absolutely clean and therefore appreciate Erel's message very much. Well, as the saying goes, avoiding lawyers
Cheers
Reply With Quote
  #8 (permalink)  
Old 12-19-2007, 07:45 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Please be aware that merged libraries will not work in version 6.0 optimized compiler.
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 09:22 AM
Updated libraries since Basic4ppc V6.80 Erel Official Updates 0 06-17-2008 05:15 AM
Merging agraham libraries with the exe agraham Additional Libraries 10 05-28-2008 04:40 PM
Merging forms skipper Questions (Windows Mobile) 2 01-10-2008 12:18 PM
How to add libraries with Basic4ppc 3.01 ? conf Questions (Windows Mobile) 2 05-17-2007 03:03 AM


All times are GMT. The time now is 12:51 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0