I am developing MFC ActiveX control and using C# test aplication to test it.
I followed the standard procedure. Added the control in toolbox an put it on form. The control is working fine, but when I change something in MFC project and try to rebuild it I get an error:
"Could not delete file 'd:2D SOFTDotNetTestPIS2004WrapperActiveXdebugPIS2004WrapperActiveX.ocx'.
Make sure that the file is not open by another process and is not write-protected."
PIS2004WrapperActiveX.ocx is my ocx.
So, I remove references on control, shut down VS, start it again and it works.
Is there any way to avoid this when I change some in MFC project and try to rebuild it?
0 · ·