I have a Visual C++ 2013 project that was created using COM wizard. When creating this component Apartment model was chosen. Is there any way to change this model to different apartment without recreating the project from scratch?
Asked
Active
Viewed 158 times
0
-
3Create two projects from scratch, with different models. Diff the files. Manually transfer the difference over to your real project. – Igor Tandetnik Apr 20 '15 at 13:30
-
I found that there is *.rgs file in solution directory that contains ThreadingModel variable that can be changed to wanted value. – JonasJnz Apr 21 '15 at 06:24
-
You should start with stating whether this Is a DLL or EXE project? Also worth mentioning things you have inside - COM objects, ActiveX controls etc. – Roman R. Apr 21 '15 at 08:09