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

system.dllnotfoundexception

I have an older program written in vb6. This program calls a dll
written in fortran. I have taken the time to re-write the program in
vb.net (1.1 framework), though i'm still calling the fortran dll.
Everything works fine when ran on a pc with XP. However, whenever I
try to run it on Vista I get an errormessage
"system.dllnotfoundexception" when it tries to call the dll.

I'm using

Public Declare Sub [SubName] Lib "myDLL.dll" ([Arguments])

to call the dll. There is a copy of the dll in the application
directory. If I try to run the vb6 version of this program, I do not
get this error on Vista (though I have other issues, which is why I am
re-writing it).

I'm not sure what to check next, or what I might be missing. Any
thoughts?

Jul 10 '07 #1
1 3664

"Xycoth" <dr*********@yahoo.comwrote in message
news:11**********************@p39g2000hse.googlegr oups.com...
>I have an older program written in vb6. This program calls a dll
written in fortran. I have taken the time to re-write the program in
vb.net (1.1 framework), though i'm still calling the fortran dll.
Everything works fine when ran on a pc with XP. However, whenever I
try to run it on Vista I get an errormessage
"system.dllnotfoundexception" when it tries to call the dll.

I'm using

Public Declare Sub [SubName] Lib "myDLL.dll" ([Arguments])

to call the dll. There is a copy of the dll in the application
directory. If I try to run the vb6 version of this program, I do not
get this error on Vista (though I have other issues, which is why I am
re-writing it).

I'm not sure what to check next, or what I might be missing. Any
thoughts?
The Dll may be using a reference to a Dll that's there on XP but is not
there on Vista.

That's why you develop, build, deploy, and test a solution on the platform
it's intended to run on.

Develop, build, deploy and test the solution on XP to be targeted for XP.

Develop, build, deploy and test the solution on Vista to be targeted for
Vista.

Jul 10 '07 #2

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

Similar topics

1
by: nagarajan.palanisamy | last post by:
Hello, We developed a DLL using C++ and I am calling the methods on the DLL using p/Invoke from managed code. The application runs well both as a console application and as a Windows Service...
1
by: Anna | last post by:
When I run a c#DotNet web service, I have the following error: System.DllNotFoundException: Unable to load DLL The dll that cannot be loaded is a C dll. That's why it cannot be put in the GAC....
1
by: batista | last post by:
Hi, I have an unmanaged dll that uses callback to call a function of managed code.Now the problem is that it's given error "System.DllNotFoundException" I read it's due to appdomian....
1
by: Jorge_Beteta | last post by:
Hello Experts, I'm using Visual Studio NET 2003 Architect on a Windows 2003 Server. DataBase: Oracle 9i. All of them on the same PC. Problem is that I can't connect my ASP NET web program to...
0
by: AG | last post by:
Hi, I have implemented the ASP.Net Ihttphandler interface. Handler references the mixed dll (both managed/unmanaged code) that contains core C++ classes wrapped under managed c++ wrappers....
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
1
by: Zhihong Yu | last post by:
Hi, I declare an API as following: Public Declare Function IsFirstInstance Lib "WPLink.dll" () As Integer When I call this function in Main(), I got System.DllNotFoundException even though...
0
by: Yogesh Ketkar | last post by:
I have a asp .net application talking to some remoting objects. application hosting remoting objects runs on the same machine. From a last couple of days I have started getting...
7
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using vs2005, .net2.0 for a windows application. I call a C++ compile dll and it works fine in Win2K server but I get the follow error message when I run the same application on a win2k3...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
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...

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.