I have an application written in VB.NET that calls functions in a
FORTRAN .DLL. All compiled (release for VB.NET and FORTRAN), with
the .EXE and the .DLL and other support files all in the same folder.
On my PC it works absolutely fine. No issues whatsoever. It also
works perfectly on SOME (most?) other PC's in my area.
However, there are some PC's in my area where the .EXE simply refuses
to find the .DLL, despite the fact that the setup is identical (single
folder on the desktop that contains all necessary files). The .DLL is
in the same folder as the the .EXE. The error I receive is:
Unable to load DLL 'TEST.dll': This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem. (Exception from HRESULT: 0x800736B1)
Unfortunately, I am not able to debug the problem because it works
perfectly for everyone when I compile the .EXE and the .DLL in debug
mode.
Any suggestions? I am going crazy here... Thanks... 3 1917
"ags5406" <my**********@gmail.comwrote in message
news:77**********************************@y5g2000h sf.googlegroups.com...
>I have an application written in VB.NET that calls functions in a
FORTRAN .DLL. All compiled (release for VB.NET and FORTRAN), with
the .EXE and the .DLL and other support files all in the same folder.
On my PC it works absolutely fine. No issues whatsoever. It also
works perfectly on SOME (most?) other PC's in my area.
However, there are some PC's in my area where the .EXE simply refuses
to find the .DLL, despite the fact that the setup is identical (single
folder on the desktop that contains all necessary files). The .DLL is
in the same folder as the the .EXE. The error I receive is:
Unable to load DLL 'TEST.dll': This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem. (Exception from HRESULT: 0x800736B1)
Unfortunately, I am not able to debug the problem because it works
perfectly for everyone when I compile the .EXE and the .DLL in debug
mode.
Any suggestions? I am going crazy here... Thanks...
Is this an ActiveX dll? Is it registered correctly?
>
"ags5406" wrote:
I have an application written in VB.NET that calls functions in a
FORTRAN .DLL. All compiled (release for VB.NET and FORTRAN), with
the .EXE and the .DLL and other support files all in the same folder.
On my PC it works absolutely fine. No issues whatsoever. It also
works perfectly on SOME (most?) other PC's in my area.
However, there are some PC's in my area where the .EXE simply refuses
to find the .DLL, despite the fact that the setup is identical (single
folder on the desktop that contains all necessary files). The .DLL is
in the same folder as the the .EXE. The error I receive is:
Unable to load DLL 'TEST.dll': This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem. (Exception from HRESULT: 0x800736B1)
Unfortunately, I am not able to debug the problem because it works
perfectly for everyone when I compile the .EXE and the .DLL in debug
mode.
Any suggestions? I am going crazy here... Thanks...
I seem to remember a runtime dll that we needed to distribute like f77.dll
or f90.dll, that had to be installed into the \windows\system32 folder.
Occasionally we ran into issues with permissions installing there. It's been
years, and your environment may be quite different than we had at the time.
Isn't there some runtime library such as f77.dll or f90.dll that you need to
distribute with the
Not ActiveX.
There are Fortran runtime DLL's, and they are included in the
distribution.
There is definitely something very screwy going on. Last night I
updated the .TEXT of a label on one single form by adding ONE, just
ONE extra character.
For example, the lblTest.Text = "ABC" was changed to lblTest.Text =
"ABCD". Literally the only change I made to the code. Recompiled and
reran and then magically, all of a sudden, all of my problems have
disappeared. The package seems to work correctly on all PC's in my
area now.
One thing I did notice is that my executable increased in size from
1408 KB to 1552 KB. How or why adding one single character to the
code (which is hundreds of thousands of lines in total) could increase
the executable size by 10% is beyond me. And why adding one single
character to the code would fix a seemingly unrelated problem is also
beyond me.
Methinks I have a gremlin. I have always believed that "the program
only does what you tell it to do", but this is the first time I'm
starting to doubt that.
All of my projects are under source control (we use CVS), so I am able
to ensure which version I am using. I am able to REPEAT the problem
with the first executable and I am able to REPEAT the success with the
second executable (with the one extra character in the code). This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: TimS |
last post by:
I am getting a baffling File not found error (0x800A0035).
I am writing asp on a windows 2000 server. I build a path and filename from
several fields in a jet database using SQL commands, like...
|
by: Ken Fine |
last post by:
No joy on Macromedia's boards after a few days; maybe someone can help me
here.
I got an excellent string handling function off of planet-source-code.com
that converts text strings to proper...
|
by: wongjoekmeu |
last post by:
Hello All,
>From a book where I have learned C++ it says that each application must
have at least one
function which is the main() function. Now I have the source code of a
C++ program from...
|
by: Les Stout |
last post by:
Good day,
I am not sure if this is the right forum for this question, but would
appreciate any help.
I have a spread sheet with a lot of rowws in, about 5000 and before i
deleted a lot i had...
|
by: Mal |
last post by:
Hi,
As I gain knowledge through a lot of trial, error, and usenet posts..
I have a potentially odd question.
I am using a commercial access application.
It is a front-end / back...
| |
by: jimjim |
last post by:
Hello,
This is a simple question for you all, I guess .
int main(){
double *g= new double;
*g = 9;
delete g;
cout<< sizeof(g)<<" "<<sizeof(double)<<" "<<sizeof(*g)<<" "<<*g<<" "<<endl;
*g =...
|
by: Frank |
last post by:
Hello,
I have usercontrol dll. If I reference it in the calling application with
local copy=true it works fine. If I set local copy to false. I get an error
saying the dll cannot be found. What do...
|
by: NormD |
last post by:
We have a client-server app using Web Services on an IIS machine. The trace
below shows that .NET is searching around for some things (e.g.,
SystemDrawing.DLL and System.Drawing.EXE) and taking a...
|
by: Lester |
last post by:
I need a regexp function which makes a match when the string contains
<img...AND the img tag above dows NOT contain a certain path
Here is what I have:
<img\s.*(src).+>
This matches if my...
|
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,...
|
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...
| |
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: 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: 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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
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...
| |