Xref: news2.mv.net comp.os.msdos.djgpp:8308 From: "Maan M. Hamze" Newsgroups: comp.os.msdos.djgpp Subject: Re: Turbo C++ query Date: 5 Sep 1996 13:14:14 GMT Organization: University of Texas at Austin Lines: 72 Message-ID: <01bb9b2c$15e7ce00$39db5380@maan-m.-hamze> References: <2E4E995350 AT fs2 DOT mt DOT umist DOT ac DOT uk> NNTP-Posting-Host: slip-83-9.ots.utexas.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp A.Appleyard wrote in article <2E4E995350 AT fs2 DOT mt DOT umist DOT ac DOT uk>... > (1) Please what is the email address to enquire for Turbo C++ queries? I > tried emailing its manufacturer (...@borland.edu), but they didn't bother to > reply although I had registered my copy of Turbo C++ with them. Well, call them at their Customer Support number which happens to be in the UK (checking my files....yep, here it is...number coming up) at: 0734-321150 > (2) But when I copied that A.EXE onto a floppy and > tried to run it under Windows on another PC: If I click File and then Run at > the top left corner of the master window, and call it there, Windows refuses > and says that BC450RTL.DLL is missing. This is the Run Time module for the programs. It should be in the path. I believe that you can deliver it with your apps. The other PC did ti have this file in the path so it would not run. The DLL contains calls and functions necessary to make the program run. >If I call it by finding it in File > Manager and clicking it there, Windows refuses and says that the file or part > of it is missing. Are you clicking on the DLL file? No, no, do not do that. Just copy it somewhere in the path like in Windows or system directory of windows so your program can use it. (The only file BC450RTL.DLL that I can find in my PC is > D:\TC\BIN\BC450RTL.DLL in my copy of Turbo C++: there is none in my \WINDOWS\. Exactly! It is a run time module. Like vbx100.dll, vbx200.dll, vbx300.dll etc..... With RSXNTDJ for example there is the RSXNT.DLL, and so on and so forth to make the story simple. > What does it do?). This is grossly inconvenient, as it means that I can't use > my Turbo C++ 4.5 to write Windows applications for other PC's. Yes, you can. Just deliver it with the app! Also, did you know that most of the exe's you see in your OS, like windows, depend on dll's like that to run. Just get used to it. The point of these files is to save space by letting apps call certain functions from them so that you do not have to reinvent the wheel every time you work on an app where certain function and system calls can be shared. >Please how to > tell Turbo C++ to produce a proper full independent A.EXE that can run on any > other PC that has an ordinary Windows in??? This defeats the purpose of the Dynamic Link Library (DLL) -- get it :) -- but I think that you can do that if you insist. One way is to link the objects that make up the dll with the app. Then do that with EVERY app you create. I believe that you have to give the dll's a fresh look. There is more to it and there is lots of literature on the dll's and how to utilize them fully. However, as long as the dll in the path you should be fine. And just deliver the run time dll with your app. M -- Maan M. Hamze mmhamze AT mail DOT utexas DOT edu http://leb.net/~mmhamze