G
Guest
Hi
I have a C++ windows program for control camera by computer(canon camera
wrapper). this including some of windows and dialog.
I wish summerize this code to requirement functions and build it into a dll
file.
some of my original code is:
class CRelCtrlDlg : public CDialog
{
// Construction
public:
CRelCtrlDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRelCtrlDlg)
enum { IDD = IDD_RELCTRL_DIALOG };
CStatic m_Static_ShootingMode;
.......
};
and
prResponse prSTDCALL CRelCtrlDlg::ViewFinderCallBackFun(prHandle
CameraHandle, prContext Context, prUInt32 Size, prVoid* pEventData)
{
CRelCtrlDlg *CpThis;
CpThis = (CRelCtrlDlg*)Context;
CpThis->m_CVFMutex.Lock();
CpThis->m_VF_DataSize = Size;
};
howe can i translate this code?
very thanks.
I have a C++ windows program for control camera by computer(canon camera
wrapper). this including some of windows and dialog.
I wish summerize this code to requirement functions and build it into a dll
file.
some of my original code is:
class CRelCtrlDlg : public CDialog
{
// Construction
public:
CRelCtrlDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRelCtrlDlg)
enum { IDD = IDD_RELCTRL_DIALOG };
CStatic m_Static_ShootingMode;
.......
};
and
prResponse prSTDCALL CRelCtrlDlg::ViewFinderCallBackFun(prHandle
CameraHandle, prContext Context, prUInt32 Size, prVoid* pEventData)
{
CRelCtrlDlg *CpThis;
CpThis = (CRelCtrlDlg*)Context;
CpThis->m_CVFMutex.Lock();
CpThis->m_VF_DataSize = Size;
};
howe can i translate this code?
very thanks.