>>I am having a compile error here m_ProgressBarDlg.Create(IDD_PROGRESSBAR_DLG,this);

Looks like you are just trying to create a progressbar control.

In the resource editor create a dialog with your progressbar on it. Derive a class from the dialog (CDialog).