[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Error:File not found(2)

Posted on 1997-08-27
4
Medium Priority
?
194 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 100 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Integration Management Part 2
Suggested Courses

829 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