Author Topic: Newbie question: Error on trying to run program from .exe file  (Read 3403 times)

Offline river

  • Single posting newcomer
  • *
  • Posts: 2
Hi,
First thanx for CB. Easy to learn and use and portable! With a learning curve so small I was able to start creating "hello world" projects on it within an hour of installing it.
I've written a program using CB and a third party library (wxWidgets). The program is complete and runs from within the IDE. However, when I try to run the program from the .exe (debug or release) I get the following message:

this application has failed to start because wxmsw28_gcc.dll was not found. Re-installing the application may fix this problem.

I'm fairly new to C++ (learned to program using ado.net and java) and am not use to needing dlls, so I'm fairly sure that it is as simple as copying the dll into the proper folder, and I have tried several times to figure it out as well as looked at the forums (mostly so I didn't have to display my ignorance) but no luck. Any help would be appreciated.

OS: windows
CB version: 10.05



Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Newbie question: Error on trying to run program from .exe file
« Reply #1 on: July 18, 2010, 11:49:45 pm »
The dll has to be either in the same directory as your executable or in the systems search path.

Offline river

  • Single posting newcomer
  • *
  • Posts: 2
Re: Newbie question: Error on trying to run program from .exe file
« Reply #2 on: July 19, 2010, 11:45:09 am »
Jens, you're a peach thanx. I copied the dll into the bin folder and viola!