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

Managed C++/CLI

 
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 
AnswerRe: how to use crystal report in c++/clr ? Pin
thatraja9-Jul-11 18:40
professionalthatraja9-Jul-11 18:40 
QuestionTypical issues in managed c++ Pin
sukumarvg4-Jul-11 2:03
sukumarvg4-Jul-11 2:03 
AnswerRe: Typical issues in managed c++ Pin
ian__lindsay4-Jul-11 5:45
ian__lindsay4-Jul-11 5:45 
GeneralRe: Typical issues in managed c++ Pin
sukumarvg6-Jul-11 22:29
sukumarvg6-Jul-11 22:29 
GeneralRe: Typical issues in managed c++ Pin
John Schroedl21-Jul-11 4:30
professionalJohn Schroedl21-Jul-11 4:30 
GeneralBook for Managed Extenstion for Vc++ Pin
Vijjuuu.1-Jul-11 21:34
Vijjuuu.1-Jul-11 21:34 
GeneralRe: Book for Managed Extenstion for Vc++ Pin
Ger Hayden1-Jul-11 22:44
Ger Hayden1-Jul-11 22:44 
GeneralRe: Book for Managed Extenstion for Vc++ Pin
Vijjuuu.3-Jul-11 7:22
Vijjuuu.3-Jul-11 7:22 
QuestionRe: Book for Managed Extenstion for Vc++ Pin
Mark Salsbery3-Jul-11 7:50
Mark Salsbery3-Jul-11 7:50 
GeneralRe: Book for Managed Extenstion for Vc++ [modified] Pin
ian__lindsay4-Jul-11 5:34
ian__lindsay4-Jul-11 5:34 
GeneralRe: Book for Managed Extenstion for Vc++ Pin
Vijjuuu.4-Jul-11 21:08
Vijjuuu.4-Jul-11 21:08 
QuestionProblem with managed and unmanaged mixed coding Pin
Lighter Joul1-Jul-11 13:56
Lighter Joul1-Jul-11 13:56 
AnswerRe: Problem with managed and unmanaged mixed coding Pin
Philippe Mori1-Jul-11 15:45
Philippe Mori1-Jul-11 15:45 
GeneralRe: Problem with managed and unmanaged mixed coding Pin
Lighter Joul2-Jul-11 1:33
Lighter Joul2-Jul-11 1:33 

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.