Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionchar data type problem Pin
pjdriverdude27-Sep-10 7:20
pjdriverdude27-Sep-10 7:20 
AnswerRe: char data type problem Pin
Luc Pattyn27-Sep-10 7:53
sitebuilderLuc Pattyn27-Sep-10 7:53 
QuestionRe: char data type problem Pin
David Crow27-Sep-10 8:30
David Crow27-Sep-10 8:30 
AnswerRe: char data type problem Pin
pjdriverdude27-Sep-10 8:55
pjdriverdude27-Sep-10 8:55 
QuestionRe: char data type problem Pin
David Crow27-Sep-10 9:00
David Crow27-Sep-10 9:00 
AnswerRe: char data type problem Pin
pjdriverdude27-Sep-10 9:04
pjdriverdude27-Sep-10 9:04 
QuestionRe: char data type problem Pin
David Crow27-Sep-10 9:05
David Crow27-Sep-10 9:05 
AnswerRe: char data type problem Pin
pjdriverdude27-Sep-10 9:33
pjdriverdude27-Sep-10 9:33 
hehe that's it, the later function that I speak of is a part of naunce's dragon naturally speaking API, so I didn't include it here, since it might just confuse anyone trying to help.

Basically,

strncpy( voice_template_g, "c:\\Dragon\\Speaker\\TERR2285", sizeof( voice_template_g ) ) ;


works, while

strncpy( voice_template_g, temporary_file_path, sizeof(voice_template_g) ) ; 


doesn't. I don't see the difference in putting the actual user name in, as opposed to building it with my method listed in the code.

the dragon function looks like

m_dragon_engine->put_Speaker(speaker) ;


where speaker is the template variable I create.
GeneralRe: char data type problem Pin
David Crow27-Sep-10 9:35
David Crow27-Sep-10 9:35 
AnswerRe: char data type problem Pin
Aescleal27-Sep-10 8:33
Aescleal27-Sep-10 8:33 
GeneralRe: char data type problem Pin
pjdriverdude27-Sep-10 8:57
pjdriverdude27-Sep-10 8:57 
GeneralRe: char data type problem Pin
Luc Pattyn27-Sep-10 10:19
sitebuilderLuc Pattyn27-Sep-10 10:19 
AnswerRe: char data type problem Pin
Stefan_Lang29-Sep-10 6:51
Stefan_Lang29-Sep-10 6:51 
GeneralRe: char data type problem Pin
pjdriverdude1-Oct-10 5:31
pjdriverdude1-Oct-10 5:31 
GeneralRe: char data type problem Pin
Stefan_Lang3-Oct-10 22:50
Stefan_Lang3-Oct-10 22:50 
Questionis mfc coding diff [Moved] Pin
prithaa27-Sep-10 3:35
prithaa27-Sep-10 3:35 
AnswerRe: is mfc coding diff Pin
bob1697227-Sep-10 4:16
bob1697227-Sep-10 4:16 
GeneralRe: is mfc coding diff Pin
prithaa27-Sep-10 6:27
prithaa27-Sep-10 6:27 
QuestionCustomizing the Help button in CPrintDialog Pin
rayneesh27-Sep-10 3:04
rayneesh27-Sep-10 3:04 
AnswerRe: Customizing the Help button in CPrintDialog Pin
Cool_Dev27-Sep-10 3:57
Cool_Dev27-Sep-10 3:57 
QuestionHow to add LibTiff in Win32 project? Pin
002comp27-Sep-10 2:34
002comp27-Sep-10 2:34 
AnswerRe: How to add LibTiff in Win32 project? Pin
CPallini27-Sep-10 3:23
mveCPallini27-Sep-10 3:23 
QuestionVertical Scrollbar in list control Pin
learningvisualc27-Sep-10 1:30
learningvisualc27-Sep-10 1:30 
AnswerRe: Vertical Scrollbar in list control Pin
Niklas L27-Sep-10 2:01
Niklas L27-Sep-10 2:01 
AnswerRe: Vertical Scrollbar in list control Pin
Cool_Dev27-Sep-10 2:42
Cool_Dev27-Sep-10 2:42 

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.