Y
yuen
How can I implement DllImport?
For example,
//
[DllImport("sms.dll")]
private static extern IntPtr SmsOpen(String ptsMessageProtocol,
IntPtr dwMessageModes, ref IntPtr psmshHandle, IntPtr
phMessageAvailableEvent);
//
Where should this statement be located in the program or in the project?
Moreover, How can I locate "sms.dll" ?
For example,
//
[DllImport("sms.dll")]
private static extern IntPtr SmsOpen(String ptsMessageProtocol,
IntPtr dwMessageModes, ref IntPtr psmshHandle, IntPtr
phMessageAvailableEvent);
//
Where should this statement be located in the program or in the project?
Moreover, How can I locate "sms.dll" ?