Question

Is there a way to specify an absolute path to a dll file on delphi ?

Let´s say that I want to use a spcific version of a library and wish to have this dll on my application directory.

I don´t want the application to use the dll contained at any of the path directories .

Was it helpful?

Solution

The system already looks in the application directory by default, that is the first place it always looks. It is only when the DLL is not in the application directory that you then need to deal with absoute paths, system search paths, etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top