PC Review


Reply
Thread Tools Rate Thread

call functions froma C dll

 
 
Buddy Ackerman
Guest
Posts: n/a
 
      9th Dec 2003
Is it possible to do this in .NET? I know you can use COM objects in .NET
but I haven't found anything on calling functions from a DLL like you used
to be able to do in VB.


--Buddy


 
Reply With Quote
 
 
 
 
Daniel O'Connell
Guest
Posts: n/a
 
      9th Dec 2003
Yes, it is, the syntax should be pretty close in VB.NET as it was in vb6(I'm
not sure). For C# you would use the DllImportAttribute. Look it up in msdn
for samples and other information.

"Buddy Ackerman" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Is it possible to do this in .NET? I know you can use COM objects in .NET
> but I haven't found anything on calling functions from a DLL like you used
> to be able to do in VB.
>
>
> --Buddy
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TransactionScope returns "Error HRESULT E_FAIL has been returned froma call to a COM component" tbannon@deloitte.com Microsoft ADO .NET 0 20th Nov 2007 10:45 PM
Please help - How to call functions that exists in the main application. The call should be initiated from one of the components. Anand Ganesh Microsoft C# .NET 5 16th Oct 2004 01:53 AM
Re: Please help - How to call functions that exists in the main application. The call should be initiated from one of the components. Baavgai Microsoft C# .NET 0 4th Sep 2004 05:54 AM
How to call functions from a VB6 dll ?? Jason Jacob Microsoft C# .NET 10 20th Aug 2004 02:37 AM
Functions--I don't know what else to call them Lyndsey Microsoft Excel Worksheet Functions 4 30th Mar 2004 05:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:03 PM.