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
Using C# with an old API object
Mar 18 2003 3:41 PM
I am trying to do some coding in C# against an API object that has not been updated to be fully COM compliant. It does not appear to have a valid type library in the dll. My problem is that I can get everything to work in VB6 and VB.Net without having any reference to the API object. Obviously, Intellisense does not work, but the programs will compile and run with no problem. All calls into the API work just as documented in the API documentation. In C#, I can't compile anything without a reference to the object. I can't set up a reference, since there is no type library. Is there a way to get C# to compile without the reference? All I get is the compiler error "The type or namespace name 'OfficeTalk' could not be found (are you missing a using directive or an assembly reference?)" Am I missing something here? Thanks, Trent
Reply
Answers (
4
)
Creating C# DLLs accessed through VC++ (and vice-versa), is it possible?
Accessing an XML Web Service from Office 97