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

Managed C++/CLI

 
GeneralRe: Semester Project Pin
Richard MacCutchan17-Nov-15 5:19
mveRichard MacCutchan17-Nov-15 5:19 
AnswerRe: Semester Project Pin
Ãddiçted Šhŕwñ26-Dec-15 4:02
MemberÃddiçted Šhŕwñ26-Dec-15 4:02 
QuestionC++ Debug Error Pin
Member 120351389-Nov-15 20:06
MemberMember 120351389-Nov-15 20:06 
SuggestionRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 21:48
mveRichard MacCutchan9-Nov-15 21:48 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 21:54
MemberMember 120351389-Nov-15 21:54 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 22:04
mveRichard MacCutchan9-Nov-15 22:04 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 22:13
MemberMember 120351389-Nov-15 22:13 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 22:25
mveRichard MacCutchan9-Nov-15 22:25 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 22:34
MemberMember 120351389-Nov-15 22:34 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 22:37
mveRichard MacCutchan9-Nov-15 22:37 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 22:40
MemberMember 120351389-Nov-15 22:40 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 22:53
mveRichard MacCutchan9-Nov-15 22:53 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 22:58
MemberMember 120351389-Nov-15 22:58 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 23:03
MemberMember 120351389-Nov-15 23:03 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 23:06
mveRichard MacCutchan9-Nov-15 23:06 
GeneralRe: C++ Debug Error Pin
Member 120351389-Nov-15 23:08
MemberMember 120351389-Nov-15 23:08 
GeneralRe: C++ Debug Error Pin
Richard MacCutchan9-Nov-15 23:39
mveRichard MacCutchan9-Nov-15 23:39 
AnswerRe: C++ Debug Error Pin
Jochen Arndt9-Nov-15 23:35
professionalJochen Arndt9-Nov-15 23:35 
GeneralRe: C++ Debug Error Pin
Member 1203513810-Nov-15 11:40
MemberMember 1203513810-Nov-15 11:40 
NewsBug with unique_ptr and /clr code in Visual Studio 2015 Pin
John Schroedl7-Nov-15 16:22
professionalJohn Schroedl7-Nov-15 16: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 22:25
Memberpaul116713-Oct-15 22:25 
AnswerRe: Rendering problems with DirectWrite Pin
Richard MacCutchan13-Oct-15 22:48
mveRichard MacCutchan13-Oct-15 22:48 
GeneralRe: Rendering problems with DirectWrite Pin
paul116714-Oct-15 3:26
Memberpaul116714-Oct-15 3:26 
GeneralRe: Rendering problems with DirectWrite Pin
Richard MacCutchan14-Oct-15 4:57
mveRichard MacCutchan14-Oct-15 4:57 
GeneralRe: Rendering problems with DirectWrite Pin
paul116715-Oct-15 19:05
Memberpaul116715-Oct-15 19:05 

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.