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

Managed C++/CLI

 
GeneralC and C++ compilers Pin
Mario_Young20-Apr-03 17:55
Mario_Young20-Apr-03 17:55 
GeneralRe: C and C++ compilers Pin
John R. Shaw29-Apr-03 18:57
John R. Shaw29-Apr-03 18:57 
GeneralRe: C and C++ compilers Pin
jhaga8-May-03 23:02
professionaljhaga8-May-03 23:02 
GeneralBug in VC++.net 2002: nested structs Pin
VizOne19-Apr-03 6:38
VizOne19-Apr-03 6:38 
GeneralRe: Bug in VC++.net 2002: nested structs Pin
Paul Selormey21-Apr-03 19:36
Paul Selormey21-Apr-03 19:36 
GeneralJagged arrays in MC++ Pin
Alexandru Savescu15-Apr-03 4:12
Alexandru Savescu15-Apr-03 4:12 
GeneralRe: Jagged arrays in MC++ Pin
Natty Gur15-Apr-03 4:29
Natty Gur15-Apr-03 4:29 
GeneralRe: Jagged arrays in MC++ Pin
Paul Selormey21-Apr-03 19:59
Paul Selormey21-Apr-03 19:59 
Normally you use Array::CreateInstance() method to create the jagged array.
using namespace System;
using namespace System::Collections;

public __gc class Test
{
	Test()
	{
		Int32 lowerBounds[] = {200};
		Int32 lengths[]     = {10};

		_array = Array::CreateInstance(__typeof(Int32), lengths, lowerBounds);
	}

private:
	Array __gc* _array;
};


You might wish to give a C# example of what you need if the above does not answer your question. Remember you can assign (cast) Array __gc* to [].

Best regards,
Paul.


Jesus Christ is LOVE! Please tell somebody.
QuestionWhat's the difference between VC++ and Managed C++? Pin
BoudewijnEctor14-Apr-03 8:45
BoudewijnEctor14-Apr-03 8:45 
AnswerRe: What's the difference between VC++ and Managed C++? Pin
Maximilien14-Apr-03 8:53
Maximilien14-Apr-03 8:53 
AnswerRe: What's the difference between VC++ and Managed C++? Pin
Natty Gur14-Apr-03 18:46
Natty Gur14-Apr-03 18:46 
QuestionHow to cast a pointer to a member function into a void*? Pin
Charles Liu14-Apr-03 2:45
Charles Liu14-Apr-03 2:45 
AnswerRe: How to cast a pointer to a member function into a void*? Pin
Natty Gur14-Apr-03 4:43
Natty Gur14-Apr-03 4:43 
AnswerRe: How to cast a pointer to a member function into a void*? Pin
John R. Shaw29-Apr-03 18:41
John R. Shaw29-Apr-03 18:41 
Generalcast to c++ interface from C# Pin
bwells14-Apr-03 0:42
bwells14-Apr-03 0:42 
GeneralRe: cast to c++ interface from C# Pin
Natty Gur14-Apr-03 4:48
Natty Gur14-Apr-03 4:48 
GeneralRe: cast to c++ interface from C# Pin
bwells14-Apr-03 13:58
bwells14-Apr-03 13:58 
GeneralRe: cast to c++ interface from C# Pin
Natty Gur14-Apr-03 17:34
Natty Gur14-Apr-03 17:34 
GeneralRe: cast to c++ interface from C# Pin
bwells16-Apr-03 12:57
bwells16-Apr-03 12:57 
GeneralRe: cast to c++ interface from C# Pin
Natty Gur16-Apr-03 20:11
Natty Gur16-Apr-03 20:11 
GeneralUnmanaged code to call managed code Pin
onyxbird10-Apr-03 9:43
onyxbird10-Apr-03 9:43 
GeneralRe: Unmanaged code to call managed code Pin
Paul Selormey10-Apr-03 18:03
Paul Selormey10-Apr-03 18:03 
GeneralC2682: cannot use __try_cast to convert from 'gcroot<T>' Pin
Paul Selormey31-Mar-03 20:40
Paul Selormey31-Mar-03 20:40 
GeneralRe: C2682: cannot use __try_cast to convert from 'gcroot<T>' Pin
Paul Selormey1-Apr-03 0:51
Paul Selormey1-Apr-03 0:51 
GeneralMixing ATL and MC++ Pin
Heath Stewart26-Mar-03 3:17
protectorHeath Stewart26-Mar-03 3:17 

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.