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

COM Interop problem with 3rd Party DLL using C# under ASP.NET

I am writing a solution using C# under ASP.NET that must make use of a 3rd
party DLL (written in C I believe). This DLL handles messaging between my
location and a third party location.

I have built and tested a C# Win.Net DLL to access the 3rd party DLL.
Unfortunately, the method of the 3rd party DLL requires both input and output
parameters and those output parameters are strings. Hence my testing resulted
in a successful call to the 3rd party DLL, but I was under able to access the
output strings.

Research on the net lead me to built an intermediary VB6 DLL to had the
pointers required to enable the output parameters.

My test (Win Form Test Harness - Win.Net DLL - VB6 DLL - 3rd party DLL) was
successful.

I then built a ASP.NET DLL and replaced the Win.NET DLL and retested the
following:

ASP.NET Test Harness - ASP.NET DLL - VB6 DLL - 3rd Party DLL

Now I get an error from the call to the 3rd Party DLL method in the VB6 DLL
- "Error 28: Out of stack space".

On a hunch that it had something to do with Context of Execution or
permissions, I built another Test Harness, this time in ASP:

ASP Test Harness - VB6 DLL - 3rd Party DLL

This test was successful, so I conclude it is not to do with Context of
Execution or permissions and I am now stuck.

Is there something about ASP.NET and 3rd Party DLLs that doesn't apply to
Win.NET?
Nov 18 '05 #1
0 1207

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

Similar topics

9
by: Maik | last post by:
Hello, I've developed an assembly, which opens an excel workbook and readout the range names and -values. I'm working with Office XP on my computer. I want to deploy this assembly on computers,...
2
by: Alex D. | last post by:
Hi .I cant seem to find a way to authorize asp.net user to create an Excel application using this: Microsoft.Office.Interop.Excel.ApplicationClass excel = new...
3
by: Dustin van de Sande | last post by:
I'm developing a ASP.NET 2.0 web application which exports and imports Word documents. The functionality is implemented in a DLL project which is referenced by the web application. In the DLL...
2
by: Richard Collette | last post by:
Hi, I have a service, that runs perfectly when executed outside of the web service environment. When called as a web service I get the exception listed below sporadically. A call to the web...
3
by: Stryker.Ninja | last post by:
First time poster, please be gentle :P I am using a third party ocx control in a C# 2.0 application. The interop seems to be working fine except for events. When I try and attach an event, it...
1
by: Amritha.Datta | last post by:
Where I may get help on Interop.FileTransferCtl.dll and its methods, properties descriptions Thanks
2
by: Lou | last post by:
Can these .NET controls be added to a C++ application?
4
by: Rinaldo | last post by:
Hi, when I trying to open the form designer in 2008 I get the following error: The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service containter....
2
by: Korry | last post by:
Hi I have developed some software using vb.net 2002 Version 7.0.9466 The software accesses a 3rd party dll so I have had to use tlbimp.exe/com-interop etc.. to access it. When I use the software...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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?
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
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
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...

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.