#WAIT_FAILED

Just starting out? Need help? Post your questions and find answers here.
User avatar
Randy
User
User
Posts: 29
Joined: Sat Sep 30, 2006 11:36 pm
Location: Atlanta, Georgia

#WAIT_FAILED

Post by Randy »

Hi all,

A few days ago I got PureBasic to run on my Windows 7 64-Bit computer. Easy enough. I then transferred a zillion and two files from the other computer for all sorts of things but mainly data, archives, and code. So, I don't know if it is a coincidence or something else affected it. Anyway, I'm getting an error message when I start up the IDE and when I try to restart the compiler. It says, "Constant already declared in another resident: #WAIT_FAILED." This is regardless of whether I have anything in the editor. The last test I started without any code.

I'm running version 4.51 (x86). I'm going to look for a 64 bit version but still, this worked earlier so it should still work now. I don't blame it, I blame something I might have done so I'm looking for solutions or at least an idea as to what this message means.

Edit: Installing the 64 bit version solved the problem of it doing that although I don't know why it did it in the first place but I got it working again.

Thanks,

Randy
Maybe it's just a bunch of stuff that happens -- Homer Simpson
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: #WAIT_FAILED

Post by MachineCode »

Randy wrote:I'm looking for solutions or at least an idea as to what this message means
It means two or more "*.res" files in your PureBasic "Residents" folder have the constant #WAIT_FAILED declared in them, and both files have different values assigned to it. A clean install would fix this error, as you discovered when you installed the 64bit version to a new folder. You ended up with the two conflicting files when you copied the zillion files across.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Post Reply