Basic4ppc - Windows Mobile Development  

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

Basic4ppc Wishlist Missing any feature?


Combining DLLs


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

I don't know if this is already possible but it would be great to combine two or more DLLs into a single one...
__________________
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:48 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

It is possible, but the combined dll will take longer as it will load all the libraries even if you require just a few them.
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 05:09 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,322
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I was thinking on the simple DLL like scrolbar and clickable label, and a few others...How can we combine them? using the binary DLL?
__________________
Paulo Gomes
Porto, Portugal

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

DLL Version Listing
Reply With Quote
  #4 (permalink)  
Old 05-24-2007, 05:16 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

It is not possible without the source code.
I meant that I can create a combined dll.
However, using the SetupBuilder you can create a single file package.
Reply With Quote
  #5 (permalink)  
Old 05-25-2007, 03:20 AM
Junior Member
 
Join Date: May 2007
Posts: 12
Default DLLs and WM5

If you build a big project or a project with many dlls it would be a good idea to combine them. Each dll under Windows Mobile 5 uses 64K reguardless of size. If you use two 10K dlls, they take up 128K of space. WM5 is notorious for running out of memory and this is the main reason that you run out of VM. When you have other process all doing the same thing you run out of VM very quickly. I work in the PPC world and many developers create a solution by combining multiple executiables. This is, in many cases is better then creating one application with alot of dlls. When you spawn a new application to do some additional work, it starts in it is own process space. The trick then is having them communicate and there are several tricks that can be use such as shared registry keys or INI files. The problem with VM in Pocket PC will not be totally solved until PPC version 7, which is still rather undefined.

Ron
Reply With Quote
  #6 (permalink)  
Old 05-25-2007, 05:56 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

All the dlls run in the same process.
It is not like running several applications.
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
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 Sources J12345T Questions & Help Needed 5 09-19-2007 09:04 PM
renaming DLLs Cableguy Questions & Help Needed 2 05-24-2007 05:35 AM


All times are GMT. The time now is 10:32 AM.


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