Re: Newbie questions about Delphi...



Kenneth Porter wrote:
Kevinp <kevinp@xxxxxxxxxx> wrote in
news:e3r7f41nirctchkdkok6vec7pd7b4c7a4c@xxxxxxx:

I'll probably dabble a little with Delphi when I have the time. When I
played with it before years ago, it was to create an auto-run program
for a CD. The Delphi executable would run straight off the CD, where
VB had to have the run-time files installed.

In other words, the Delphi program was statically linked.

No. You can load DLLs off a CD. The current directory and the application's own directory are both searched for DLLs. LoadLibrary will accept a path to removable storage.

It's likely that the VB program needed some ActiveX controls to be registered, or, like Kevin said, it needed the VB RTL to be installed. The VB interpreter is not just a DLL that the application loads.

--
Rob
.



Relevant Pages

  • Re: Why do Services and Console apps not use App Paths Key?
    ... So the Service Control Mgr must be calling Create ... use App Paths key to load DLLs whereas a shortcut to a MFC ...
    (microsoft.public.win32.programmer.kernel)
  • Set dll load path per-project?
    ... I am trying to load dlls from a specific location when debugging a ... and would like to keep the DLLs separate from the ... client software that uses the engine. ... %PATH% variable while debugging so that it points to the correct ...
    (microsoft.public.vstudio.general)
  • Re: Why do Services and Console apps not use App Paths Key?
    ... > use App Paths key to load DLLs whereas a shortcut to a MFC ... > some other folder in the LoadLibrary search tree. ...
    (microsoft.public.win32.programmer.kernel)