Select Convert from CLGEN's menu to convert MFC application into using JPICT DLL. What it does includes changing some classes' names in project's main frame header, adding code into main frame and child frame, and copying the DLL into the project.
Convert SDI Application
Some information needs to be entered in order to run the conversion:

MainFrame Path File - project's main frame file, normally "MainFrm".
MainFrame Class Name - main frame's class name, normally "CMainFrame".
APP Path File - project's dsp file, it is needed to add JPICT DLL into the project.
Convert MDI Application
To simplify the data input, CLGEN assumes there is only one child frame for the application. If there is more than one child frame, just copy the modified child frame's code into the unmodified child frames after the conversion process is completed.

MainFrame Path File - project's main frame file, normally "MainFrm".
MainFrame Class Name - main frame's class name, normally "CMainFrame".
ChildFrame Path File - child frame file, normally "ChildFrm".
ChildFrame Class Name - child frame's class name, normally "CChildFrame".
APP Path File - project's dsp file, it is needed to add JPICT DLL into the project.