Click here to Skip to main content
14,689,625 members
Home » Discussions » Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Semester Project Pin
Member 1214667917-Nov-15 6:17
MemberMember 1214667917-Nov-15 6:17 
GeneralRe: Semester Project Pin
Richard MacCutchan17-Nov-15 6:19
mveRichard MacCutchan17-Nov-15 6:19 
AnswerRe: Semester Project Pin
Ãddiçted Šhŕwñ26-Dec-15 5:02
MemberÃddiçted Šhŕwñ26-Dec-15 5:02 
QuestionC++ Debug Error Pin
Member 120351389-Nov-15 21:06
MemberMember 120351389-Nov-15 21:06 
SuggestionRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 22:48
mveRichard MacCutchan9-Nov-15 22:48 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 22:54
MemberMember 120351389-Nov-15 22:54 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 23:04
mveRichard MacCutchan9-Nov-15 23:04 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 23:13
MemberMember 120351389-Nov-15 23:13 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 23:25
mveRichard MacCutchan9-Nov-15 23:25 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 23:34
MemberMember 120351389-Nov-15 23:34 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 23:37
mveRichard MacCutchan9-Nov-15 23:37 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 23:40
MemberMember 120351389-Nov-15 23:40 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 23:53
mveRichard MacCutchan9-Nov-15 23:53 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 23:58
MemberMember 120351389-Nov-15 23:58 
GeneralRe: C++ Debug Error Pin
Member 1203513810-Nov-15 0:03
MemberMember 1203513810-Nov-15 0:03 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan10-Nov-15 0:06
mveRichard MacCutchan10-Nov-15 0:06 
GeneralRe: C++ Debug Error Pin
Member 1203513810-Nov-15 0:08
MemberMember 1203513810-Nov-15 0:08 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan10-Nov-15 0:39
mveRichard MacCutchan10-Nov-15 0:39 
AnswerRe: C++ Debug Error Pin
Jochen Arndt10-Nov-15 0:35
professionalJochen Arndt10-Nov-15 0:35 
GeneralRe: C++ Debug Error Pin
Member 1203513810-Nov-15 12:40
MemberMember 1203513810-Nov-15 12:40 
NewsBug with unique_ptr and /clr code in Visual Studio 2015 Pin
John Schroedl7-Nov-15 17:22
professionalJohn Schroedl7-Nov-15 17:22 
FYI - I have found and reported a bug with std::unique_ptr when used in code built with /clr in VS 2015.

Consider this code:

void accept_ownership( std::unique_ptr<MyClass> ptr ) { ... }

void test() {
   std::unique_ptr<MyClass> mc = std::make_unique<MyClass>( args );

   accept_ownership( std::move(mc) );
}


When accept_ownership is called in C++/CLI code, mc will be destructed and accept_ownership receives a unique_ptr pointing to freed memory. There will be a double-free at exit as well.

I've reported the bug with send-a-frown and it is NOT fixed in the Update 1 RC. Let's hope it's fixed in Update 1 RTM.

The code works as expected when not built with /clr.

John
QuestionRendering problems with DirectWrite Pin
paul116713-Oct-15 23:25
Memberpaul116713-Oct-15 23:25 
AnswerRe: Rendering problems with DirectWrite Pin
Richard MacCutchan13-Oct-15 23:48
mveRichard MacCutchan13-Oct-15 23:48 
GeneralRe: Rendering problems with DirectWrite Pin
paul116714-Oct-15 4:26
Memberpaul116714-Oct-15 4:26 
GeneralRe: Rendering problems with DirectWrite Pin
Richard MacCutchan14-Oct-15 5:57
mveRichard MacCutchan14-Oct-15 5:57 

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.