Solved

Error:File not found(2)

Posted on 1997-08-27
4
180 Views
Last Modified: 2010-04-06
O.K. I have a delphi program which I can build up in Delphi 1 under Win95 and Win311. It only uses standard Delphi 1 controls and dialogs etc. I use two external 16bit DLL's both are present at run and build time. It runs fine under Win95 but under 3.11 it crashes complaining about not being able to find a file.

I can build and run it from Win95 fine.

I can build (but not run) it from 3.11 and then run the EXE from 95 and it works fine????

Any help would be greatly appreciated.
0
Comment
Question by:Ray(2)
  • 2
4 Comments
 

Expert Comment

by:xire
ID: 1342642
Hi!
Maybe try to copy these DLLs into windows system directory or in directory which is specified in path.

hope it helps
Eriks
0
 

Author Comment

by:Ray(2)
ID: 1342643
Hi,

Firstly thanks for answering, but I have already tried this.
It is as though it is looking for some other DLL's that I haven't
realised that it needs.

Any other help would be appreciated.

Ray
0
 
LVL 2

Accepted Solution

by:
icampbe1 earned 50 total points
ID: 1342644
I ran into this as well.  Believe it or not, the doc is wrong :)  Under Wn95, you can specitfy the full name of a dll (like mylib.dll) when you specify the external.  When you run the same program under Win31, it wont find it.  You can get it to work by just using the dll file name without the .dll suffix.
Win31 seems to want to add its own suffix.  Then the regular path stuff applies to the location of the dll.

Hope this helps.

Ian C.
0
 

Author Comment

by:Ray(2)
ID: 1342645
Thanks a lot, believe it or not I actually found it about 5 minutes before I read your reply.

Many thanks to all who helped.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Firewall issues 6 85
Delphi cmd execution 6 42
Dev Express grid collapse 2 35
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 22
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now