TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Administrator
Tech Writer
2.2k
1.5m
In C#, how to call a dll writed in C++?
Apr 10 2003 5:47 AM
C# call dll method very easy, when the dll source writed in C#. But when a dll is writed in C++, how to call it? I use DllImport to call a function in that dll, but when the application run, throw a exception said that can't found entry point of the function in dll. The function in my ctest.dll like below: int foo { int a; ..... return a; } My C# file to call the function below: [DllImport("ctest.dll",EntyrPoint="foo")] extern static int foo(); ....... int a = foo(); //Application run here throw exception. ....... Who know? Please help me. Thanks.
Reply
Answers (
1
)
Apparent splitter control bug
Telnet Application Help Needed... Desperatly...