473,401 Members | 2,139 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,401 software developers and data experts.

Where do I place the dll?

I have a legacy dll built in C++ 6.0 (not a com dll, just a plain dll without
a type library). I am using Interop Services to call this dll from an aspx.cs
page ([DLLImport]). However when I place the dll in the bin folder I get "dll
not found". When I place it in Windows/System32 the webpage just spins and
doesn't return any result. Obviously the dll is not getting loaded. Where do
I need to place the dll?

--
Message posted via http://www.dotnetmonster.com
Jan 17 '06 #1
3 1254
system32 should be fine IMO. For a test you could also try with the full
path to the DLL.

I would try with a Windows test application. IMO it's rather some problem
caused by the execution context (rights, no user profile etc...).

--
Patrice

"Andy Sutorius via DotNetMonster.com" <u9025@uwe> a écrit dans le message de
news:5a7ee7192cf72@uwe...
I have a legacy dll built in C++ 6.0 (not a com dll, just a plain dll without a type library). I am using Interop Services to call this dll from an aspx.cs page ([DLLImport]). However when I place the dll in the bin folder I get "dll not found". When I place it in Windows/System32 the webpage just spins and
doesn't return any result. Obviously the dll is not getting loaded. Where do I need to place the dll?

--
Message posted via http://www.dotnetmonster.com

Jan 17 '06 #2
I will try the full path.

I already tried with a Windows test and it ran perfectly. With this test the
dll was in the root folder of the .exe that I fired off.

Patrice wrote:
system32 should be fine IMO. For a test you could also try with the full
path to the DLL.

I would try with a Windows test application. IMO it's rather some problem
caused by the execution context (rights, no user profile etc...).
I have a legacy dll built in C++ 6.0 (not a com dll, just a plain dll without
a type library). I am using Interop Services to call this dll from an aspx.cs
page ([DLLImport]). However when I place the dll in the bin folder I get "dll
not found". When I place it in Windows/System32 the webpage just spins and
doesn't return any result. Obviously the dll is not getting loaded. Where do
I need to place the dll?


--
Message posted via http://www.dotnetmonster.com
Jan 17 '06 #3
I will try the full path.

I already tried with a Windows test and it ran perfectly. With this test the
dll was in the root folder of the .exe that I fired off.

Patrice wrote:
system32 should be fine IMO. For a test you could also try with the full
path to the DLL.

I would try with a Windows test application. IMO it's rather some problem
caused by the execution context (rights, no user profile etc...).
I have a legacy dll built in C++ 6.0 (not a com dll, just a plain dll without
a type library). I am using Interop Services to call this dll from an aspx.cs
page ([DLLImport]). However when I place the dll in the bin folder I get "dll
not found". When I place it in Windows/System32 the webpage just spins and
doesn't return any result. Obviously the dll is not getting loaded. Where do
I need to place the dll?


--
Message posted via http://www.dotnetmonster.com
Jan 17 '06 #4

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

Similar topics

3
by: Roberto Castro | last post by:
Hello! I have been assigned for the first time an adp Access project and so far I have managed to make the changes needed for some requirements. However, I am struggling to find the place where...
10
by: vwd2005eeb | last post by:
Visual Web Developer 2005 Express Edition Beta I did Build | Build Web site, where are the DLLs? I was expecting to see maybe one dll for each Web page in a directory (maybe still "bin") under...
13
by: Viken Karaguesian | last post by:
Hello everyone, Can anyone recommend a good online site to learn PHP? The W3Schools website is quite lacking - leaves much to be desired. I'm sure there are many places, but which ones are good?...
10
by: Paul Cheetham | last post by:
Hi, I am developing an application that needs to store some machine-specific settings. The application is going to be published on the network in order to keep the clients on the latest version....
10
by: Mike9900 | last post by:
Hello, I would like to store application expiration date in a file and store that file in a secure place, so the application can access the file for all the users on that computer. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.