Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!stanford.edu!leland.Stanford.EDU!sunset From: sunset@leland.Stanford.EDU (Igor Grebert) Newsgroups: comp.windows.ms.programmer Subject: DLL, Dialog Box, and main exe Message-ID: <1991May24.194643.21573@leland.Stanford.EDU> Date: 24 May 91 19:46:43 GMT Distribution: usa Organization: AIR, Stanford University Lines: 27 Reposting: I am not sure it really went out... I am having problem accessing Dialog Boxes gathered in a special DLL with all resources, from my main program. A resource only DLL is described in Petzold... I have no problem with menus... It works fine as described In WM_CREATE: if ((hLibrary = LoadLibrary ("RESOURCE.DLL")) < 32 ) { MessageBeep (0); } else { hMenu = LoadMenu(hLibrary, "MyMenu"); } SetMenu(hWnd, hMenu); But how do I access the Dialog Box? In a IDM message: lpProcAbout = MakeProcInstance(About, hInst); DialogBox(hLibrary, "About", hWnd, lpProcAbout); FreeProcInstance(lpProcAbout); What am I missing? Should this work? If not how can I do? No LoadDialog function... what ways around it? Any help will be appreciated.