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

Managed C++/CLI

 
GeneralRe: simplifying code Pin
Ghazi Warrior22-Mar-22 19:46
Ghazi Warrior22-Mar-22 19:46 
GeneralRe: simplifying code Pin
hshan_19-Apr-22 3:35
hshan_19-Apr-22 3:35 
AnswerRe: simplifying code Pin
Craig Robbins15-Mar-22 9:25
Craig Robbins15-Mar-22 9:25 
QuestionConvert From C# To Visual C++ 2015 Pin
Paramu197313-Dec-21 20:21
Paramu197313-Dec-21 20:21 
Rant[REPOST] Convert From C# To Visual C++ 2015 Pin
Richard Deeming13-Dec-21 21:56
mveRichard Deeming13-Dec-21 21:56 
GeneralRe: [REPOST] Convert From C# To Visual C++ 2015 Pin
Paramu197316-Dec-21 21:14
Paramu197316-Dec-21 21:14 
AnswerRe: Convert From C# To Visual C++ 2015 Pin
Richard MacCutchan13-Dec-21 21:58
mveRichard MacCutchan13-Dec-21 21:58 
GeneralRe: Convert From C# To Visual C++ 2015 Pin
Paramu197316-Dec-21 21:35
Paramu197316-Dec-21 21:35 
AnswerRe: Convert From C# To Visual C++ 2015 Pin
Dave Kreskowiak14-Dec-21 5:05
mveDave Kreskowiak14-Dec-21 5:05 
QuestionopenFileDialog - AccessViolationException was unhandled Pin
Paramu19734-Oct-21 12:28
Paramu19734-Oct-21 12:28 
AnswerRe: openFileDialog - AccessViolationException was unhandled Pin
Victor Nijegorodov5-Oct-21 21:26
Victor Nijegorodov5-Oct-21 21:26 
GeneralRe: openFileDialog - AccessViolationException was unhandled Pin
Paramu19736-Oct-21 3:17
Paramu19736-Oct-21 3:17 
QuestionConvert/cast System::Array class to List Pin
yehiga146710-Jun-21 17:51
yehiga146710-Jun-21 17:51 
AnswerRe: Convert/cast System::Array class to List Pin
Victor Nijegorodov10-Jun-21 20:27
Victor Nijegorodov10-Jun-21 20:27 
AnswerRe: Convert/cast System::Array class to List Pin
Richard Andrew x6427-Jun-21 6:52
professionalRichard Andrew x6427-Jun-21 6:52 
QuestionC# and c++/cli problem on x86 OS Pin
Duc Axenn30-May-21 10:25
Duc Axenn30-May-21 10:25 
AnswerRe: C# and c++/cli problem on x86 OS Pin
Dave Kreskowiak10-Jun-21 18:51
mveDave Kreskowiak10-Jun-21 18:51 
QuestionManaged c++ how to memcpy a handle reference Pin
yehiga146727-May-21 23:25
yehiga146727-May-21 23:25 
AnswerRe: Managed c++ how to memcpy a handle reference Pin
Victor Nijegorodov28-May-21 0:25
Victor Nijegorodov28-May-21 0:25 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
yehiga146728-May-21 0:55
yehiga146728-May-21 0:55 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
Victor Nijegorodov28-May-21 1:45
Victor Nijegorodov28-May-21 1:45 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
Richard MacCutchan28-May-21 2:01
mveRichard MacCutchan28-May-21 2:01 
GeneralRe: Managed c++ how to memcpy a handle reference Pin
yehiga146728-May-21 2:26
yehiga146728-May-21 2:26 
AnswerRe: Managed c++ how to memcpy a handle reference Pin
Fly Gheorghe25-Jan-22 9:15
Fly Gheorghe25-Jan-22 9:15 
//Assuming int is on 4 bytes
typedef union u
{
int i;
byte b[4];
} U;

U x;
x.b[0] = 0 // Put first byte here
x.b[1] = 0 // second byte here, etc.

// Then use x.i as an integer

// Keep in mind that on Intel CPUs, integer values are represented in memory in reverse order.
// This means that hex value 0x11223344 will be represented in memory as 0x44, 0x33, 0x22, 0x11
// This is called little-endian vs. big-endian representation.
// There can be CPUs that uses the other convention.

// Make a small test project and play around with some values etc.
QuestionHow to make Serial Port static from the designer? Pin
yehiga146726-May-21 17:11
yehiga146726-May-21 17:11 

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.