Click here to Skip to main content
15,891,813 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Internal class Pin
Bram van Kampen30-May-07 14:43
Bram van Kampen30-May-07 14:43 
QuestionLONG_PTR (Hungarian notation) Pin
bob1697230-May-07 9:40
bob1697230-May-07 9:40 
AnswerRe: LONG_PTR (Hungarian notation) Pin
Matthew Faithfull30-May-07 10:17
Matthew Faithfull30-May-07 10:17 
GeneralRe: LONG_PTR (Hungarian notation) Pin
bob1697230-May-07 12:02
bob1697230-May-07 12:02 
AnswerRe: LONG_PTR (Hungarian notation) Pin
Hans Dietrich30-May-07 10:43
mentorHans Dietrich30-May-07 10:43 
GeneralRe: LONG_PTR (Hungarian notation) Pin
bob1697230-May-07 11:53
bob1697230-May-07 11:53 
GeneralRe: LONG_PTR (Hungarian notation) Pin
Matthew Faithfull30-May-07 12:50
Matthew Faithfull30-May-07 12:50 
QuestionIStorage problem Pin
josip cagalj30-May-07 7:19
josip cagalj30-May-07 7:19 
Why my code:
<br />
pStorage->CreateStream( lpszW,  STGM_DIRECT|STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE|STGM_FAILIFTHERE, 0, 0, &pStream) <br />

returns error STG_E_INVALIDNAME (Invalid value for pwcsName) [pwcsName => lpszW]?

I use this befor calling CreateStream:
<br />
LPWSTR lpszW = new WCHAR[255];<br />
LPTSTR lpStr = strFilePath.GetBuffer( strFilePath.GetLength() );<br />
int nLen = MultiByteToWideChar(CP_ACP, 0,lpStr, -1, NULL, NULL);<br />
MultiByteToWideChar(CP_ACP, 0, lpStr, -1, lpszW, nLen);<br />

where strFilePath is e.g. "Slika000.jpg"??

I use this for storage a file.
THX to all
QuestionRe: IStorage problem Pin
Mark Salsbery30-May-07 7:45
Mark Salsbery30-May-07 7:45 
AnswerRe: IStorage problem Pin
josip cagalj30-May-07 21:39
josip cagalj30-May-07 21:39 
GeneralRe: IStorage problem Pin
Mark Salsbery31-May-07 5:21
Mark Salsbery31-May-07 5:21 
GeneralRe: IStorage problem Pin
josip cagalj31-May-07 23:17
josip cagalj31-May-07 23:17 
GeneralRe: IStorage problem Pin
Mark Salsbery1-Jun-07 4:58
Mark Salsbery1-Jun-07 4:58 
Question[Message Deleted] Pin
joshp121730-May-07 5:01
joshp121730-May-07 5:01 
AnswerRe: I need Help with this Function Pin
toxcct30-May-07 5:06
toxcct30-May-07 5:06 
GeneralRe: I need Help with this Function Pin
joshp121730-May-07 5:10
joshp121730-May-07 5:10 
GeneralRe: I need Help with this Function Pin
Hamid_RT30-May-07 8:50
Hamid_RT30-May-07 8:50 
GeneralRe: I need Help with this Function Pin
joshp121730-May-07 8:51
joshp121730-May-07 8:51 
GeneralRe: I need Help with this Function Pin
Jeffrey Walton30-May-07 11:31
Jeffrey Walton30-May-07 11:31 
AnswerRe: I need Help with this Function Pin
#realJSOP30-May-07 6:09
mve#realJSOP30-May-07 6:09 
QuestionCEdit :ModifyStyle Pin
baerten30-May-07 4:45
baerten30-May-07 4:45 
AnswerRe: CEdit :ModifyStyle Pin
Mark Salsbery30-May-07 5:33
Mark Salsbery30-May-07 5:33 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 0:59
baerten31-May-07 0:59 
GeneralRe: CEdit :ModifyStyle Pin
Rajkumar R31-May-07 1:46
Rajkumar R31-May-07 1:46 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 2:28
baerten31-May-07 2:28 

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.