Click here to Skip to main content
12,356,678 members (65,139 online)

Visual Studio 2015 & .NET 4.6

 
QuestionFiring event when creating instance of a class in C#.net Pin
Mir Hassan Shams Moosavi23-Jan-13 6:00
memberMir Hassan Shams Moosavi23-Jan-13 6:00 
AnswerRe: Firing event when creating instance of a class in C#.net Pin
Paulo Zemek23-Jan-13 6:09
memberPaulo Zemek23-Jan-13 6:09 
QuestionAssistant in the work of the Graduation Project Pin
alaa_2220-Jan-13 5:14
memberalaa_2220-Jan-13 5:14 
Questionosk to notepad Pin
srinivasankrishnaa16-Jan-13 4:08
membersrinivasankrishnaa16-Jan-13 4:08 
AnswerRe: osk to notepad Pin
Richard MacCutchan16-Jan-13 4:17
mvpRichard MacCutchan16-Jan-13 4:17 
Questionshortcut keys Pin
srinivasankrishnaa16-Jan-13 4:04
membersrinivasankrishnaa16-Jan-13 4:04 
AnswerRe: shortcut keys Pin
Mike Meinz23-Jan-13 3:28
memberMike Meinz23-Jan-13 3:28 
GeneralRe: shortcut keys Pin
srinivasankrishnaa16-Feb-13 3:20
membersrinivasankrishnaa16-Feb-13 3:20 
GeneralRe: shortcut keys Pin
Mike Meinz16-Feb-13 4:08
memberMike Meinz16-Feb-13 4:08 
QuestionC++/Cx syntax error Pin
Super Lloyd14-Jan-13 2:47
memberSuper Lloyd14-Jan-13 2:47 
NewsProblem solved Pin
Super Lloyd14-Jan-13 2:55
memberSuper Lloyd14-Jan-13 2:55 
QuestionAdding form close event Pin
andrew charles21-Dec-12 20:28
memberandrew charles21-Dec-12 20:28 
SuggestionRe: Adding form close event Pin
Richard MacCutchan21-Dec-12 23:07
mvpRichard MacCutchan21-Dec-12 23:07 
QuestionC++Cx / WinRT: Parameterized constructor (and operator overloading) for 'public value struct' Pin
Super Lloyd20-Dec-12 2:08
memberSuper Lloyd20-Dec-12 2:08 
I have a C++/Cx class like so
public value struct float2
{
	float x,y;
};
I'd like to add a constructor with parameter like
public value struct float2
{
	float x,y;
	float2(float _x, float _y);
};
and I got a compiler error. Some googling later it seems it's not possible to add a constructor to a struct.. mm... fine I guess...

Then later I was looking at
public value class Windows::Foundation::Size,

And it has a parameterized constructor!!!
Windows::Foundation::Size::Size(float w, float h)!!!


This WinRT API value class has a public constructor with parameters!! (it even implement operator overloading!)
but The best I tried I couldn't implement paremeterized constructor and operator overloading for my own value struct.. Frown | :(

Can someone show me how to declare / implement a simple parameterized constructor (and operator overloading for '+') on my simple class above please?!!!!!!
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.

