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

Managed C++/CLI

 
AnswerRe: Can someone help me with sound control? Pin
Mark Salsbery29-Oct-06 17:46
Mark Salsbery29-Oct-06 17:46 
Questioncan u help me Pin
scorpioninstyle28-Oct-06 9:08
scorpioninstyle28-Oct-06 9:08 
AnswerRe: can u help me Pin
Christian Graus28-Oct-06 11:27
protectorChristian Graus28-Oct-06 11:27 
QuestionLinux Active Process List Pin
feritunal27-Oct-06 22:52
feritunal27-Oct-06 22:52 
AnswerRe: Linux Active Process List Pin
George L. Jackson28-Oct-06 6:20
George L. Jackson28-Oct-06 6:20 
QuestionBYTE to unsigned char Pin
samkook27-Oct-06 12:54
samkook27-Oct-06 12:54 
AnswerRe: BYTE to unsigned char Pin
Christian Graus27-Oct-06 15:54
protectorChristian Graus27-Oct-06 15:54 
GeneralRe: BYTE to unsigned char Pin
samkook27-Oct-06 19:12
samkook27-Oct-06 19:12 
I posted in this forum because i'm using a mix of managed and not managed c++, but it's true that my question wasn't about managed, sorry.

And I also tought that BYTE was the same thing as unsigned char, but since i can't put a byte into an unsigned char like this: unsignedCharVar = BYTEVar , I was having doubts. So my question is how can I put a byte var into an unsigned char one(and no I can't use the byte directly, I need to test something)

Here is exactly what I tried:


UINT iFileLength = fFile.GetLength();
LPBYTE pByteBuff = new BYTE[iFileLength];
unsigned char cByteBuff[1];
UINT iCompteur = 0;

cByteBuff = pByteBuff[iCompteur-1];
GeneralRe: BYTE to unsigned char Pin
Christian Graus28-Oct-06 2:19
protectorChristian Graus28-Oct-06 2:19 
GeneralRe: BYTE to unsigned char Pin
samkook28-Oct-06 9:08
samkook28-Oct-06 9:08 
GeneralRe: BYTE to unsigned char Pin
Christian Graus28-Oct-06 11:26
protectorChristian Graus28-Oct-06 11:26 
GeneralRe: BYTE to unsigned char Pin
Mark Salsbery29-Oct-06 17:23
Mark Salsbery29-Oct-06 17:23 
QuestionUser Painted TextBox Pin
Tojiro26-Oct-06 8:39
Tojiro26-Oct-06 8:39 
Questionwriting test results in XML file using CPPUnit Pin
jayart26-Oct-06 5:21
jayart26-Oct-06 5:21 
QuestionUnmanaged pointer in managed collection Pin
Jose M Castellanos26-Oct-06 1:15
Jose M Castellanos26-Oct-06 1:15 
AnswerRe: Unmanaged pointer in managed collection Pin
User 58385226-Oct-06 13:41
User 58385226-Oct-06 13:41 
AnswerRe: Unmanaged pointer in managed collection Pin
George L. Jackson28-Oct-06 6:45
George L. Jackson28-Oct-06 6:45 
Questionread all files form a CD Pin
Iv0125-Oct-06 14:01
Iv0125-Oct-06 14:01 
AnswerRe: read all files form a CD Pin
Jonathan [Darka]25-Oct-06 21:14
professionalJonathan [Darka]25-Oct-06 21:14 
QuestionTemplate question Pin
User 58385224-Oct-06 15:16
User 58385224-Oct-06 15:16 
AnswerRe: Template question Pin
Rob Graham24-Oct-06 17:07
Rob Graham24-Oct-06 17:07 
GeneralRe: Template question Pin
User 58385224-Oct-06 18:48
User 58385224-Oct-06 18:48 
QuestionUnderstanding Templates Pin
Nathan Farrar23-Oct-06 4:51
Nathan Farrar23-Oct-06 4:51 
AnswerRe: Understanding Templates Pin
led mike23-Oct-06 7:56
led mike23-Oct-06 7:56 
AnswerRe: Understanding Templates Pin
Michael Dunn23-Oct-06 13:28
sitebuilderMichael Dunn23-Oct-06 13: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.