Click here to Skip to main content
15,914,406 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: combo box from a resource id ??? Pin
Tinky Winky18-Sep-02 23:28
Tinky Winky18-Sep-02 23:28 
GeneralRe: combo box from a resource id ??? Pin
Daniel Strigl19-Sep-02 0:23
Daniel Strigl19-Sep-02 0:23 
GeneralRe: combo box from a resource id ??? Pin
jhwurmbach18-Sep-02 23:33
jhwurmbach18-Sep-02 23:33 
GeneralRun Dll Pin
Zizilamoroso18-Sep-02 22:55
Zizilamoroso18-Sep-02 22:55 
GeneralRe: Run Dll Pin
Jawache18-Sep-02 23:27
Jawache18-Sep-02 23:27 
GeneralRe: Run Dll Pin
Zizilamoroso18-Sep-02 23:43
Zizilamoroso18-Sep-02 23:43 
GeneralRe: Run Dll Pin
Jawache19-Sep-02 0:03
Jawache19-Sep-02 0:03 
GeneralRe: Run Dll Pin
Stephane Rodriguez.18-Sep-02 23:45
Stephane Rodriguez.18-Sep-02 23:45 
syntax : rundll32 DllName,FunctionName [Arguments]

Where FunctionName is an entry-point (any function) with the following prototype :
void CALLBACK EntryPoint(
  HWND hwnd,        // handle to owner window
  HINSTANCE hinst,  // instance handle for the DLL
  LPTSTR lpCmdLine, // string the DLL will parse
  int nCmdShow      // show state
);


Interesting stuff is that WinMain() has this prototype too, but this was easily predicted.

MSDN doc[^]


rundll.exe is the former 16-bit counter part (now legacy).

If the DLL is an in-proc COM component, you may instead use the DllHost.exe surrogate process, though it works differently.




MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
GeneralRe: Run Dll Pin
Zizilamoroso19-Sep-02 0:14
Zizilamoroso19-Sep-02 0:14 
GeneralRe: Run Dll Pin
Stephane Rodriguez.19-Sep-02 0:35
Stephane Rodriguez.19-Sep-02 0:35 
GeneralRe: Run Dll Pin
Zizilamoroso19-Sep-02 1:36
Zizilamoroso19-Sep-02 1:36 
QuestionWhy my code can't print the bitmap? Pin
wood18-Sep-02 22:03
wood18-Sep-02 22:03 
AnswerRe: Why my code can't print the bitmap? Pin
dabs19-Sep-02 1:46
dabs19-Sep-02 1:46 
GeneralCString Question Pin
Mazdak18-Sep-02 22:00
Mazdak18-Sep-02 22:00 
GeneralRe: CString Question Pin
Jon Hulatt18-Sep-02 22:17
Jon Hulatt18-Sep-02 22:17 
GeneralVC++ Timer Pin
Manjula_Madan18-Sep-02 20:47
sussManjula_Madan18-Sep-02 20:47 
GeneralRe: VC++ Timer Pin
NormDroid18-Sep-02 20:55
professionalNormDroid18-Sep-02 20:55 
QuestionDoc with tabbed view ? Pin
ranger18-Sep-02 20:43
ranger18-Sep-02 20:43 
AnswerRe: Doc with tabbed view ? Pin
jhwurmbach18-Sep-02 21:27
jhwurmbach18-Sep-02 21:27 
GeneralODBC Probelm Pin
SamirSood18-Sep-02 19:39
SamirSood18-Sep-02 19:39 
GeneralRe: ODBC Probelm Pin
jmkhael18-Sep-02 21:55
jmkhael18-Sep-02 21:55 
GeneralMemory Management in Microsoft Tree Control Pin
chepuri_uk18-Sep-02 19:32
chepuri_uk18-Sep-02 19:32 
Questionhow to? Pin
imran_rafique18-Sep-02 16:29
imran_rafique18-Sep-02 16:29 
AnswerRe: how to? Pin
Chris Losinger18-Sep-02 17:04
professionalChris Losinger18-Sep-02 17:04 
AnswerRe: how to? Pin
Nish Nishant18-Sep-02 18:46
sitebuilderNish Nishant18-Sep-02 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.