IPC
-
2012년 4월 27일 금요일 오전 9:34
Hello,
I'm so sorry this is another IPC-question, but I don't want to hack into other threads. The reason why I'm asking it again, is because the answers I read are contradictionary.
So, to launch the question, Is there a way so that a Metro-style C++ app and a MFC app can communicate to eachother? In such way that the MFC app 'posts messages' to the Metro-style C++ app. So that the Metro-app can 'react on those events', data need to be transfered from MFC to Metro.
Both need to be C++ without the use of .NET. The app would not exist on the market
I have red articles saying nothing is possible to make 2 processes communicate on the same machine, others state something like RPC and other say WCF is possible, but that would be out of order since that is .NET (right?).
So, isn't there really no way to let those two communicate when they exist on the same pc? Preferrable without .NET, all in C++.
The reason I want to do this, is because I need to access data in a softPLC, but the 3rd party DLL that does the communication doesn't work under Metro, so I would solve it this way. I was hoping I could make a XAML C++ app, but that is only possible with Metro, if you can't use Metro for some way you are referred to MFC or some other old style app making. It's like choosing between a bycicle with flat tires but that can do everything and a 2012 Lamborghini where you can only drive in New York, nowhere else. Disappointing if you ask me.
But, that's not why I came here, IPC Metro C++ to MFC, possible or a big nono?
Thanks
- 편집됨 Denny007 2012년 4월 27일 금요일 오전 9:38
모든 응답
-
2012년 4월 27일 금요일 오후 10:11중재자
This style of application would not pass app store certification, or would be delisted should the dependence on desktop software be discovered.
http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx
3.1 Your app must use only APIs for Metro style apps
The APIs for Metro style apps are described in the Metro style apps API reference. Your app must also not link to, depend on, or otherwise make use of APIs or Windows OS services outside those described in the Metro style apps API reference.
You may want to dispute this interpretation of the policy but it is a direct communication from a Windows PM that this applies to rejecting store apps which depend on a desktop application.
Please use the feedback tool if you wish to communicate the scenario you are trying to support and request a change in this policy to the windows group.
-
2012년 4월 28일 토요일 오전 10:54
This style of application would not pass app store certification, or would be delisted should the dependence on desktop software be discovered.
http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx
The app would not exist on the market.
So as I said, maybe not clear, but I don't want to bring it on the app store.
-
2012년 5월 1일 화요일 오전 1:50중재자
IPC is not allowed in Metro style apps, the apis are not supported. No pipes, no shared memory, you can't connect to ports on the same machine between Metro style processes and any other.- 편집됨 Steve HorneMicrosoft Employee, Moderator 2012년 5월 1일 화요일 오전 1:51
- 답변으로 표시됨 DavidLambMicrosoft Employee, Moderator 2012년 5월 2일 수요일 오후 3:14

