D
dave
Hi,
I wrote a classlibrary in vs 2005 mc++ and declered inside it a struct like
this:
public ref struct FGBITParam
{
public:
FGBITParam()
{
sAuxName ="";
hWnd=IntPtr::Zero ;
}
String^ sAuxName;
IntPtr hWnd;
};
Then i wrote a secound mc++ classlibrary that have a referance to the first
class library and implement a function as a member of ref class the get the
struct from the first classlibrary as a parameter.
I then wrote a c# application that use referance to the two classlibrary
above and try to call to the function of the class in the secound
classlibrary and pass it a prametr of type FGBITParam and i get this error:
error CS1501: No overload for method get one arg...
Why????
Thanks
I wrote a classlibrary in vs 2005 mc++ and declered inside it a struct like
this:
public ref struct FGBITParam
{
public:
FGBITParam()
{
sAuxName ="";
hWnd=IntPtr::Zero ;
}
String^ sAuxName;
IntPtr hWnd;
};
Then i wrote a secound mc++ classlibrary that have a referance to the first
class library and implement a function as a member of ref class the get the
struct from the first classlibrary as a parameter.
I then wrote a c# application that use referance to the two classlibrary
above and try to call to the function of the class in the secound
classlibrary and pass it a prametr of type FGBITParam and i get this error:
error CS1501: No overload for method get one arg...
Why????
Thanks