Click here to Skip to main content
13,402,824 members (49,554 online)

Visual Studio 2015 & .NET 4.6

 
GeneralRe: WInRT component and event grief Pin
Super Lloyd14-Dec-12 21:09
memberSuper Lloyd14-Dec-12 21:09 
GeneralRe: WInRT component and event grief Pin
Pete O'Hanlon14-Dec-12 23:50
protectorPete O'Hanlon14-Dec-12 23:50 
GeneralRe: WInRT component and event grief Pin
Super Lloyd15-Dec-12 2:57
memberSuper Lloyd15-Dec-12 2:57 
GeneralRe: WInRT component and event grief Pin
Pete O'Hanlon15-Dec-12 11:34
protectorPete O'Hanlon15-Dec-12 11:34 
GeneralRe: WInRT component and event grief Pin
Super Lloyd15-Dec-12 19:26
memberSuper Lloyd15-Dec-12 19:26 
GeneralRe: WInRT component and event grief Pin
Super Lloyd15-Dec-12 19:30
memberSuper Lloyd15-Dec-12 19:30 
QuestionWinRT: C++ C# interop grief Pin
Super Lloyd5-Dec-12 5:37
memberSuper Lloyd5-Dec-12 5:37 
AnswerRe: WinRT: C++ C# interop grief Pin
Super Lloyd5-Dec-12 6:20
memberSuper Lloyd5-Dec-12 6:20 
Worked around code by not exposing method using Platform::Exception(), just so:
public enum class ErrorCodes
{
    CodeStart = 0x0200, CodeEnd = CodeStart + 100, NotErrorCode = CodeEnd - 1,

    NullContext = CodeStart + 1,
    ContextNotReady = CodeStart + 2,
};

public ref class ExHelper sealed
{
public:
    static void Throw(ErrorCodes c);
    static ErrorCodes GetCode(int hr);

internal:
    static Platform::Exception^ CreateException(ErrorCodes c);
    static ErrorCodes GetCode(Platform::Exception^ ex);

private:
    ExHelper() {}
};


Remark Once I referenced platform.winmd in my C# project (from: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcpackages) I got too many compilation errors suddenly appearing!! WTF | :WTF:
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.

GeneralRe: WinRT: C++ C# interop grief Pin
FrankLavigne3-Jan-13 6:14
memberFrankLavigne3-Jan-13 6:14 
QuestionHow to throw a usable error from a WinRT C++ component to a C# code Pin
Super Lloyd5-Dec-12 4:59
memberSuper Lloyd5-Dec-12 4:59 
AnswerRe: How to throw a usable error from a WinRT C++ component to a C# code Pin
Super Lloyd5-Dec-12 5:22
memberSuper Lloyd5-Dec-12 5:22 
Questionstill no lambdas debugging ? :( Pin
pip01021-Nov-12 23:16
memberpip01021-Nov-12 23:16 
QuestionIntelliTrace only in Ultimate edition for VS11? Pin
devvvy5-Nov-12 23:41
memberdevvvy5-Nov-12 23:41 
AnswerRe: IntelliTrace only in Ultimate edition for VS11? Pin
Pete O'Hanlon6-Nov-12 0:00
protectorPete O'Hanlon6-Nov-12 0:00 
GeneralRe: IntelliTrace only in Ultimate edition for VS11? Pin
devvvy6-Nov-12 17:52
memberdevvvy6-Nov-12 17:52 
GeneralRe: IntelliTrace only in Ultimate edition for VS11? Pin
Pete O'Hanlon6-Nov-12 21:25
protectorPete O'Hanlon6-Nov-12 21:25 
GeneralRe: IntelliTrace only in Ultimate edition for VS11? Pin
devvvy6-Nov-12 21:43
memberdevvvy6-Nov-12 21:43 
NewsWindows XP & Framework 4.5 Pin
Clifford Nelson26-Oct-12 16:19
memberClifford Nelson26-Oct-12 16:19 
GeneralRe: Windows XP & Framework 4.5 Pin
Richard Deeming29-Oct-12 3:13
memberRichard Deeming29-Oct-12 3:13 
GeneralRe: Windows XP & Framework 4.5 Pin
Clifford Nelson29-Oct-12 6:16
memberClifford Nelson29-Oct-12 6:16 
GeneralRe: Windows XP & Framework 4.5 Pin
pip01021-Nov-12 23:17
memberpip01021-Nov-12 23:17 
GeneralRe: Windows XP & Framework 4.5 Pin
Clifford Nelson22-Nov-12 10:49
memberClifford Nelson22-Nov-12 10:49 
GeneralRe: Windows XP & Framework 4.5 Pin
Pete O'Hanlon22-Nov-12 11:38
protectorPete O'Hanlon22-Nov-12 11:38 
GeneralRe: Windows XP & Framework 4.5 Pin
Clifford Nelson22-Nov-12 12:06
memberClifford Nelson22-Nov-12 12:06 
GeneralRe: Windows XP & Framework 4.5 Pin
Expert Coming2-Dec-12 12:59
memberExpert Coming2-Dec-12 12:59 

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.


Advertise | Privacy |
Web03 | 2.8.1802120.2 | Last Updated 11 Feb 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid