Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 16th, 2005, 11:57 PM
Registered User
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default Calling C# DLL from C

Hi everyone,

Help me out PLZ!!!!

I am trying to call a C# DLL or Assembly from C..
Is it possible to do so and if it is then
Could anyone help me out with this task....
I am tired of searching it in google...:(


Thanku
Virajitha

 
Old August 17th, 2005, 04:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

If you are using VC++ .Net just include the dll in the references.

But .Net assemblies cannot be used as such from non .Net clients.

So if you are using something like a Builder or VC++ 6.0 or previous versions, you can make a wrapper for you C# DLL that can be consumed just like a COM Component.


Regards
Ankur Verma





Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling a dll inside from a dll tiredcat Visual Basic 2005 Basics 2 August 30th, 2007 11:02 PM
HOW TO - Calling an ActiveX DLL in a UserCont arvindkrishnan VB How-To 2 August 3rd, 2005 01:14 PM
Calling a DLL from the sql code mtrein SQL Language 1 February 12th, 2005 02:10 AM
Calling a .Dll of Vb.NET enggalok C++ Programming 0 March 1st, 2004 06:51 PM
Calling an ActiveX DLL in a UserControl arvindkrishnan VB Components 4 February 9th, 2004 03:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.