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

Webservices and DLL's (in third party software)

57
I realise that many people have asked very similar questions, however none of the solutions outlined seem to quite fit my problem.

I should point out that I am new to both c# and the very idea of WebServices ....

I have a Webservice that calls a managed (?) DLL from a third party. This DLL in turn requires another DLL (not managed), which appears to me to be C or C++ based.
When I try to run the WebService, I get an error:
Expand|Select|Wrap|Line Numbers
  1. System.DllNotFoundException: Unable to load DLL 
  2.  
I have tried playing with the location of the DLL, but I assume the problem is that it needs to be visible on the client, not the server (although at this stage I'm only running it on the one box via VS2008). Is there anyway to include this other DLL so that it is visible to the service?

(I do also have static LIBs, which I think have been written in c++, but I assume they're no good for this particular purpose.....)

I have also tried using DLLImport, but some of the parameters in the methods that would be called from that DLL appear to have parameters that are pointers - which apparently requires unsafe to be declared {and then gives an error message saying I need to set an unsafe flag when compiling - which I can't find how to do....}.

Any thoughts/help much appreciated....
Dec 21 '10 #1
0 1188

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

Similar topics

2
by: Jon Davis | last post by:
I have a full-blown application that consists of several (fifteen or so) assembly DLLs, each being a separate VS.NET project that outputs to the main DLL's bin directory. They are all strongly...
3
by: Beryl Small | last post by:
Hi, I have a third party software that needs to send information to an .aspx page for processing to communicate with an SQL database. The software sends the information something like this: ...
6
by: Ben Finney | last post by:
Howdy all, I'm improving an existing application that's partly written using Python and the standard library. Many of the improvements I want to make can be done by using third-party free...
4
by: m11533 | last post by:
I am developing a large application with Visual Studio .NET 2003 using C#. We recently added a new third party product with a native .NET library. I want to place this third party product's dll in...
0
by: Macbane | last post by:
Hi All, Hope someone can help me with this. I have some PDA database software which sync with tables in an access database on my computer. It works fine until you want to sync tables that...
1
by: sajohn | last post by:
Hi I'm fairly new to VS2005 IDE and have come up with a problem I haven't been able to solve yet. I created a dll that depends on a third party dll. When I try to run my dll without the TP dll...
5
by: Eric Layman | last post by:
Hi, I noticed that PHP have the ability to create PDF files without using any third partty componentys. Most notably is via FPDF. It generates PDF by using "pdf markups" / or ghostscripts I...
7
by: reju | last post by:
I have an dataset/xml file which contains data. I want to create a pdf file after some formating. The main point is that no third parties can be used.
1
by: kaluvml | last post by:
Dear All, I am developing an accounting software. I use crystal report for printing. But it is very slow as compared to other software printing. Can i use a third party software for printing. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...
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
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...

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.