Click here to Skip to main content
16,005,037 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Directshow Pin
#realJSOP30-May-07 6:08
professional#realJSOP30-May-07 6:08 
GeneralRe: Directshow [modified] Pin
Mark Salsbery30-May-07 6:16
Mark Salsbery30-May-07 6:16 
GeneralRe: Directshow Pin
kcynic30-May-07 6:52
kcynic30-May-07 6:52 
Questionhow to use c# dll in vc++ .net ? Pin
jalsa G30-May-07 2:31
jalsa G30-May-07 2:31 
QuestionRe: how to use c# dll in vc++ .net ? Pin
Hamid_RT30-May-07 2:42
Hamid_RT30-May-07 2:42 
AnswerRe: how to use c# dll in vc++ .net ? Pin
jalsa G30-May-07 3:02
jalsa G30-May-07 3:02 
GeneralRe: how to use c# dll in vc++ .net ? Pin
Hamid_RT30-May-07 8:52
Hamid_RT30-May-07 8:52 
QuestionProblem with AfxFormatStrings Pin
uday kiran janaswamy30-May-07 2:31
uday kiran janaswamy30-May-07 2:31 
Hi all,

i am facing problem with AfxFormatString, as the the Parameters it will take from only "%1 to %9" as Arguments for subtitution from Resource String.

Please help me to Append beyond that, I Mean after 9 th Parameter.

code:
-----

Resource String :

String ID
---------
IDS_GTD_WIZ_SET_STANDARD_CONTROLLER

Caption
-------
"It is necessary to set one or more equipment other than %1, %2,\n%3, %4, %5, %6, %7, %8,\n%9 and %10 to Communication ettings."


Here i am trying to Subtitue this %1,%2,%3,%4,%5,%6,%7.... upto %9 but after subtituion of %10 i am not reflecting that.


CString lC_Str_DriverArray[10];
UINT lui_Index = 0;

lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_CONTROLLER_BARCODE);
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZARD_REFID);
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_CONTROLLER_GATEWAY);
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_CONTROLLER_ETHERNETDOWNLOAD);
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_CONTROLLER_PRINTER);
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_CONTROLLER_VIDEORGB);
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_CONTROLLER_RGBOUTPUT);

//Extended Step Addition
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_EXTENDED_MEMORYCARD);
lC_Str_DriverArray[lui_Index++].LoadString(IDS_GTD_WIZ_SOUND_OP_UNIT);
lC_Str_DriverArray[lui_Index].LoadString(IDS_GTD_WIZ_EXTERNAL_IO_UNIT);
//Load error message
AfxFormatStrings(lC_Str_Msg,IDS_GTD_WIZ_SET_STANDARD_CONTROLLER,(LPCTSTR*)lC_Str_DriverArray,10);


Here after 9th String i am getting Problem. in %10 it is subtituting as %1 what to do.

please help me out.







Uday kiran

AnswerRe: Problem with AfxFormatStrings Pin
jhwurmbach30-May-07 3:05
jhwurmbach30-May-07 3:05 
GeneralRe: Problem with AfxFormatStrings Pin
uday kiran janaswamy30-May-07 3:13
uday kiran janaswamy30-May-07 3:13 
GeneralRe: Problem with AfxFormatStrings Pin
jhwurmbach30-May-07 3:26
jhwurmbach30-May-07 3:26 
QuestionAgain ,again CListCtrl ! Pin
Bravoone_200630-May-07 2:14
Bravoone_200630-May-07 2:14 
AnswerRe: Again ,again CListCtrl ! Pin
#realJSOP30-May-07 2:45
professional#realJSOP30-May-07 2:45 
GeneralRe: Again ,again CListCtrl ! Pin
Bravoone_200630-May-07 2:47
Bravoone_200630-May-07 2:47 
GeneralRe: Again ,again CListCtrl ! Pin
#realJSOP30-May-07 3:21
professional#realJSOP30-May-07 3:21 
QuestionACL Pin
vivekphlp30-May-07 2:07
vivekphlp30-May-07 2:07 
AnswerRe: ACL Pin
David Crow30-May-07 6:12
David Crow30-May-07 6:12 
AnswerRe: ACL Pin
Hamid_RT30-May-07 8:52
Hamid_RT30-May-07 8:52 
QuestionSetup Maker Pin
garfield18530-May-07 1:47
garfield18530-May-07 1:47 
AnswerRe: Setup Maker Pin
Hamid_RT30-May-07 2:28
Hamid_RT30-May-07 2:28 
QuestionSimple pointer question... Pin
Haroon Sarwar30-May-07 1:32
Haroon Sarwar30-May-07 1:32 
AnswerRe: Simple pointer question... [modified] Pin
Nibu babu thomas30-May-07 1:49
Nibu babu thomas30-May-07 1:49 
AnswerRe: Simple pointer question... Pin
CPallini30-May-07 2:11
mveCPallini30-May-07 2:11 
AnswerRe: Simple pointer question... Pin
Matthew Faithfull30-May-07 2:20
Matthew Faithfull30-May-07 2:20 
AnswerRe: Simple pointer question... Pin
David Crow31-May-07 3:32
David Crow31-May-07 3:32 

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.