Hi Marc,

>Can Domino use the .NET DLL directly?  The .NET DLL should work in both 
x32
>and x64.

I'm not really sure.  I'm not familiar with how .NET stuff works, and I've 
never seen anything talking about Domino working with native .NET 
libraries.   Is the uodotnet.dll accessible as a COM object to other 
programs?  I actually would prefer to use the .NET uniobjects instead of 
the original, just to have access to the UniDataSet class, but I haven't 
found any instructions for how to access it as a COM object.  When I 
install the UniData client, it doesn't seem to put the uodotnet.dll file 
anywhere in the Windows directory tree; the only place it's put on the 
client computer is in the C:\IBM\UDK\uonet\bin directory.  Could I just 
copy that to C:\windows\system32 and manually register it, then access it 
as a COM object?  Or is the uodotnet.dll not a COM object?

After some basic wikipedia reading on this topic, it looks like COM 
Interop might let me register a .NET component as a COM object, but I'm 
not sure what's involved with doing that.  I also found some instructions 
on a related topic, that led me to try the following:

     C:\Windows\Microsoft.NET\Framework64\v4.0.30319>regasm 
c:\ibm\unidk\uonet\bin\uodotnet.dll /tlb /c
     Microsoft (R) .NET Framework Assembly Registration Utility 
4.0.30319.1
     Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.
     Types registered successfully
     Assembly exported to 'c:\ibm\unidk\uonet\bin\uodotnet.tlb', and the 
type library was registered successfully

I don't know what to do from there, however.  Uodotnet does not show up as 
an object in either the 32 or 64 bit object viewers, for example.  So next 
I tried copying the .dll and .tlb files to the C:\windows\syswow64 
directory, and then ran:

     C:\>regsvr32 c:\windows\syswow64\uodotnet.dll

That gave me an error of "The module c:\windows\syswow64\uodotnet.dll was 
loaded but the entry point DllRegisterServer was not found.  Make sure 
that uodotnet.dll is a valid DLL or OCX file and try again." 

So that's where I'm stuck at the moment.  If I could get COM access to 
uodotnet.dll, that would be great. 


>You have anyone who can write a wrapper for that DLL if not?

I don't think we have anyone in-house who has the .NET skills (or even the 
software) to do so, although I'll check on that tomorrow.

Thanks,
Jim
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to