dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersNwe Nwe
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Resources » .NET programming » .NET Framework

Steps for RCW(runtime collable wrapper)


Posted Date:     Category: .NET Framework    
Author: Member Level: Gold    Points: 2


In this we see the steps for creating runtime collable wrapper(rcw).



 


RCW means managed code calling unmanaged code services.

Steps for RCW:

1. Goto VB 6.0 and take a ActiveX DLL.

2. In the DLL write a simple function like


Public Function Show()
MsgBox("Message Box created by VB")
End Function


3. Click file and select make project DLL. It will ask you to save on a appropriate file path. Save it using the path with the name project1.

4. Open visual studio 2008 and take a console application. Right click on the reference folder in the solution explorer and add a reference of this project DLL i.e. VB project DLL.

5. Add the assembly "using Project1"

6. And then create the project of that class and call the function created in VB.

7. run the application





Did you like this resource? Share it with your friends and show your love!


Responses to "Steps for RCW(runtime collable wrapper)"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Abstract class in c#
    Previous Resource: What is the use of CCW(Com Collable wrapper ) in asp.net
    Return to Resources
    Post New Resource
    Category: .NET Framework


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    "Steps for RCW"  .  



    Follow us on Twitter: https://twitter.com/dotnetspider

    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.