Click here to Skip to main content
15,924,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to capture mouse events from a control within a Dialog Box? Pin
Arris7422-Jan-07 6:07
Arris7422-Jan-07 6:07 
AnswerRe: How to capture mouse events from a control within a Dialog Box? Pin
prasad_som24-Jan-07 17:32
prasad_som24-Jan-07 17:32 
GeneralRe: How to capture mouse events from a control within a Dialog Box? Pin
Arris7427-Jan-07 6:52
Arris7427-Jan-07 6:52 
AnswerRe: How to capture mouse events from a control within a Dialog Box? Pin
Waldermort22-Jan-07 2:28
Waldermort22-Jan-07 2:28 
AnswerRe: How to capture mouse events from a control within a Dialog Box? Pin
Arris7422-Jan-07 6:33
Arris7422-Jan-07 6:33 
QuestionPass a sting to a dll that neads a WCHAR Pin
Calvin Streeting22-Jan-07 2:02
Calvin Streeting22-Jan-07 2:02 
GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
toxcct22-Jan-07 2:15
toxcct22-Jan-07 2:15 
AnswerRe: Pass a sting to a dll that neads a WCHAR Pin
James R. Twine22-Jan-07 3:01
James R. Twine22-Jan-07 3:01 
   I was under the impression that VB strings were wide/Unicode by default, and would be in the form of a BSTR (BSTR == BASIC String, IIRC), which is already a wide string.

   You can pass a BSTR in place of a const wchar_t* or const WCHAR* just fine.  As far as how to get that BSTR directly to the function in the DLL, I cannot help you there - I do not do VB, nor am I 100% certain that the internal format of the BSTR is exactly the same as its external/COM format.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
Calvin Streeting22-Jan-07 3:30
Calvin Streeting22-Jan-07 3:30 
GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
James R. Twine22-Jan-07 4:27
James R. Twine22-Jan-07 4:27 
GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
Calvin Streeting22-Jan-07 4:53
Calvin Streeting22-Jan-07 4:53 
GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
James R. Twine22-Jan-07 5:08
James R. Twine22-Jan-07 5:08 
GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
Calvin Streeting22-Jan-07 5:21
Calvin Streeting22-Jan-07 5:21 
GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
James R. Twine22-Jan-07 8:09
James R. Twine22-Jan-07 8:09 
GeneralRe: Pass a sting to a dll that neads a WCHAR Pin
Calvin Streeting22-Jan-07 9:30
Calvin Streeting22-Jan-07 9:30 
GeneralRe: Pass a sting to a dll that neads a WCHAR [modified] Pin
Calvin Streeting22-Jan-07 11:03
Calvin Streeting22-Jan-07 11:03 
QuestionDragging A Rectangle Pin
Franz Klein22-Jan-07 1:48
Franz Klein22-Jan-07 1:48 
QuestionPlaying Ogg Files Pin
srikanth rao nadipelli22-Jan-07 1:22
srikanth rao nadipelli22-Jan-07 1:22 
QuestionCMultiDocTemplates [modified] Pin
baerten22-Jan-07 1:03
baerten22-Jan-07 1:03 
Questionebook i.e. soft copy of book on ATL COM required Pin
cancerion22-Jan-07 0:46
cancerion22-Jan-07 0:46 
AnswerRe: ebook i.e. soft copy of book on ATL COM required Pin
Don Box22-Jan-07 1:27
Don Box22-Jan-07 1:27 
GeneralRe: ebook i.e. soft copy of book on ATL COM required Pin
nutkase22-Jan-07 2:07
nutkase22-Jan-07 2:07 
QuestionSendMessage does not work Pin
Shailesh Ha22-Jan-07 0:40
Shailesh Ha22-Jan-07 0:40 
AnswerRe: SendMessage does not work Pin
Jonathan [Darka]22-Jan-07 1:44
professionalJonathan [Darka]22-Jan-07 1:44 
AnswerRe: SendMessage does not work Pin
toxcct22-Jan-07 1:55
toxcct22-Jan-07 1:55 

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.