Using VTK LinePlot3D in an MFC child window

Hello,
I have an extensive MFC (commercial) application and we need to replace the 3D graph. We were hoping to incorporate the LinePlot3D application, but, after many hours of trying to get a mini-application to work, I am hoping someone can assist me here. I have tried both a small MFC application and a code project example. In the MFC app, I used m_pvtkWnd = new MyVTKWindow(IDD_DIALOG_BLANK, GetDlgItem(IDD_VTKCHART)) to create the window, but that fails at CWnd::Create() within the vtkWindow constructor. We are using VTK 9.4 in MSVS 2022.
I have also attempted to use this example:

and that example works, but I cannot get the LinePlot3D application to display in that one either.
Can anyone guide me towards a solution or tell me where I might be making a mistake?