-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: SelvanDotnet
Message 1 in Discussion

Hi friends,   i would like to call a "C" dll named "Card.dll" from my VB.NET 
Application.    Card.dll function prototype is :    int __declspec(dllimport) 
GetCardInfo(char *szFileName,char *szHWGUID,char *szProductName,char *szCustomerID, 
int *nMaxConnections)      and i've created a  function like an API function that i 
given below   <DllImport("C:\Card.DLL", EntryPoint:="GetLicenseInfo", _  
SetLastError:=True, CharSet:=CharSet.Auto, _ 
ExactSpelling:=True, _ 
CallingConvention:=CallingConvention.StdCall)> _ 
Public Shared Function GetCardInfo(ByVal szFileName As String, ByRef szHWGUID As 
String, ByRef szProductName As String, ByRef szCustomerID As String, ByRef 
nMaxConnections As Integer) As Integer 
End Function 
in the Above code i'm getting the correct value in "nMaxConnections" , but other 
parameters throws an Exception 
Kindly Send me Code/Link ASAP. Its' ver Urgent  
  
Advance Thanks.. 
 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to