# # Please help me to load dialog resources from DLL's

Please help me to load dialog resources from DLL's
I realy can't get this to work!

Kind Regards
Frustrated!

------------------------------------------------
//Display Dialog from DLL program
{--$R Removed -- now in the DLL --}
  lH:= LoadLibraryEx('MYDLG.DLL');
  DialogBox(lH, 'RESNAME', 0, @DlgProc);
// This Dosn't Work !
------------------------------------------------
//Display Dialog from APP program
{$R MYDLG.RES}
  DialogBox(HInstance, 'RESNAME', 0, @DlgProc);
// This Work's Just Fine
------------------------------------------------
WHY ?