Re: [Mono-list] regsvr32

2003-03-17 Thread Paolo Molaro
On 03/14/03 Andy Satori wrote:
 The equivalent to regsvr32 in .NET is RegSvcs.  However, that's for COM+
 assemblies.  
 
 In the Mono world, it would be useless to register a COM dll.  You would
 want the equivalent of the GacUtil to load an assembly in the Global
 Assembly Cache.

Ok.
*) In mono we don't support COM so registering a COM assembly doesn't
make sense until someone implements the needed code.
*) The profiling interface needs to be implemented with native code
(both with the mono and MS runtime).
*) If someone has a COM library that implements the profiling interface
of the MS runtime, that code is not going to work as is in mono
(even a recompile is not enough, because the interface is not the same).
*) If someone wants to use his own profiling code with the mono runtime,
he needs to hook it up in metadata/profiler.c, like the simple profiler
already included there.
*) In the future we will support loading a profiling module from a
shared library: when the code for such a feature will be written, all
you have to do is to install the shared library like any other shared
library (no need for regsvr32 or the like). Writing the support for
loading the profiling module is easy, but I haven't written it yet,
because it requires a mono runtime linked dynamically to libmono
and we currently link it statically.

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] regsvr32

2003-03-15 Thread Jonel Rienton
regsvr32.exe registers(1) an ActiveX dll(COM) in the registry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Richard Torkar
Sent: Friday, March 14, 2003 12:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [Mono-list] regsvr32


On Fri, 2003-03-14 at 18:26, Paolo Molaro wrote:
 On 03/13/03 Daniel Grigoras wrote:
  please, there is something similar with 
  regsvr32.exe MyProfiler.dll(for Windows ),but in
 
 I have no idea what regsvr32.exe does.

It's a tool you can use in Windows to register a global(?) dll/ocx
et.al.
I think it will disappear one day since we have the GAC and a different
way to do this? As you can see this is mostly guesses ;) 


/Richard
-- 
Ph.D. Student
Dept. of Informatics and Mathematics
HTU

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] regsvr32

2003-03-14 Thread Paolo Molaro
On 03/13/03 Daniel Grigoras wrote:
 please, there is something similar with 
 regsvr32.exe MyProfiler.dll(for Windows ),but in

I have no idea what regsvr32.exe does.

 Linux ?
 How may I register a profiler (DLL) under Linux? 
 In CVS , there are the equivalents of ICorProfilerInfo
 and ICorProfilerCallback ( profiler.c , profiler.h
 ..).

Currently we have just an hard-coded profiler built-in in the mono
runtime: the plan is to add an option to load dynamically a library that
implements the profiling interface, but I didn't write the code to do
that, yet. And, yes, the profiling interface is similar, but is not the
same as in the MS runtime.

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] regsvr32

2003-03-14 Thread Richard Torkar
On Fri, 2003-03-14 at 18:26, Paolo Molaro wrote:
 On 03/13/03 Daniel Grigoras wrote:
  please, there is something similar with 
  regsvr32.exe MyProfiler.dll(for Windows ),but in
 
 I have no idea what regsvr32.exe does.

It's a tool you can use in Windows to register a global(?) dll/ocx
et.al.
I think it will disappear one day since we have the GAC and a different
way to do this? As you can see this is mostly guesses ;) 


/Richard
-- 
Ph.D. Student
Dept. of Informatics and Mathematics
HTU

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] regsvr32

2003-03-14 Thread Andy Satori
The equivalent to regsvr32 in .NET is RegSvcs.  However, that's for COM+
assemblies.  

In the Mono world, it would be useless to register a COM dll.  You would
want the equivalent of the GacUtil to load an assembly in the Global
Assembly Cache.

Andy

