Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / September 2003

Tip: Looking for answers? Try searching our database.

calling unmanaged C++ dll from c#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cle - 12 Sep 2003 13:47 GMT
hi
i need to call unmanaged c++ code from c#.

Is it possible to do this direct, without dll's?

The DllImport gave me an error saying no enrty point. what
is the problem with that?

The next possbility i see is getting access to the old c++
code by writing managed c++ wrapper classes. Are there any
other possibilities?
thanks cle
jeff - 12 Sep 2003 17:26 GMT
For this part:
> The DllImport gave me an error saying no enrty point. what
> is the problem with that?

You need Module-Definition Files(.DEF) added to your C++ project. Search
Msdn to get more info about those files

Good luck,

-jeff

> hi
> i need to call unmanaged c++ code from c#.
[quoted text clipped - 8 lines]
> other possibilities?
> thanks cle

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.