Click here to Skip to main content
15,884,099 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can use a string to set the registry value? Pin
Cedric Moonen25-Sep-08 21:34
Cedric Moonen25-Sep-08 21:34 
GeneralRe: How can use a string to set the registry value? Pin
Le@rner25-Sep-08 21:56
Le@rner25-Sep-08 21:56 
GeneralRe: How can use a string to set the registry value? Pin
Michael Schubert25-Sep-08 22:23
Michael Schubert25-Sep-08 22:23 
GeneralRe: How can use a string to set the registry value? Pin
Rajesh R Subramanian25-Sep-08 22:55
professionalRajesh R Subramanian25-Sep-08 22:55 
GeneralRe: How can use a string to set the registry value? Pin
CPallini26-Sep-08 0:00
mveCPallini26-Sep-08 0:00 
QuestionOperating System Problem Pin
Dhiraj kumar Saini25-Sep-08 21:15
Dhiraj kumar Saini25-Sep-08 21:15 
AnswerRe: Operating System Problem Pin
Cedric Moonen25-Sep-08 21:20
Cedric Moonen25-Sep-08 21:20 
AnswerRe: Operating System Problem Pin
Rajesh R Subramanian25-Sep-08 21:25
professionalRajesh R Subramanian25-Sep-08 21:25 
Dhiraj kumar Saini wrote:
I have my application in MFC which is working fine on Windows Operating system. Now i want to run the same application on Macintosh.



Your application will NOT work at all, on Macintosh. MFC is built around the Win32 API, which means it is not portable to another operating system than Windows.

If you want your application to work on multiple operating systems, then you must write it in plain C++, which should not contain a lot of operating system specific code.

For UI, you can use one of those open source frameworks, such as VCF[^], qt[^], wxWidgets[^], or something similar. Mind that you will have to compile it separately to build the specific binaries for each platform that you would want to deploy the app on.

In your case, it is not "changes" that you will have to make to achieve cross-platform execution, you must re-write your entire app.

PS: Your post looks ugly on my screen. Don't press the "Enter" key unnecessarily. The text will automatically wrap according to the screen resolution.

Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche

.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]

GeneralRe: Operating System Problem Pin
Dhiraj kumar Saini26-Sep-08 2:26
Dhiraj kumar Saini26-Sep-08 2:26 
GeneralRe: Operating System Problem Pin
Mark Salsbery26-Sep-08 4:33
Mark Salsbery26-Sep-08 4:33 
GeneralRe: Operating System Problem Pin
Rajesh R Subramanian26-Sep-08 5:46
professionalRajesh R Subramanian26-Sep-08 5:46 
Questionhow to create a web server using CAsyncSocket in VC++(MFC) Pin
tns_ranjith25-Sep-08 21:06
tns_ranjith25-Sep-08 21:06 
AnswerRe: how to create a web server using CAsyncSocket in VC++(MFC) Pin
Mark Salsbery26-Sep-08 5:28
Mark Salsbery26-Sep-08 5:28 
AnswerRe: how to create a web server using CAsyncSocket in VC++(MFC) Pin
Moak27-Sep-08 4:17
Moak27-Sep-08 4:17 
GeneralRe: how to create a web server using CAsyncSocket in VC++(MFC) Pin
Mike O'Neill6-Oct-08 13:49
Mike O'Neill6-Oct-08 13:49 
GeneralRe: how to create a web server using CAsyncSocket in VC++(MFC) Pin
feiguohai28-May-12 18:48
feiguohai28-May-12 18:48 
Questiontwo dimensional pointer array casting (C question) Pin
Electronic7525-Sep-08 20:51
Electronic7525-Sep-08 20:51 
AnswerRe: two dimensional pointer array casting (C question) Pin
KarstenK25-Sep-08 21:20
mveKarstenK25-Sep-08 21:20 
AnswerRe: two dimensional pointer array casting (C question) Pin
SandipG 25-Sep-08 21:46
SandipG 25-Sep-08 21:46 
GeneralRe: two dimensional pointer array casting (C question) Pin
Electronic7525-Sep-08 22:34
Electronic7525-Sep-08 22:34 
QuestionStore String in Array Pin
LearnVC++MFC25-Sep-08 20:41
LearnVC++MFC25-Sep-08 20:41 
AnswerRe: Store String in Array Pin
Cedric Moonen25-Sep-08 20:45
Cedric Moonen25-Sep-08 20:45 
GeneralRe: Store String in Array Pin
LearnVC++MFC25-Sep-08 20:50
LearnVC++MFC25-Sep-08 20:50 
GeneralRe: Store String in Array Pin
santhoshv8425-Sep-08 20:58
santhoshv8425-Sep-08 20:58 
GeneralRe: Store String in Array Pin
LearnVC++MFC25-Sep-08 21:25
LearnVC++MFC25-Sep-08 21:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.