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

New Message on BDOTNET

-----------------------------------------------------------
From: SitaramanM
Message 6 in Discussion

Hi   The problem is not in terms of DLLRegisterServer. For your problem,  Do note that 
.Net offers two mechanisms to connect to unmanaged dlls.  If it is a COM Server App 
then you can use the COM Interop to connect to the COM App and access the functions.  
On the other hand if the unmanaged DLL is a unmanaged win32 dll, then you need to use 
the P(Invoke) Services to call the dll functions   As yours is a simple win32 dll, you 
need to use PInvoke. Do check out the msdn for PInvoke samples.  it is quite simple 
and easy to use.One moe resource i would highly recommend for this is Gaurav's article 
"Platform Invocation Services: .NET calling Win32" available at 
http://www.wintoolzone.com/articles/pinvoke.aspx?ID=66.  DO check it out.  Its a 
really good one and with a nice sample   hth   regards,   sr

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

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