473,387 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

issue of Type.InvokeMember

hello,

Using Type.InvokeMember to call a method of a
class,Which
method has byref parameter,It seems that there is
no way to return the changed value of that byref
parameter by the method of the class.
Who can save me?
Thanks a lot!

Jul 21 '05 #1
1 1561
mike <an*******@discussions.microsoft.com> wrote:
Using Type.InvokeMember to call a method of a
class,Which
method has byref parameter,It seems that there is
no way to return the changed value of that byref
parameter by the method of the class.


Please see my response in another group where you asked the same
question.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ravindran Pandian | last post by:
I have to add a "ATEStudio" popup menu in the VS IDE Menu Bar as below and the menu item "New Test Program" is having submenus like ( Csharp,VisualBasic,ManagedC++). ATEStudio >>NewTestProgram...
0
by: David | last post by:
Hi, I have a program in which I used invokemember to late bind to a component. In my code I use: SetupInfo setup; Object objTem = callLateBinding ("BackOfficeServer.BackOffice",...
10
by: Dave Leach | last post by:
I am writing a Windows MDI application in C#. I would like to cast an object to a specific type. I know that the object is of a compatible type. The code below shows what I would like to do, but...
2
by: hplloyd | last post by:
I am moving over to C# from VB.NET and am having some problems replicating functionality that I could do in VB.NET. In VB.NET I used to use the code Dim frm As Object Dim frmType As Type Dim...
1
by: Rein Petersen | last post by:
Hi All, I'm invoking Type.InvokeMember() on a COM class (via COMInterop) through a generalized interface. However, each specialized instance (of the COMInterop generic interface) requires...
3
by: Laurent | last post by:
Hello, I'm having a problem trying to call a DLL assembly from a C# code with some special parameters. I have a global class used to store some parameters and work with them: public class...
1
by: JS | last post by:
In my project, I am setting Options Strict on. In one place, I have generic code to set values in my objects using a configuration file, code which is trying to set properties of my classes using...
1
by: mike | last post by:
hello, Using Type.InvokeMember to call a method of a class,Which method has byref parameter,It seems that there is no way to return the changed value of that byref parameter by the method of...
1
by: Lenn | last post by:
Hello, Here's a little background. I have a function that calls a method of another assembly (COM Interop) dynamically through Reflection. It gets method name and array of values and calls...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.