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 February 1st, 2006, 06:39 PM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default casting C# dll to ActivX

Hi all
i need to create an activeX dll with C# how can i do it.

i want to make a wrapper my dll
best regards
yacov

 
Old February 2nd, 2006, 05:14 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can make an ActiveX dll in VS.Net C++ MFC or VS 6.
You can call an ActiveX dll from C#, but you can't create an ActiveX dll with C#.

http://www.c-sharpcorner.com/3/CSNActiveXAN.asp
http://msdn2.microsoft.com/4dc6ds49(en-US,VS.80).aspx
 
Old February 2nd, 2006, 06:59 AM
Authorized User
 
Join Date: Jun 2003
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

adam_kahtava: I don't think that's true

there are several attributes you can specify in order to consume your .NET assembly from COM

there are many tutuorials on the subject. Take a look at
http://msdn.microsoft.com/library/de...nentstocom.asp
 
Old February 2nd, 2006, 07:08 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Your links deal with COM objects NOT ActiveX.

I think the initial poster wanted to create an ActiveX dll in C#.





Similar Threads
Thread Thread Starter Forum Replies Last Post
casting LONG jomet Oracle 1 March 25th, 2008 12:43 AM
Casting pfrigo BOOK: Professional .NET 2.0 Generics 3 November 19th, 2007 04:49 PM
Casting - Can you help koco C# 1 September 24th, 2007 08:41 AM
casting ravibodani Access 1 April 4th, 2006 01:19 PM
Enable/Disable Java,JavaScript,ActivX in WebBrower BunnyFace Pro VB 6 0 November 23rd, 2004 03:43 PM





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