Click here to Skip to main content
15,906,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionC# dll from MFC application... Pin
nzhuda23-May-07 20:47
nzhuda23-May-07 20:47 
AnswerRe: C# dll from MFC application... Pin
nzhuda24-May-07 15:22
nzhuda24-May-07 15:22 
GeneralRe: C# dll from MFC application... Pin
keancaptinh12-Apr-09 20:49
keancaptinh12-Apr-09 20:49 
QuestionMultilanguage Resource compilation options Pin
XtremDev23-May-07 20:47
XtremDev23-May-07 20:47 
AnswerRe: Multilanguage Resource compilation options Pin
Nelek23-May-07 20:56
protectorNelek23-May-07 20:56 
GeneralRe: Multilanguage Resource compilation options Pin
XtremDev23-May-07 21:21
XtremDev23-May-07 21:21 
GeneralRe: Multilanguage Resource compilation options Pin
Nelek23-May-07 21:26
protectorNelek23-May-07 21:26 
AnswerRe: Multilanguage Resource compilation options [modified] Pin
Naveen23-May-07 22:39
Naveen23-May-07 22:39 
I am not sure but try this. in the rc file of your project, you can find section like

"LANGUAGE 12, 1\r\n"<br />
"#pragma code_page(1252)\r\n"<br />
"#endif //_WIN32\r\n"<br />
"#include ""res\\aaaa.rc2""  // non-Microsoft Visual C++ edited resources\r\n"<br />
"#include ""l.fra\\afxres.rc""          // Standard components\r\n"


put some predefinitions in your project before compiling and switch the language aacording to it. like..

#ifdef LAN_ENGLISH <br />
    "LANGUAGE 9, 1\r\n"<br />
    "#pragma code_page(1252)\r\n"<br />
    "#endif //_WIN32\r\n"<br />
    "#include ""res\\aaaa.rc2""  // non-Microsoft Visual C++ edited resources\r\n"<br />
    "#include ""\\afxres.rc""          // Standard components\r\n"<br />
#elseif<br />
    "LANGUAGE 12, 1\r\n"<br />
    "#pragma code_page(1252)\r\n"<br />
    "#endif //_WIN32\r\n"<br />
    "#include ""res\\aaaa.rc2""  // non-Microsoft Visual C++ edited resources\r\n"<br />
    "#include ""l.fra\\afxres.rc""          // Standard components\r\n"<br />
#endif

now if you want english before compiling put #define LAN_ENGLISH in the stdafx.h.

I would like to know whether it worked or not..Smile | :)

nave

GeneralRe: Multilanguage Resource compilation options Pin
tom groezer24-May-07 1:37
tom groezer24-May-07 1:37 
QuestionRun at .Net 2.0 (errors) Pin
Tal S.23-May-07 20:36
Tal S.23-May-07 20:36 
AnswerRe: Run at .Net 2.0 (errors) Pin
Hamid_RT24-May-07 0:50
Hamid_RT24-May-07 0:50 
GeneralRe: Run at .Net 2.0 (errors) Pin
Tal S.24-May-07 1:33
Tal S.24-May-07 1:33 
QuestionRe: Run at .Net 2.0 (errors) Pin
Hamid_RT24-May-07 10:53
Hamid_RT24-May-07 10:53 
AnswerRe: Run at .Net 2.0 (errors) Pin
Tal S.24-May-07 11:04
Tal S.24-May-07 11:04 
QuestionRe: Run at .Net 2.0 (errors) Pin
Hamid_RT24-May-07 11:14
Hamid_RT24-May-07 11:14 
AnswerRe: Run at .Net 2.0 (errors) Pin
Tal S.24-May-07 11:22
Tal S.24-May-07 11:22 
QuestionRe: Run at .Net 2.0 (errors) Pin
Hamid_RT24-May-07 11:28
Hamid_RT24-May-07 11:28 
AnswerRe: Run at .Net 2.0 (errors) Pin
Tal S.24-May-07 11:34
Tal S.24-May-07 11:34 
GeneralRe: Run at .Net 2.0 (errors) Pin
Hamid_RT24-May-07 11:50
Hamid_RT24-May-07 11:50 
QuestionRe: Run at .Net 2.0 (errors) Pin
Hamid_RT24-May-07 21:27
Hamid_RT24-May-07 21:27 
AnswerRe: Run at .Net 2.0 (errors) Pin
Tal S.26-May-07 9:10
Tal S.26-May-07 9:10 
AnswerRe: Run at .Net 2.0 (errors) Pin
Mark Salsbery24-May-07 7:28
Mark Salsbery24-May-07 7:28 
GeneralRe: Run at .Net 2.0 (errors) Pin
Tal S.24-May-07 8:54
Tal S.24-May-07 8:54 
GeneralRe: Run at .Net 2.0 (errors) Pin
Mark Salsbery24-May-07 8:57
Mark Salsbery24-May-07 8:57 
GeneralRe: Run at .Net 2.0 (errors) Pin
Tal S.24-May-07 9:02
Tal S.24-May-07 9:02 

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.