The Database Managers, Inc.

Contact The Database Managers, Inc.


Use an RSS enabled news reader to read these articles.Use an RSS enabled news reader to read these articles.

Make a program using only dlls?

Date: Sun, 16 May 1999 14:34:17 -0400
(copied and edited from a message posted on borland.public.cpp.language)

You could put all your app-like code in a DLL and export one function called something like "RunMyApp".  Then, you'd have an empty EXE whose WinMain() did nothing but call RunMyApp().

In fact, the system already provides a .EXE that practically does exactly this.  It's called RunDll32.exe (there's a 16-bit version called RunDll.exe).  Many of the system's build-in "applets" are executed via RunDll.

You can look up information on how to use RunDll on http://www.microsoft.com


Other Popular C++ topics:


The Database Managers has been providing custom programming services in since 1985. The types of projects they have worked on ranges from automated inventory control systems to intelligent systems that detect fraud in insurance claims.

Email them at to inquire about support for your project.

C++ FAQ Services | Programming | Contact Us | Recent Updates
Send feedback to: