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
chandrashekhar sharma
NA
304
6.9k
How to call unmanaged c++ dll in wcf library?
Dec 21 2015 5:50 AM
I want to call c++ method from wcf service for get ip camera status.
Bellow code run successfully using wpf application but i want to run this method in wcf library then consume in wpf application.
when call method from wcf library then throw exeption. "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
Hide
Copy Code
[DllImport("dhnetsdk.dll")]
private static extern bool CLIENT_CapturePicture(int hPlayHandle, string pchPicFileName);
Please give solution on urgent basis.
Thanks & Regards
Chandrashekhar Sharma
Reply
Answers (
1
)
using wcf client can communicate with service...
How to call c++ dll in wcf Service?