Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass numeric to COMDLL
Message
From
24/02/2004 09:48:19
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Pass numeric to COMDLL
Miscellaneous
Thread ID:
00880251
Message ID:
00880251
Views:
43
Hi,
I have a COM DLL method that receive integer parameter.
I have export my DLL and call from .NET, but I get error "Cannot convert type ..."
C#
public decimal RetrieveBalance(short custNumber)
{
  NETMyCustomer.mycustomer b = new NETMyCustomer.mycustomerClass();
  return b.getbalance(1);

//  return b.getbalance(custNumber);

}
any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform