473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

register COM-DLL from code

Hi all ...

Does anyone know if it is possible to register a COM-DLL through code using
statements of the .NET framework (VB.NET or C#) without using the
command-line or shell or anything?

Greetz,

--
Stijn Lambert
Analyst-Designer
Real Software Group
Industry Division
Prins Boudewijnlaan 26 B-2550 KONTICH
http://www.realsoftwaregroup.com

Jul 19 '05 #1
3 14346
yes, use p-invoke to call the DllRegisterServer() API in the com dll.
On Mon, 30 Jun 2003 17:51:36 +0200, "Stijn Lambert"
<st********@hotmail.com> wrote:
Hi all ...

Does anyone know if it is possible to register a COM-DLL through code using
statements of the .NET framework (VB.NET or C#) without using the
command-line or shell or anything?

Greetz,


Jul 19 '05 #2
Stijn,
Does anyone know if it is possible to register a COM-DLL through code using
statements of the .NET framework (VB.NET or C#) without using the
command-line or shell or anything?


Have a look at
http://www.msjogren.net/dotnet/eng/s...dynpinvoke.asp

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Jul 19 '05 #3
guest
25
Can anyone tell me how to do this ( register dll com componenet in C# ) ?
Please I need help urgent.

yes, use p-invoke to call the DllRegisterServer() API in the com dll.


On Mon, 30 Mar 2006 17:51:36 +0200, "Stijn Lambert"
<stijnie007@hotmail.com> wrote:
[color=blue]
>Hi all ...
>
>Does anyone know if it is possible to register a COM-DLL through code using
>statements of the .NET framework (VB.NET or C#) without using the
>command-line or shell or anything?
>
>Greetz,[/color]
May 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Robert M. | last post by:
Information: Server A: SQL Server 2000 Enterprise Edition. OS is Windows 2003 Server Enterprise Edition. SQL Service pack is 3a. Member of domain ABCDomain. Server A is going to function as a...
12
by: Ioannis Vranos | last post by:
Just some thought on it, wanting to see any explanations. It was advised in this newsgroups that we should avoid the use of keyword register. However it is a language feature, and if it...
2
by: Alexander Eisenhuth | last post by:
Hello together, My system: ActivePython 2.4.1 Windows XP I write a COM Server in VC++ 6.0 using ATL. So far so good. While I develop I got sometimes strange behaviour with makepy utility....
10
by: ajay | last post by:
some say floats can't be stored in register. size of int and float are same ( on some machine am i Wrong?) so if int can be delcared as register than why not float(where in and float are of same...
9
by: silentlights | last post by:
HI, How could I handle groups of registers in a single function by passing the address of the registers to the functions as parameters..? I am trying something like.. typedef volatile struct...
16
by: alakesh.haloi | last post by:
Hi All Is there a limit on the number of register variables that can be declared and initialized in a C program on a particular hardware platform? If you define more number of register variables...
0
by: irfan | last post by:
You could follow ms- help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconservicedcomponen toverview.htm thatz the .NET help or search for the same within msdn.microsoft.com
3
by: Kondapanaidu | last post by:
Hi, I am using C#.NET1.1, How to register COM Dlls in C#.NET through coding. One way for this is P-Invoke but I am not sure whether its correct or not and also I am not sure how to use this...
2
by: Geoffrey | last post by:
Hello, I create a COM object in c# to use some new functionnality in old softawre. On my dev platform, I register the component on build (option register for com interop) On production...
26
by: Vashna | last post by:
Hi Group, I have a doubt about register variables. I know that if we have a variable used very frequently in a function, then provided we never apply the & function to it, we can define it as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.