we have a quite large project that is based on MFC. We use VisualStudio 2008. The operating system is Windows embedded compact 7 (successor of wince6). Our processor is iMX6 (ARM) with 4 cores.
Unfortunately it is not possible for a MFC based program to use multicore. MFC based software must be linked with wince6 option and will use only core 1.
Therefore we are considering to replace MFC by Win32++.
However in the release notes of Win32++ WEC7 is not mentioned.
Can we expect that Win32++ will work with WEC7 ?
Can we expect that multicore will be possible ?
Can anyone me encourage to do the work ?
Kind regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't tested WEC7 with Win32++ but I see no reason why it shouldn't work. Win32++ is a thin wrapper around the Windows API. Anything which can be done with native code should be possible with Win32++ too. Win32++ doesn't depend on ATL so it would be unaffected by any incompatibilities between ATL and WEC7. Should you find issues running WEC7 on Win32++, I'd be happy to work with you on that.
As to whether multicore would be possible, that would depend on why it doesn't work with MFC and VS2008. If this is a limitation of the compiler then it wouldn't work with Win32++ either. If on the other hand it was due to the MFC code, then I'd expect multicore to work with Win32++.
For your reference, I stumbled across this information on Google.
WEC7 release notes say: "ATL and MFC Smart Device applications might throw an exception or stop responding when they are executed on a Compact 7 device that supports Symmetric Multiprocessing (SMP)."
So, as I understand you, you would expect that Win32++ would work.
Kind regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
we have a quite large project that is based on MFC. We use VisualStudio 2008. The operating system is Windows embedded compact 7 (successor of wince6). Our processor is iMX6 (ARM) with 4 cores.
Unfortunately it is not possible for a MFC based program to use multicore. MFC based software must be linked with wince6 option and will use only core 1.
Therefore we are considering to replace MFC by Win32++.
However in the release notes of Win32++ WEC7 is not mentioned.
Can we expect that Win32++ will work with WEC7 ?
Can we expect that multicore will be possible ?
Can anyone me encourage to do the work ?
Kind regards
Hi,
I haven't tested WEC7 with Win32++ but I see no reason why it shouldn't work. Win32++ is a thin wrapper around the Windows API. Anything which can be done with native code should be possible with Win32++ too. Win32++ doesn't depend on ATL so it would be unaffected by any incompatibilities between ATL and WEC7. Should you find issues running WEC7 on Win32++, I'd be happy to work with you on that.
As to whether multicore would be possible, that would depend on why it doesn't work with MFC and VS2008. If this is a limitation of the compiler then it wouldn't work with Win32++ either. If on the other hand it was due to the MFC code, then I'd expect multicore to work with Win32++.
For your reference, I stumbled across this information on Google.
http://support.microsoft.com/kb/2468183
http://blogs.msdn.com/b/vcblog/archive/2012/11/14/native-development-experience-in-windows-embedded-compact-2013.aspx
Best regards,
David
Hi,
thank you for your quick answer.
WEC7 release notes say: "ATL and MFC Smart Device applications might throw an exception or stop responding when they are executed on a Compact 7 device that supports Symmetric Multiprocessing (SMP)."
So, as I understand you, you would expect that Win32++ would work.
Kind regards
I can confirm that Win32++ supports Windows Embedded Compact 7. I've just submitted an update to correct a problem running dialogs on WinCE7.
As for Symmetric Multiprocessing support, that should work if it works properly with native code.
Best regards,
David