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 3 1259
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.c om" <u9025@uwe> a écrit dans le message de
news:5a7ee7192c f72@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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 the application
changes the color of the background of a textbox. Here the explanation
goes:
This is a form bound to an SQL view. The detail section has several
fields, one of them being a textbox of name "Type". I checked its
|
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
Inetpub/wwwroot/mywebsite/
Thanks.
|
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?
I currently run a site with an extensive photo gallery. Hundreds of
photos. Right now I have a system which the thumbnails are laid out in
a table. You click on a thumbnail and you see the full size picture.
That full size picture is in its...
|
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.
Because of this, I am unable to store these settings in the App.Config
file, as this gets updated every time the application does, and there
doesn't appear to be a way of preventing this.
Most of my application settings are kept in the...
|
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.
IsolatedStorage is a good technique but it is for the each user only and is
not machine level. Registry is not good because the user may not have access
permission. Application directory is not good because the file could be
deleted and so the...
| |
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |