how to use managed component in unmanaged code

  • Thread starter sreelakshmi.rajula
  • Start date
S

sreelakshmi.rajula

I've written a managed class library . The output file is
managedlib.dll . I am trying to use that in unmanaged code. When I
tried in C# I could add the dll using Add reference.. option . I am not
getting how I can do that in vc++.Is there any other way we can use
managedlib.dll in unmanaged code. I am new to managed code .Can anyone
give me the solution . Thanks in advance..
Thanks
Rsl
 
W

William DePalo [MVP VC++]

I've written a managed class library . The output file is
managedlib.dll . I am trying to use that in unmanaged code. When I
tried in C# I could add the dll using Add reference.. option . I am not
getting how I can do that in vc++.Is there any other way we can use
managedlib.dll in unmanaged code.

Yes, there is. But it is not as simple as adding a reference and making a
call. You'll find a discussion of how to do that in this thread:

http://groups.google.com/group/micr...add5a?lnk=st&q=&rnum=2&hl=en#f77854ee18badd5a


Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top