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


Popular C++ topics at The Database Managers:


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