Click here to Skip to main content
15,897,226 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Getting the Brush to apply to pictureBox instead of Form Pin
Jeffrey Webster27-Apr-09 4:26
Jeffrey Webster27-Apr-09 4:26 
GeneralRe: Getting the Brush to apply to pictureBox instead of Form Pin
Luc Pattyn27-Apr-09 4:34
sitebuilderLuc Pattyn27-Apr-09 4:34 
GeneralRe: Getting the Brush to apply to pictureBox instead of Form Pin
Jeffrey Webster27-Apr-09 6:20
Jeffrey Webster27-Apr-09 6:20 
GeneralRe: Getting the Brush to apply to pictureBox instead of Form Pin
Luc Pattyn27-Apr-09 6:23
sitebuilderLuc Pattyn27-Apr-09 6:23 
GeneralRe: Getting the Brush to apply to pictureBox instead of Form Pin
Jeffrey Webster27-Apr-09 6:34
Jeffrey Webster27-Apr-09 6:34 
GeneralRe: Getting the Brush to apply to pictureBox instead of Form Pin
Luc Pattyn27-Apr-09 6:52
sitebuilderLuc Pattyn27-Apr-09 6:52 
GeneralRe: Getting the Brush to apply to pictureBox instead of Form Pin
Jeffrey Webster27-Apr-09 8:01
Jeffrey Webster27-Apr-09 8:01 
QuestionHow to Convert Strings[] to LPWSTR*??? Pin
ANURAG VISHNOI22-Apr-09 21:14
ANURAG VISHNOI22-Apr-09 21:14 
Hello All,
I am trying to convert a list of Strings in LPWSTR* array. I am using the following way to convert it. But here the problem occurs in the returning array items. It contains all the elements same in the array. I found the problme is due to memset() which updates the memory address everytime same as earlier. Please help me out----

for(DWORD i = 0; i < itemIds->Count; i++)
{
ATL::CComBSTR itemWChar;
itemWChar = ::GetAtlBstr(itemIds[i]);
WCHAR _itemWChar[_MAX_PATH];
memset(_itemWChar, 0, sizeof(_itemWChar) / sizeof(_itemWChar[0]));
memcpy(_itemWChar, static_cast(itemWChar), itemWChar.ByteLength());
items[i] = _itemWChar;
}

ANURAG VISHNOI,
Sr. Software Engineer,

AnswerRe: How to Convert Strings[] to LPWSTR*??? Pin
Mark Salsbery23-Apr-09 6:33
Mark Salsbery23-Apr-09 6:33 
QuestionChecking OS and Vista admin rights Pin
turkmeistr122-Apr-09 3:32
turkmeistr122-Apr-09 3:32 
AnswerRe: Checking OS and Vista admin rights Pin
Mark Salsbery22-Apr-09 8:07
Mark Salsbery22-Apr-09 8:07 
GeneralRe: Checking OS and Vista admin rights Pin
turkmeistr122-Apr-09 8:38
turkmeistr122-Apr-09 8:38 
GeneralRe: Checking OS and Vista admin rights Pin
Mark Salsbery22-Apr-09 12:15
Mark Salsbery22-Apr-09 12:15 
GeneralRe: Checking OS and Vista admin rights Pin
turkmeistr122-Apr-09 12:40
turkmeistr122-Apr-09 12:40 
GeneralRe: Checking OS and Vista admin rights Pin
Mark Salsbery22-Apr-09 13:26
Mark Salsbery22-Apr-09 13:26 
GeneralRe: Checking OS and Vista admin rights Pin
turkmeistr123-Apr-09 7:34
turkmeistr123-Apr-09 7:34 
GeneralRe: Checking OS and Vista admin rights Pin
Mark Salsbery23-Apr-09 8:04
Mark Salsbery23-Apr-09 8:04 
GeneralRe: Checking OS and Vista admin rights Pin
turkmeistr123-Apr-09 11:57
turkmeistr123-Apr-09 11:57 
GeneralRe: Checking OS and Vista admin rights Pin
Mark Salsbery23-Apr-09 12:29
Mark Salsbery23-Apr-09 12:29 
GeneralRe: Checking OS and Vista admin rights Pin
Mark Salsbery23-Apr-09 12:34
Mark Salsbery23-Apr-09 12:34 
GeneralRe: Checking OS and Vista admin rights Pin
turkmeistr123-Apr-09 13:03
turkmeistr123-Apr-09 13:03 
GeneralRe: Checking OS and Vista admin rights Pin
turkmeistr123-Apr-09 15:49
turkmeistr123-Apr-09 15:49 
QuestionMarshaling string array to unmanaged code Pin
Oldboy221-Apr-09 22:15
Oldboy221-Apr-09 22:15 
AnswerRe: Marshaling string array to unmanaged code Pin
Mark Salsbery22-Apr-09 6:14
Mark Salsbery22-Apr-09 6:14 
GeneralRe: Marshaling string array to unmanaged code Pin
led mike22-Apr-09 6:27
led mike22-Apr-09 6:27 

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.