Out of Date WinAPI Include Files

Started by Mark Bader, May 19, 2004, 07:35:58 AM

Previous topic - Next topic

Mark Bader

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

David Martin

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

TechSupport

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.

Jose Roca

Nobody has noticed that  Mark is talking about PowerBuilder? Sorry, Mark, PowerBuilder and PowerBasic aren't the same thing.

Mark Bader

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.

TechSupport

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?

Mark Bader

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

Mark Bader

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.

TechSupport

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.

Paul Breen

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