By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,081 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,081 IT Pros & Developers. It's quick & easy.

Parameter passing to Invoke method

P: n/a
KK
Hi MCPP gurus'
I have a small problem in parameter passing.This is my situation

namespace Abc
{
public __gc class ClassAbc
{
public:
String* Hello(String* str)
{
return String::Concat(S"Hello ",str);
}
String* HelloAbc(String** str)
{
*str = new String("Created inside Assembly");
return String::Concat(S"Hello ",*str);
}
};
}
I want to invoke HelloAbc method of class ClassAbc using MethodInfo-Invoke
method?
Can anybody help me how to pass parameters to this situation?Can any body
lead me to a link which explains how to pass different kind of
parameters(arrays,reference to objects pointers)to the Invoke method?

Thanks a Lot
regards
Krishna
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.