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

C / C++ / MFC

 
GeneralRe: Play two audio file in different different Left Right speaker Pin
molesworth26-Nov-09 7:48
molesworth26-Nov-09 7:48 
GeneralRe: Play two audio file in different different Left Right speaker Pin
Shivanand Gupta26-Nov-09 8:01
Shivanand Gupta26-Nov-09 8:01 
AnswerRe: Play two audio file in different different Left Right speaker Pin
molesworth26-Nov-09 7:24
molesworth26-Nov-09 7:24 
QuestionLoading a RTF file as a resource Pin
maycockt26-Nov-09 0:50
maycockt26-Nov-09 0:50 
AnswerRe: Loading a RTF file as a resource Pin
sashoalm26-Nov-09 1:34
sashoalm26-Nov-09 1:34 
GeneralLink for dealing with resources Pin
KarstenK26-Nov-09 2:18
mveKarstenK26-Nov-09 2:18 
AnswerRe: Loading a RTF file as a resource Pin
Code-o-mat26-Nov-09 1:38
Code-o-mat26-Nov-09 1:38 
AnswerRe: Loading a RTF file as a resource Pin
maycockt27-Nov-09 1:17
maycockt27-Nov-09 1:17 
As a follow up to this I have successfully managed to load the file as a resource, which is brilliant so thanks for the help.

One problem I am experiencing though is that I want to extract different sections of the file dependant on conditions, and I'm finding that if the document is saved from Micorsoft Word 2003 the string doesnt seem to be able search the file content, but using Wordpad all is OK.

I have just typecast the LPVOID I receive from LockResource to a CString
<pre>
CString csMess = (LPCTSTR)lpResLock;
</pre>

As I say this is OK if the file is saved from WordPad.

Any Suggestions?

Tony
Questionone question, who can help me? Pin
nenfa25-Nov-09 23:51
nenfa25-Nov-09 23:51 
AnswerRe: one question, who can help me? Pin
Covean26-Nov-09 0:11
Covean26-Nov-09 0:11 
GeneralRe: one question, who can help me? Pin
nenfa26-Nov-09 0:23
nenfa26-Nov-09 0:23 
GeneralRe: one question, who can help me? Pin
Covean26-Nov-09 1:14
Covean26-Nov-09 1:14 
GeneralRe: one question, who can help me? Pin
nenfa26-Nov-09 1:35
nenfa26-Nov-09 1:35 
GeneralRe: one question, who can help me? Pin
Covean26-Nov-09 1:52
Covean26-Nov-09 1:52 
GeneralRe: one question, who can help me? Pin
nenfa26-Nov-09 2:14
nenfa26-Nov-09 2:14 
GeneralRe: one question, who can help me? Pin
Covean26-Nov-09 2:16
Covean26-Nov-09 2:16 
GeneralRe: one question, who can help me? Pin
nenfa26-Nov-09 3:26
nenfa26-Nov-09 3:26 
GeneralRe: one question, who can help me? Pin
Covean26-Nov-09 3:49
Covean26-Nov-09 3:49 
QuestionMFC CListctrl flickers when i delete all the items and reload it Pin
manoharbalu25-Nov-09 23:35
manoharbalu25-Nov-09 23:35 
AnswerRe: MFC CListctrl flickers when i delete all the items and reload it Pin
LunaticFringe26-Nov-09 0:09
LunaticFringe26-Nov-09 0:09 
GeneralRe: MFC CListctrl flickers when i delete all the items and reload it Pin
PradeepChandra14-Dec-09 0:10
PradeepChandra14-Dec-09 0:10 
QuestionCOM DLL ERROR error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
Ash_VCPP25-Nov-09 23:10
Ash_VCPP25-Nov-09 23:10 
AnswerRe: COM DLL ERROR error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
KingsGambit25-Nov-09 23:39
KingsGambit25-Nov-09 23:39 
GeneralRe: COM DLL ERROR error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
Ash_VCPP25-Nov-09 23:47
Ash_VCPP25-Nov-09 23:47 
GeneralRe: COM DLL ERROR error LNK2001: unresolved external symbol "public: virtual long __stdcall Pin
KingsGambit26-Nov-09 0:38
KingsGambit26-Nov-09 0:38 

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.