PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Don Dickinson on June 02, 2004, 06:39:31 PM

Title: Turning an exe project into a dll project
Post by: Don Dickinson on June 02, 2004, 06:39:31 PM
silly thing.
when you turn an exe project into a dll project, there is a message box that says "Press Ok to remove all forms from this project" (or something like that). the message box only has an "Ok" button .. shouldn't there be a cancel button too (otherwise why bother with the message).

best regards,
don
Title: Turning an exe project into a dll project
Post by: TechSupport on June 02, 2004, 08:23:41 PM
:oops:

That's right from the Paul Squires' collection of bonehead programming.

All fixed now. Added the necessary Cancel button. Will be in the 1.05 update.
Title: Turning an exe project into a dll project
Post by: George Bleck on June 03, 2004, 01:24:01 AM
I think the message should be eliminated completely Paul.

Why can't you have windows in a DLL?  If I have some common forms in a project I would store them in a DLL not as distinct EXE's.
Title: Turning an exe project into a dll project
Post by: TechSupport on June 03, 2004, 08:19:23 AM
I believe the current method of code generation would cause problems if Forms were in the DLL. I haven't tried it yet, but I always thought that the main message pump had to be in the EXE rather than the DLL. I'd have to research this further but removing the restriction altogether is the ultimate goal.
Title: Turning an exe project into a dll project
Post by: David Martin on June 03, 2004, 09:10:28 AM
Quote from: George BleckWhy can't you have windows in a DLL?  If I have some common forms in a project I would store them in a DLL not as distinct EXE's.
This is how I have been planning to structure things ... one main exe and all modules in seperate DLLs.

David
Title: Turning an exe project into a dll project
Post by: Roberto on June 14, 2004, 03:22:35 PM
Quote from: David Martin
Quote from: George BleckWhy can't you have windows in a DLL?  If I have some common forms in a project I would store them in a DLL not as distinct EXE's.
This is how I have been planning to structure things ... one main exe and all modules in seperate DLLs.

David

Same structure used here.
Forms in dll's to keep larger projects manageable.

Robert Jan
Title: Turning an exe project into a dll project
Post by: TechSupport on June 14, 2004, 04:01:26 PM
No problem. I will make the DLL changes to allow for Forms in DLL's.