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

How to call DLLs in Web Service

For a windows or console mode application to call a function in a DLL, you
just put the DLL in the current directory or the same directory as EXE
(assuming you don't have access to directories like WinNT/System32).

How can I write a DLL so the ASP.NET process (aspnet_wp.exe I believe) will
find it in same directory as my web service? Hmmm...
I could
(1) Write some C# code to alter the PATH variable and put the current
directory in that page
(2) Use platform invoke to call load library and explicitly specify the
path to the DLL.
Any other ideas?
Nov 18 '05 #1
0 724

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

Similar topics

5
by: Anand Ganesh | last post by:
Hi All, I need some help. I am sort of not sure how to approach this problem. I have a MAINPROGRAM. This is the core application. I have asked two of my staff to developed two different...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
0
by: Siegfried Heintze | last post by:
For a windows or console mode application to call a function in a DLL, you just put the DLL in the current directory or the same directory as EXE (assuming you don't have access to directories like...
3
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that...
1
by: Chris Petchey | last post by:
I have a VB.NET application which installs/updates other applications. Some of these other applications are VB6. Part of the processing includes registering the OCXs and DLLs and I use the...
1
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls-...
1
by: tshad | last post by:
I have a Windows Service that runs on the same machine as my Web Server. I am trying to figure out the best place to put the .exe. Also, I want it to access 2 dlls that are in my bin folder of...
0
by: rajivtyagi4u | last post by:
Hello, Any body help me ? I m a fresher And have a task in which i want to create a web services which returns me the latest date and name of the dll's used by the customer and here is also a date...
2
by: Michael Bray | last post by:
I have a web project that I am deploying as part of a standard installer for a Windows Service application, with the web application stored in a subdirectory. Some of the DLLs that the web app...
3
by: =?Utf-8?B?a3lvbmc=?= | last post by:
Quick question. Say I have a project against the 2.0framework. I also have a dll compiled against 3.5. If I reference the 3.5 dll in the 2.0 project, how would that work? So I'm thinking that...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.