PDA

View Full Version : Resource DLL



Stephen W. Meeley
31-May-2006, 11:15 AM
David,

Suggestion noted.

If you do use a lot of common bitmaps and icons across many executables
and the size is truly an issue, you can still choose not to compile them
into the .exe files. You can elect to have them load from a common
bitmaps folder (the same way things were done before the ability to
compile them into the exe was introduced). That does still work.

Best regards,

-SWM-


-----Original Message-----
From: David Martinko [mailto:RedeemedSoftware@Hotmail.com]
Posted At: Friday, May 26, 2006 11:05 PM
Posted To: product-direction
Conversation: Resource DLL
Subject: Resource DLL

I wonder if it would be possible to add a feature that would allow us to

compile some code into a DLL.

Having the ability to compile all the bitmaps and icons into the EXE is
neat... but it becomes a nightmare in adding more size to EVERY exe we
make.
It would be nice if we could create a resource dll which could contain
the
bitmaps and icons we want to use in all our exe's.

Some people create 1 big huge EXE file to run their software... others
like
to have 200 exe's that are called from a main menu exe. The downside is
that
even a small application has a lot of overhead. While it may not improve

load time, it would reduce the installer size and make it faster to
transfer
files (when just a new exe is required).

--
David Martinko
248-535-7495
Tracker Systems, Inc.
Redeemed Software
Redeemed Hosting
www.trackersys.com
www.redeemedsoftware.com
www.redeemedhosting.com
Proud member of the Northeast DataFlex Consortium: (NEDC)
www.NEDataFlex.com

David Martinko
31-May-2006, 11:34 AM
Stephen,

Thanks for the comments. Yes, I do know that this does work... but what
doesn't work then is the /t/3d options. They must be embedded for those
options to work.

So I would like to see the ability to create resource dll's where we can
embedd those bitmaps into the dll keeping the transparent and 3d options...

--
David Martinko
248-535-7495
Tracker Systems, Inc.
Redeemed Software
Redeemed Hosting
www.trackersys.com
www.redeemedsoftware.com
www.redeemedhosting.com
Proud member of the Northeast DataFlex Consortium: (NEDC)
www.NEDataFlex.com

"Stephen Meeley" <stephen-m@dataaccess.com> wrote in message
news:ZXd$z1MhGHA.5128@dacmail.dataaccess.com...
David,

Suggestion noted.

If you do use a lot of common bitmaps and icons across many executables
and the size is truly an issue, you can still choose not to compile them
into the .exe files. You can elect to have them load from a common
bitmaps folder (the same way things were done before the ability to
compile them into the exe was introduced). That does still work.

Best regards,

-SWM-


-----Original Message-----
From: David Martinko [mailto:RedeemedSoftware@Hotmail.com]
Posted At: Friday, May 26, 2006 11:05 PM
Posted To: product-direction
Conversation: Resource DLL
Subject: Resource DLL

I wonder if it would be possible to add a feature that would allow us to

compile some code into a DLL.

Having the ability to compile all the bitmaps and icons into the EXE is
neat... but it becomes a nightmare in adding more size to EVERY exe we
make.
It would be nice if we could create a resource dll which could contain
the
bitmaps and icons we want to use in all our exe's.

Some people create 1 big huge EXE file to run their software... others
like
to have 200 exe's that are called from a main menu exe. The downside is
that
even a small application has a lot of overhead. While it may not improve

load time, it would reduce the installer size and make it faster to
transfer
files (when just a new exe is required).

--
David Martinko
248-535-7495
Tracker Systems, Inc.
Redeemed Software
Redeemed Hosting
www.trackersys.com
www.redeemedsoftware.com
www.redeemedhosting.com
Proud member of the Northeast DataFlex Consortium: (NEDC)
www.NEDataFlex.com

Mark Rutherford
7-Jul-2006, 03:28 PM
I was just re-reading the threads here and upon re-reading this one, and
something came to me...

This might be a question for the VDF group but, can VDF read bitmaps
from an external DLL that you create that just has bitmaps embedded as a
resource?

If that is the case then a possible answer to this is to simply create a
DLL in visual studio and compile it on up and use it that way.

If VDF is ever going to be capable of making a DLL then it should be
capable of making *REAL* DLLs that you can basically use to make a
program modular, like us C/C++ geeks do now.

Kinda opens the door for guys to release enhancements without releasing
sources, but that is another subject :)

Can it be done that way and have the '/t', etc options work


David Martinko wrote:
> Stephen,
>
> Thanks for the comments. Yes, I do know that this does work... but what
> doesn't work then is the /t/3d options. They must be embedded for those
> options to work.
>
> So I would like to see the ability to create resource dll's where we can
> embedd those bitmaps into the dll keeping the transparent and 3d options...
>


--
Thanks!

Mark Rutherford
Maunz Electronics, Inc.
803-791-5860