Title: Re: [MSVC] Dll and Dialog Question

Load it.
HINSTANCE hInst = LoadLibraryEx(new_file_name, 0, LOAD_LIBRARY_AS_DATAFILE);

Set it before calling for any resources in it.
AfxSetResourceHandle(hInst);

Use it.

Set it back.
AfxSetResourceHandle(hInstSaved);



At 10/26/2003 12:31 AM, Hylton Tregenza wrote:

 >How do you do that?
 >
 >Hylton
 >----- Original Message -----
 >From: "Phil Daley" <[EMAIL PROTECTED]>
 >To: <[EMAIL PROTECTED]>
 >Sent: Friday, October 24, 2003 1:27 PM
 >Subject: Re: [MSVC] Dll and Dialog Question
 >
 >
 >> At 10/22/2003 10:50 AM, Hylton Tregenza wrote:
 >>
 >>  >I am trying to call a dialog that is in a DLL. I get it right to have
 >the
 >>  >dialog display but the controls (ie tab and defaukt enter) do not
 >function.
 >>  >What gives?
 >>
 >> Did you add the dll to the resource chain?

Phil Daley          < AutoDesk >
http://personal.monad.net/~p_daley


Reply via email to