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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -