X
Xycoth
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?
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?