c - Use MFC library without MFC -
i'm using pure c windows sdk in projects, need deal dvr's camera, driver made in mfc 6.0.
i can switch c++ @ time (i'm using in modules), in camera sdk need cwnd's object.
//initialize function, initializes related sdk instance. void initialize(cwnd* pparent)
can create fake cwnd, without loading mfc stuff mfc project, using plain createwindowex() ?
thank you.
cwnd wrapper around window handle , methods sdk function using obtaining parent window handle. can try rip inheritance branch , dependencies of cwnd mock object data , methods without using actual mfc guess real hassle. have create simple mfc layer, dll, take hwnd handle code, wrap cwnd , call camera sdk. need same version vc++ 6.0 create layer make work old library have.
Comments
Post a Comment