Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel doesn't find DLL under XP

I call a DLL from Excel. This works fine with Windows2000 and with Windows
NT but when I try to do it with Windows XP I get the following error
message:
Runtime error 53
File not found D:\Regr_Anal\RegAn.dll
(Of course I made sure the DLL exists and the path is correct.)

The declaration in Excel is:
Declare Sub REG_ANAL Lib "D:\Regr_Anal\RegAn.dll" _
(Polyg As Long, Nmess As Long, XMess As Double, Leverage As Double)

The DLL was written in Fortran. Its declaration is:
! RegAn.f90
! FUNCTIONS/SUBROUTINES exported from REGAN.dll:
! REG_ANAL - subroutine
!
SUBROUTINE REG_ANAL(Polyg,Nmess,XMess,Leverage)
!
! Expose subroutine REG_ANAL to users of this DLL
!
!DEC$ ATTRIBUTES DLLEXPORT::REG_ANAL
!

What do I have to change to run my Excel application on a computer with
Windows XP?
Thanks for any help!
Christoph





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find the FIND in Excel nancy Excel Discussion (Misc queries) 4 March 20th 08 05:28 AM
Find formatting doesn't work: "Excel cannot find data" Kasama Excel Discussion (Misc queries) 1 August 18th 06 01:40 PM
Despite data existing in Excel 2002 spreadsheet Find doesn't find AnnieB Excel Discussion (Misc queries) 1 June 16th 06 02:15 AM
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? nwtrader8 Excel Discussion (Misc queries) 5 June 21st 05 02:16 PM
Excel has a "Find Next" command but no "Find Previous" command. Michael Fitzpatrick Excel Discussion (Misc queries) 2 January 10th 05 11:45 PM


All times are GMT +1. The time now is 10:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"