Click here to Skip to main content
15,887,746 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How do I create a shortcut on the startup menu for a visual c++ .net app? Pin
Aryadip8-Jun-04 18:06
Aryadip8-Jun-04 18:06 
GeneralDatabase import from XML Pin
Richard Jones4-Jun-04 7:24
Richard Jones4-Jun-04 7:24 
GeneralRichTextBox Scroll Bar Color Pin
Andrew Shapira4-Jun-04 7:09
Andrew Shapira4-Jun-04 7:09 
General.Net and Print To File Problem Pin
Gary Thom4-Jun-04 3:27
Gary Thom4-Jun-04 3:27 
GeneralWindows Services Pin
4-Jun-04 1:28
suss4-Jun-04 1:28 
GeneralRe: Windows Services Pin
Colin Angus Mackay4-Jun-04 13:12
Colin Angus Mackay4-Jun-04 13:12 
Questionis .NET slow? Pin
Sahir Shah3-Jun-04 21:40
Sahir Shah3-Jun-04 21:40 
GeneralCall by Reference Problem Pin
ashLin1233-Jun-04 21:09
ashLin1233-Jun-04 21:09 
I m trying to use Method where arguments are pass by reference of Managed C++ Code in C#.But the error is coming like:

The best overloaded method match for 'ManagedDLL.Class1.BoxPropertiesMG(double, double, double, double*, double*)' has some invalid arguments

cannot convert from 'ref double' to 'double*'

Source Code for this is given below:

//Managed C++ Dll Code:

public __gc class Class1
{
public:

void BoxPropertiesMG(double L, double H,
double W, double& A, double& V)
{
BoxProperties(L, H,W, A, V);

}


};


C# Code:
class Class1
{
static void Main(string[] args)
{
ManagedDLL.Class1 ob = new ManagedDLL.Class1();
double L=2.0, W=3.0, H=4.0;
double A, V;
Console.WriteLine(ob.BoxPropertiesMG(L,H,W,ref A, ref V));

}
}

Can Someone help me to solve this problem ?



GeneralRe: Call by Reference Problem Pin
jj3pa10-Jun-04 15:07
jj3pa10-Jun-04 15:07 
Generalfaster drawing Pin
PKultimPK3-Jun-04 6:46
PKultimPK3-Jun-04 6:46 
GeneralRe: faster drawing Pin
Werdna3-Jun-04 8:11
Werdna3-Jun-04 8:11 
GeneralRe: faster drawing Pin
PKultimPK3-Jun-04 10:22
PKultimPK3-Jun-04 10:22 
GeneralRe: faster drawing Pin
Dave Kreskowiak3-Jun-04 8:35
mveDave Kreskowiak3-Jun-04 8:35 
GeneralRe: faster drawing Pin
PKultimPK3-Jun-04 10:26
PKultimPK3-Jun-04 10:26 
GeneralRe: faster drawing Pin
Colin Angus Mackay4-Jun-04 13:19
Colin Angus Mackay4-Jun-04 13:19 
GeneralRe: faster drawing Pin
PKultimPK5-Jun-04 9:58
PKultimPK5-Jun-04 9:58 
GeneralRe: faster drawing Pin
Colin Angus Mackay5-Jun-04 10:53
Colin Angus Mackay5-Jun-04 10:53 
GeneralRe: faster drawing Pin
PKultimPK6-Jun-04 2:56
PKultimPK6-Jun-04 2:56 
QuestionHOW TO START WITH HAND HELD PROGRAMMING ??????????? Pin
princi_azghar@yahoo.co.in2-Jun-04 21:47
sussprinci_azghar@yahoo.co.in2-Jun-04 21:47 
AnswerRe: HOW TO START WITH HAND HELD PROGRAMMING ??????????? Pin
Member 5308104-Jun-04 1:35
Member 5308104-Jun-04 1:35 
AnswerRe: HOW TO START WITH HAND HELD PROGRAMMING ??????????? Pin
Richard Jones4-Jun-04 6:55
Richard Jones4-Jun-04 6:55 
GeneralRe: HOW TO START WITH HAND HELD PROGRAMMING ??????????? Pin
Andre Oschadlin20-Aug-04 0:07
Andre Oschadlin20-Aug-04 0:07 
GeneralRe: HOW TO START WITH HAND HELD PROGRAMMING ??????????? Pin
Richard Jones20-Aug-04 3:10
Richard Jones20-Aug-04 3:10 
GeneralRe: HOW TO START WITH HAND HELD PROGRAMMING ??????????? Pin
Andre Oschadlin20-Aug-04 16:01
Andre Oschadlin20-Aug-04 16:01 
GeneralRe: HOW TO START WITH HAND HELD PROGRAMMING ??????????? Pin
Richard Jones23-Aug-04 2:05
Richard Jones23-Aug-04 2:05 

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.