Re: re-using fortran dll in VS2005




"ioson" <ioson_nospam_@xxxxxxxxx> wrote in message
news:ttj7i.12432$nT2.1720@xxxxxxxxxxxxxxxxxxxxxxxx
Hi,
i try to convert my apps from VB6 to VB2005.
in my old apps i use some my dlls written with CVF 6.6.
when i try to run it in VS2005 (VB2005) i have :

dllnotfoundexception was hunandled
unable to load DLL "pcroutdll.dll"

Obviously in VB6 it works fine....

Any idea?

Then it equally obviously works in VB.NET 2005.

'DLL not found' usually means one of the following:

1. The DLL was truly not found. It is either not on the PC, or not on the
searchable path. If in doubt, put a copy in <Windows>\System32; if it isn't
found there, then move to [2]
2. The DLL is found, but a dependency is not found - this is the true 'DLL
not found.' Usually this is the runtime library; sometimes the runtime
library, in its turn, calls a C/C++ runtime library. You will need to look
at the documentation to see what support libraries must be made available,
and, yes, they too must be on the searchable path. Microsoft used to
recommend that they should be placed in <Windows>\System32 - I gather that
that recommendation has changed, but that puts more onus on you to ensure
that the DLLs are found. With DVF the easiest way is to download the runtime
library support from the Compaq website, and run that - you will
automatically get all the DLLs and their dependencies installed. Start with
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,7161,00.html


.



Relevant Pages

  • Re: Side-by-side installation on Windows 98SE and Windows 2000
    ... I was surprised to find that this is also supported on Windows 98 ... VB6 cannot create them. ... DLL Search algorithm explores at runtime. ... program (and it's libraries in the app folder) leaves behind a broken COM ...
    (microsoft.public.vb.general.discussion)
  • Re: How to get imagebase after a DLL gets loaded
    ... The main difference between DLL and static library in this context is ... so that it is not meant to be integrated with the client code ... SPEAKING ABOUT STATIC LIBRARIES HERE, AND I *EXPLICITLY* SAID IT THIS ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Side-by-side installation on Windows 98SE and Windows 2000
    ... I was surprised to find that this is also supported on Windows 98 ... I think what it basically comes down to is that DLL/COM Redirection should only be used with COM component libraries that were designed to use it, and VB6 cannot create them. ... However assuming that is true would imply that by registering with a relative path means linkage will occur by using the paths that the Windows DLL Search algorithm explores at runtime. ...
    (microsoft.public.vb.general.discussion)
  • Re: Nasty Problem
    ... There is no dll main as it is not needed. ... The apps generally do not run at the same time. ... I have removed all MessageBox calls in my other app but it still ... what libraries would MessageBox require (implicitly ...
    (microsoft.public.dotnet.languages.vc)
  • Re: /MT and /MD
    ... for Multi Threaded Apps) and MSVCRT (MS Visual C++ Run Time DLL). ... To link libs with debug info just add another 'd' at the end of the option: ... Any other libraries are your ...
    (microsoft.public.vc.language)