Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ MFC Metro
Hi, A Quick question to send me in the right direction, I have a very large existing MFC C++ app that runs in the background (optionally as a windows NT service).
I don't want to re-write it for Metro as it's file & processing intensive and not suitable for it.
 
Whilst in Metro mode - can I write a new C++ Metro style GUI app that connects to this app already running in desktop mode for configuration & control purposes?
 
Is this possible? What do you think is the best way? thru the registry? or windows sockets? or another way?
 
Thanks,
Lee.
Posted 29-Dec-12 5:32am
hobnob1.1K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Communication between new Metro API model and old plain legacy of Desktop?
I think No rather then Yes.
Can your MFC project send push notification to metro? - I'm sure that No.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

As a general rule of the thumb, this is not what Microsoft want you to do. How will it works on Windows RT where there are no legacy desktop applications?
 
I would think that something along the line of web services might be an option. In that case, the server might even be remote.
 
Presently even Microsoft applications like Internet Explorer are far from ideal as the only option they gave is to open a page into the desktop...
 
I would think that for the short term there are a lot of limitations and the future is probably a lot dependant upon the success of Windows Store applications, how much people still uses the desktop and also upon what Microsoft do with its own products.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 528
1 OriginalGriff 459
2 ChintanShukla 305
3 Richard Deeming 275
4 RyanDev 230
0 Sergey Alexandrovich Kryukov 8,858
1 OriginalGriff 7,451
2 CPallini 2,603
3 Richard MacCutchan 2,095
4 Abhinav S 1,893


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 3 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100