On 3/14/03 12:26 PM, Paolo Molaro [EMAIL PROTECTED] pounded the keyboard
to produce:

 On 03/13/03 Daniel Grigoras wrote:
 please, there is something similar with
 regsvr32.exe MyProfiler.dll(for Windows ),but in
 
 I have no idea what regsvr32.exe does.
 
 Linux ?
 How may I register a profiler (DLL) under Linux?
 In CVS , there are the equivalents of ICorProfilerInfo
 and ICorProfilerCallback ( profiler.c , profiler.h
 ..).
 
 Currently we have just an hard-coded profiler built-in in the mono
 runtime: the plan is to add an option to load dynamically a library that
 implements the profiling interface, but I didn't write the code to do
 that, yet. And, yes, the profiling interface is similar, but is not the
 same as in the MS runtime.
 
 lupus

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] regsvr32

2003-03-14 Thread Andy Satori
Bonobo and COM+ are about as far apart in implementation as CORBA and COM
are.  That's not to say that System.EnterpriseServices couldn't be
implemented to support Bonobo on Gnome boxes, but they would be incapable of
say calling a remote object on a Windows COM+ based server.  You could
probably munge this all to work locally, but when you start down the path of
COM+ interop, I think you create a large scale problem in managability.

All that said, using .NET native assemblies and .NET remoting, you do get
the benefit of being able to use your assembly assets throughout the
enterprise despite the native host environment.  Furthering that, if you
absolutely must retain legacy COM+ interfaces (I do, I have a large legacy
of VB6 COM interfaces that I must maintain through the transition) you can
wrap those with SOAP webservices, acknowledge a minor performance hit, and
then deploy using SOAP and WebServices thus eliminating the dependency on
COM+.

Andy


On 3/14/03 2:01 PM, Bob Smith [EMAIL PROTECTED] pounded the keyboard to
produce:

 At some point arn't we going to have some equivilent for Bonobo?
 
 On Fri, 14 Mar 2003, Andy Satori wrote:
 
 The equivalent to regsvr32 in .NET is RegSvcs.  However, that's for COM+
 assemblies.
 
 In the Mono world, it would be useless to register a COM dll.  You would
 want the equivalent of the GacUtil to load an assembly in the Global
 Assembly Cache.
 
 Andy
 
 On 3/14/03 12:26 PM, Paolo Molaro [EMAIL PROTECTED] pounded the keyboard
 to produce:
 
 On 03/13/03 Daniel Grigoras wrote:
 please, there is something similar with
 regsvr32.exe MyProfiler.dll(for Windows ),but in
 
 I have no idea what regsvr32.exe does.
 
 Linux ?
 How may I register a profiler (DLL) under Linux?
 In CVS , there are the equivalents of ICorProfilerInfo
 and ICorProfilerCallback ( profiler.c , profiler.h
 ..).
 
 Currently we have just an hard-coded profiler built-in in the mono
 runtime: the plan is to add an option to load dynamically a library that
 implements the profiling interface, but I didn't write the code to do
 that, yet. And, yes, the profiling interface is similar, but is not the
 same as in the MS runtime.
 
 lupus
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
 
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] regsvr32

2003-03-14 Thread Richard Torkar
On Fri, 2003-03-14 at 19:51, Daniel Grigoras wrote:
  I think it will disappear one day since we have the
  GAC and a different
  way to do this? 
 
 Could you tell me what is the different method to do
 this.?(link, hint ..)
 


Well in windows they now how the concept of a GAC - well they almost
always had that but it never really worked.

The GAC - 
http://aspalliance.com/hrmalik/articles/2003/200301/20030101.aspx

There is a ton of stuff about the GAC on the net.


best,

richard
-- 
Ph.D. Student
Dept. of Informatics and Mathematics
HTU

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] regsvr32

2003-03-13 Thread Daniel Grigoras

Hello 

please, there is something similar with 
regsvr32.exe MyProfiler.dll(for Windows ),but in
Linux ?
How may I register a profiler (DLL) under Linux? 
In CVS , there are the equivalents of ICorProfilerInfo
and ICorProfilerCallback ( profiler.c , profiler.h
..).

Thanks in advance ,

Daniel G
 




__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list