473,394 Members | 1,706 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,394 software developers and data experts.

Invoking a C#.NET dll from an external application using COM Objects

Hi,

I need to invoke a C#.NET dll that I developed in Siebel. For this I added the assemblies to GAC and then used regasm with the tlb option. Then in Siebel 7.7 I created a COM Object for this and invoked its methods successfully.

However when I try the same thing in Siebel 8.0, I am able to create the COM object, but not able to invoke its methods. The Siebel application crashes when I try to invoke its methods. I know this is may be a Siebel problem, but if any of you thinks I can fix this by using a different regasm option or something in the .NET side of things please let me know. I have no clue why this is happening.

Any pointers here would be appreciated!

Thank you,
SC
Nov 4 '08 #1
2 2728
Just incase you need the commands I executed:

gacutil /i D:\PS\POLICYSERVICE.SCINTERFACE.dll
gacutil /i D:\PS\POLICYSERVICE.SCCREATOR.dll
gacutil /i D:\PS\POLICYSERVICE.PCINTERFACE.dll
gacutil /i D:\PS\POLICYSERVICE.PCS.dll
gacutil /i D:\PS\POLICYSERVICE.PCCREATOR.dll
gacutil /i D:\PS\POLICYSERVICE.SCS.dll
gacutil /i D:\PS\POLICYSERVICE.DATATYPES.dll
gacutil /i D:\PS\PolicyInfo.dll
gacutil /i D:\PS\POLICYSERVICE.SCS.XmlSerializers.dll
gacutil /i D:\PS\UtilityClass.dll

regasm "D:\PS\POLICYSERVICE.DATATYPES.dll" /tlb:POLICYSERVICE.DATATYPES.tlb
regasm "D:\PS\PolicyInfo.dll" /tlb:PolicyInfo.tlb
[The above 2 dlls are those I need in Siebel]

I got success messages [Types registered successfully..Assemblies exported..]

Inspite of all this the methods of the COM object that I create remain inaccessible from Siebel 8.0 while being accessible from Siebel 7.7.
Nov 4 '08 #2
Hi,
I'm having the very same problem, with Siebel 8.0.0.8. I wonder, did you find any solution?

Thanks,

JPS
Apr 29 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: nibha kothari | last post by:
Hi, I am trying to invoke an external email management program from my ASP.NET web application. For testing purposes I created a very simple webform that has a single button. The code behind...
6
by: Patrick | last post by:
Following earlier discussions about invoking a .NET class library via ..NET-COM Interop (using regasm /tlb) at...
24
by: ej1002 | last post by:
Hi I have developed a Windows Application(C# Windows Form) which will get the IFrame Source of the page it is navigating using Webbrowser Control. Now I want do this in ASP.Net web application(C#...
5
by: RJN | last post by:
Hi I'm invoking the excel object from ASP.Net application. My development machine is Windows 2000 and MS Office is installed on my m/c. I have added reference to the Excel COM object, I have...
4
by: rjn | last post by:
Hi I'm invoking the excel object from ASP.Net application. My development machine is Windows 2000 and MS Office is installed on my m/c. I have added reference to the Excel COM object, I have...
2
by: lpcarignan | last post by:
Hi all, Right now, I'm debugging a C# library by starting an external application. To do this, I go in the project settings of the C# project, go in the Debug section and check the radio button...
1
by: Luc The Perverse | last post by:
Hello! You may remember me as the guy who's trying to learn C# and using that old version 2003 of visual studio. (Although free version of command line .NET compiler is available, so if some new...
6
by: Fred | last post by:
Is it legal to invoke my destructor from within an instance function? For example, bool MyClass::someFunction() { SomeOtherClass:someFunction(this); // No other references to 'this' // after...
2
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.