AnswerRe: C++Cx / WinRT: Parameterized constructor (and operator overloading) for 'public value struct' Pin
Super Lloyd20-Dec-12 18:50
memberSuper Lloyd20-Dec-12 18:50 
Questionvc++ Pin
srinivasankrishnaa14-Dec-12 6:37
membersrinivasankrishnaa14-Dec-12 6:37 
AnswerRe: vc++ Pin
Super Lloyd14-Dec-12 20:11
memberSuper Lloyd14-Dec-12 20:11 
GeneralRe: vc++ Pin
srinivasankrishnaa17-Dec-12 4:22
membersrinivasankrishnaa17-Dec-12 4:22 
AnswerRe: vc++ Pin
ProgramFOX23-Dec-12 4:04
memberProgramFOX23-Dec-12 4:04 
AnswerRe: vc++ Pin
Edo Tzumer2-Feb-13 23:12
memberEdo Tzumer2-Feb-13 23:12 
QuestionWInRT component and event grief Pin
Super Lloyd11-Dec-12 4:51
memberSuper Lloyd11-Dec-12 4:51 
AnswerRe: WInRT component and event grief Pin
Pete O'Hanlon11-Dec-12 6:23
protectorPete O'Hanlon11-Dec-12 6:23 
GeneralRe: WInRT component and event grief Pin
Super Lloyd12-Dec-12 3:14
memberSuper Lloyd12-Dec-12 3:14 
GeneralRe: WInRT component and event grief Pin
Pete O'Hanlon12-Dec-12 3:19
protectorPete O'Hanlon12-Dec-12 3:19 
GeneralRe: WInRT component and event grief Pin
Super Lloyd12-Dec-12 11:25
memberSuper Lloyd12-Dec-12 11:25 
GeneralRe: WInRT component and event grief Pin
Pete O'Hanlon12-Dec-12 12:02
protectorPete O'Hanlon12-Dec-12 12:02 
GeneralRe: WInRT component and event grief Pin
Super Lloyd12-Dec-12 23:45
memberSuper Lloyd12-Dec-12 23:45 
GeneralRe: WInRT component and event grief Pin
Super Lloyd14-Dec-12 20:09
memberSuper Lloyd14-Dec-12 20:09 
GeneralRe: WInRT component and event grief Pin
Pete O'Hanlon14-Dec-12 22:50
protectorPete O'Hanlon14-Dec-12 22:50 
GeneralRe: WInRT component and event grief Pin
Super Lloyd15-Dec-12 1:57
memberSuper Lloyd15-Dec-12 1:57 
GeneralRe: WInRT component and event grief Pin
Pete O'Hanlon15-Dec-12 10:34
protectorPete O'Hanlon15-Dec-12 10:34 
GeneralRe: WInRT component and event grief Pin
Super Lloyd15-Dec-12 18:26
memberSuper Lloyd15-Dec-12 18:26 
GeneralRe: WInRT component and event grief Pin
Super Lloyd15-Dec-12 18:30
memberSuper Lloyd15-Dec-12 18:30 
QuestionWinRT: C++ C# interop grief Pin
Super Lloyd5-Dec-12 4:37
memberSuper Lloyd5-Dec-12 4:37 
AnswerRe: WinRT: C++ C# interop grief Pin
Super Lloyd5-Dec-12 5:20
memberSuper Lloyd5-Dec-12 5:20 
GeneralRe: WinRT: C++ C# interop grief Pin
FrankLavigne3-Jan-13 5:14
memberFrankLavigne3-Jan-13 5:14 
QuestionHow to throw a usable error from a WinRT C++ component to a C# code Pin
Super Lloyd5-Dec-12 3:59
memberSuper Lloyd5-Dec-12 3:59 
AnswerRe: How to throw a usable error from a WinRT C++ component to a C# code Pin
Super Lloyd5-Dec-12 4:22
memberSuper Lloyd5-Dec-12 4:22 
Questionstill no lambdas debugging ? :( Pin
pip01021-Nov-12 22:16
memberpip01021-Nov-12 22:16 
QuestionIntelliTrace only in Ultimate edition for VS11? Pin
devvvy5-Nov-12 22:41
memberdevvvy5-Nov-12 22:41 
AnswerRe: IntelliTrace only in Ultimate edition for VS11? Pin
Pete O'Hanlon5-Nov-12 23:00
protectorPete O'Hanlon5-Nov-12 23:00 
GeneralRe: IntelliTrace only in Ultimate edition for VS11? Pin
devvvy6-Nov-12 16:52
memberdevvvy6-Nov-12 16:52 
GeneralRe: IntelliTrace only in Ultimate edition for VS11? Pin
Pete O'Hanlon6-Nov-12 20:25
protectorPete O'Hanlon6-Nov-12 20:25 
GeneralRe: IntelliTrace only in Ultimate edition for VS11? Pin
devvvy6-Nov-12 20:43
memberdevvvy6-Nov-12 20:43 
NewsWindows XP & Framework 4.5 Pin
Clifford Nelson26-Oct-12 15:19
memberClifford Nelson26-Oct-12 15:19 
GeneralRe: Windows XP & Framework 4.5 Pin
Richard Deeming29-Oct-12 2:13
memberRichard Deeming29-Oct-12 2:13 
GeneralRe: Windows XP & Framework 4.5 Pin
Clifford Nelson29-Oct-12 5:16
memberClifford Nelson29-Oct-12 5:16 
GeneralRe: Windows XP & Framework 4.5 Pin
pip01021-Nov-12 22:17
memberpip01021-Nov-12 22:17 
GeneralRe: Windows XP & Framework 4.5 Pin
Clifford Nelson22-Nov-12 9:49
memberClifford Nelson22-Nov-12 9:49 
GeneralRe: Windows XP & Framework 4.5 Pin
Pete O'Hanlon22-Nov-12 10:38
protectorPete O'Hanlon22-Nov-12 10:38 

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 | Mobile
Web02 | 2.8.160621.1 | Last Updated 17 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid