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

Managed C++/CLI

 
QuestionInheriting a template class Pin
Subin Mavunkal17-Aug-11 1:43
Subin Mavunkal17-Aug-11 1:43 
AnswerRe: Inheriting a template class Pin
George L. Jackson9-Sep-11 12:13
George L. Jackson9-Sep-11 12:13 
Questionc++ function name parameter problem Pin
ali_zdn14-Aug-11 3:11
ali_zdn14-Aug-11 3:11 
AnswerRe: c++ function name parameter problem Pin
Richard MacCutchan14-Aug-11 7:03
mveRichard MacCutchan14-Aug-11 7:03 
QuestionProject Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Andraw Tang5-Aug-11 11:16
Andraw Tang5-Aug-11 11:16 
AnswerRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Richard MacCutchan5-Aug-11 22:32
mveRichard MacCutchan5-Aug-11 22:32 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Andraw Tang8-Aug-11 4:37
Andraw Tang8-Aug-11 4:37 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Richard MacCutchan8-Aug-11 7:02
mveRichard MacCutchan8-Aug-11 7:02 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Andraw Tang8-Aug-11 7:18
Andraw Tang8-Aug-11 7:18 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Richard MacCutchan8-Aug-11 7:38
mveRichard MacCutchan8-Aug-11 7:38 
AnswerRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Arun Parthasarathy22-Aug-11 1:27
Arun Parthasarathy22-Aug-11 1:27 
Questionpin_ptr on value struct is needed? Pin
Dusan Paulovic3-Aug-11 6:51
Dusan Paulovic3-Aug-11 6:51 
QuestionHow to disable a Checkbox created using MFCRibbonCheckBox? Pin
MeghaJoshi1-Aug-11 18:20
MeghaJoshi1-Aug-11 18:20 
QuestionTCP packet sniffer Pin
itaybo24-Jul-11 19:26
itaybo24-Jul-11 19:26 
AnswerRe: TCP packet sniffer Pin
Richard MacCutchan24-Jul-11 21:15
mveRichard MacCutchan24-Jul-11 21:15 
AnswerRe: TCP packet sniffer Pin
Albert Holguin25-Jul-11 4:26
professionalAlbert Holguin25-Jul-11 4:26 
RantRe: TCP packet sniffer Pin
Richard MacCutchan25-Jul-11 5:59
mveRichard MacCutchan25-Jul-11 5:59 
GeneralRe: TCP packet sniffer Pin
Albert Holguin25-Jul-11 6:26
professionalAlbert Holguin25-Jul-11 6:26 
RantRe: TCP packet sniffer Pin
Richard MacCutchan25-Jul-11 6:31
mveRichard MacCutchan25-Jul-11 6:31 
GeneralRe: TCP packet sniffer Pin
Albert Holguin25-Jul-11 6:33
professionalAlbert Holguin25-Jul-11 6:33 
Questioncliext relative to pair and managed types [modified] Pin
SomewhereEverywhere20-Jul-11 15:19
SomewhereEverywhere20-Jul-11 15:19 
AnswerRe: cliext relative to pair and managed types Pin
John Schroedl21-Jul-11 4:25
professionalJohn Schroedl21-Jul-11 4:25 
You don't need the ^ in front of attributes. Here's a working example:

#include "stdafx.h"
#include <cliext/vector>
#include <cliext/utility>
#include <cliext/algorithm>

using namespace System;

int main(array<System::String ^> ^args)
{
	using namespace cliext;

	vector<pair<System::String^, System::String^>> attributes;

	attributes.push_back(make_pair(gcnew String("Background"),	gcnew String("Red")));
	attributes.push_back(make_pair(gcnew String("Visibility"),	gcnew String("Collapsed")));
	attributes.push_back(make_pair(gcnew String("Happy"),		gcnew String("True")));

	for_each(attributes.begin(), attributes.end(), [](pair<System::String^, System::String^> p){
		Console::WriteLine(p.first + " = " + p.second );
	});

    return 0;
}

GeneralHow to generate wsdl in CLR console application? Pin
aupres8-Jul-11 21:17
aupres8-Jul-11 21:17 
QuestionRe: How to generate wsdl in CLR console application? Pin
Mark Salsbery9-Jul-11 6:33
Mark Salsbery9-Jul-11 6:33 
Questionhow to use crystal report in c++/clr ? Pin
Mahdi.mpst7-Jul-11 0:24
Mahdi.mpst7-Jul-11 0:24 

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.