Hello everyone,

I have installed Dev-C++ IDE on my system to run POSIX threads application. The program has compiled correctly. When I try to run the application, I am encountered with the following error

Unable to locate component

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

Any pointers guys?

Thank you.

Try to use standard WinThreads.
CreateThread / begintread / beginthreadex
And don't forget to include "Windows.h"

i think u must reinstall with the setup..
if the same problem comes then that might me corrupted.so then try to install with the new setup.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.