c++ - Unable to reload ActiveX control in Windows CE 6 -


i developing activex control targeted @ windows ce 6 (on motorola workabout pro 4, if specifying helps). have stage 1 working, in sense can compile in visual studio, , have deploy using simple cab file.

however, finding hit , miss whether can update control on device. if perform clean rebuild (ensuring intermediary files removed beforehand) , redeploy cab file, find changes aren't reflected in deployed code: output unchanged, both in ie on device, , when connecting , debugging via visual studio 2008. secondly, breakpoints have added in debugger no longer hit.

if manually replace dll file, still has no effect. stranger, control still continues work if remove dll!

i'm bit of beginner when comes wince , activex development, hints missing here appreciated!

in instance, problem was failing correctly register dll com.

the simplest solution me change cab file the dll self-registered. in case, done changing parameter in cab file properties dll in visual studio. results in <parm name="selfregister" /> being added cab _setup.xml file:

... <characteristic type="%ce2%" translation="install">   <characteristic type="makedir" />    <characteristic type="output.dll" translation="install">     <characteristic type="extract">       <parm name="source" value="ouput~1.002" />        <parm name="selfregister" />     </characteristic>   </characteristic> </characteristic> ... 

Comments