PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Mark Bader on May 19, 2004, 07:35:58 AM

Title: Out of Date WinAPI Include Files
Post by: Mark Bader on May 19, 2004, 07:35:58 AM
I recently purchased PowerBuilder for Windows V7 and downloaded FireFly evaluation.  However, when I try to run any of the samples I get an error message telling me the WinAPI Inc file are out of date and to go to the Powerbasic site and download new one.  I  have and they seem older than the ones I currently have.  No matter that they don't work either. Help...

Thanks Mark
Title: Out of Date WinAPI Include Files
Post by: David Martin on May 19, 2004, 09:03:11 AM
Make sure you are putting the new one the same place where FF is looking for it ... ie: make sure you don't have duplicate WinAPI files.

David
Title: Out of Date WinAPI Include Files
Post by: TechSupport on May 19, 2004, 09:05:49 AM
David, that's a good point.

Check the path that you have defined in the "Include Path" textbox of the "Compiler Defaults" dialog.

During compiling, FireFly checks that directory for the "CommCtrl.inc" file. If it is older than October 27, 2003, then the warning message will be shown.
Title: Out of Date WinAPI Include Files
Post by: Jose Roca on May 19, 2004, 09:24:10 AM
Nobody has noticed that  Mark is talking about PowerBuilder? Sorry, Mark, PowerBuilder and PowerBasic aren't the same thing.
Title: Out of Date WinAPI Include Files
Post by: Mark Bader on May 19, 2004, 03:00:11 PM
Good Catch Jose, however I did mean PowerBasic.  I also work with PowerBuilder at my shop and was working on an e-mail regarding that when I wrote this.  The date of CommCtrl.inc that I downloaded from the Powerbasic site (the latest) is 10-27-2003.  Where can I get a newer one?  Thanks.
Title: Out of Date WinAPI Include Files
Post by: TechSupport on May 19, 2004, 03:45:02 PM
I don't think that there is a newer version of that file. Usually it is the Win32API.inc file gets updated the most.

Nonetheless, if that is the date of your file then you should not be receiving any warning message. Something else must be the problem.

Does the compile continue? Does it kick back an error?

What is the exact text that you entered in the "Include Path" of the "Compiler defaults" dialog?

Is your version of PowerBASIC running from a network drive?
Title: Out of Date WinAPI Include Files
Post by: Mark Bader on May 19, 2004, 06:06:56 PM
Paul,

I can't tell you the path until I get back to my office tomorrow. The compile doesn't continue and FireFly shuts down.  PowerBasic is not running from a network drive.

Mark
Title: Out of Date WinAPI Include Files
Post by: Mark Bader on May 20, 2004, 07:57:46 AM
Paul,

I had the include path wrong.  It's now working.  Thanks for the assist.  I had looked in the FireFly Help file and didn't seen anything on settings for the compiler. You might want to include this for PowerBasic newbies like me. Thanks.
Title: Out of Date WinAPI Include Files
Post by: TechSupport on May 20, 2004, 09:48:03 AM
Quote from: Mark BaderPaul,

I had the include path wrong.  It's now working.  Thanks for the assist.  I had looked in the FireFly Help file and didn't seen anything on settings for the compiler. You might want to include this for PowerBasic newbies like me. Thanks.

Good point. Sometimes I take things too much for granted. I'm happy that you're up and running.
Title: Out of Date WinAPI Include Files
Post by: Paul Breen on March 16, 2005, 05:03:13 PM
My demo did the same thing. Check the subdirectory name. If you have both pbcc40 and pbwin70 there is a difference (winapi vs win32api) one may be out of date. I had the compiler of one and the include of the other compiler. Oops.
Paul Breen