User forums > Using Code::Blocks

looking for a dll

<< < (2/5) > >>

Jenna:

--- Quote from: stahta01 on September 14, 2008, 06:11:36 pm ---Yes

On Windows, the PATH system variable can be set to where to find the DLL.

Tim S

--- End quote ---

As Tim wrote it's a system variable.

You can e.g. google for :"how to set path on windows" (gives me more then a million responses).

stahta01:

--- Quote from: 3DModelerMan on September 19, 2008, 05:13:32 pm ---I looked in the project settings and the build options areas but could'nt find the path variable.
Could someone point me to it?.
Thanks.

--- End quote ---

The PATH variable is part of windows not part of Code::Blocks.
Note: The EnvVars plugin can set the window PATH variable, but I never trusted it to confirm it works.

I do use "Settings" -> "Compiler and Debugger"
Tab "ToolChain exe"
SubTab "Additional paths"
In order for Executables and DLL not created by my project can be found.

Tim S

3DModelerMan:
oh, thanks.

rcoll:

--- Quote from: stahta01 on September 19, 2008, 05:36:58 pm ---
--- Quote from: 3DModelerMan on September 19, 2008, 05:13:32 pm ---I looked in the project settings and the build options areas but could'nt find the path variable.
Could someone point me to it?.
Thanks.

--- End quote ---

The PATH variable is part of windows not part of Code::Blocks.
Note: The EnvVars plugin can set the window PATH variable, but I never trusted it to confirm it works.

I do use "Settings" -> "Compiler and Debugger"
Tab "ToolChain exe"
SubTab "Additional paths"
In order for Executables and DLL not created by my project can be found.

Tim S

--- End quote ---

Note that this will only work properly when you run your application from within C::B.

To make it work outside of C::B, open your Control Panel, select System, then the "Advanced" tab.  At the bottom is a button that says "Environment Variables".  Click that and edit your PATH variable to include the directory where you DLL's exist.

Ringo

3DModelerMan:
I just thought of something though, won't this affect the rest of my computers programs?.
I have windows XP so if my installer wrote in XP to system32 (wich is where my dll's are searched for), if the install program wrote the dll's to there would it be the same on other windows systems?.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version