IonicWind Software

IWBasic => General Questions => Topic started by: mrainey on February 21, 2007, 05:28:26 AM

Title: v1.59 boogers
Post by: mrainey on February 21, 2007, 05:28:26 AM
This line causes a problem:

Declare Extern CreateWindowExA(ex:Int,class:String,name:String,style:Int,x:Int,y:Int,x1:Int,y1:Int,parent:Int,id:Int,hInstance:Int,ed:Int),Int

I see the word "class", not sure what to do about it




As does this one - I don't see the problem, the program compiled fine with v1.58:

    Control ThreadTypeWin,@RadioButton,"Inch Fine",185,241,110,19,0,optThreadsSTIFine


Errors reported for each:
syntax error - class
syntax error - ,
syntax error - )
Title: Re: v1.59 boogers
Post by: LarryMc on February 21, 2007, 05:46:46 AM
Mike said:
QuoteI see the word "class", not sure what to do about it
Since 'class' is just being used as a parameter name you can change it to something else like I had to do in Bevet's and Fletchie's PAKs.

Don't know the deal on the other one.

Title: Re: v1.59 boogers
Post by: mrainey on February 21, 2007, 05:53:30 AM
Thanks Larry.
Title: Re: v1.59 boogers
Post by: Ionic Wind Support Team on February 21, 2007, 07:14:11 AM
As larry has stated look for foreign .incc files in your bin directory.  The line being reported for the second one probably refers to an .incc file and has nothing to do with your code.

Title: Re: v1.59 boogers
Post by: mrainey on February 21, 2007, 07:53:05 AM
I added a .bak extension to Control_Pak.incc

copied these two lines from it into my program:
SetID "HTCaption",2
Const HDN_FIRST = 0-300


Everything works now.  Moved the Control_Pak file to the Include folder as a .inc file, per your recommendation.


Glad somebody knows what they're doing (sure as hell isn't me).   :D
Title: Re: v1.59 boogers
Post by: Ionic Wind Support Team on February 21, 2007, 08:29:08 AM
I will revive my old control library soon.  Just tried it out and it does still work.
Title: Re: v1.59 boogers
Post by: Jim Scott on February 21, 2007, 09:00:57 AM
I made sure I had none of the conflicts mentioned here and my programs will compile but when the launch I get the following message in a popup;

The Application Failed to Initialize Properly (0xc0000005). Click on OK to Terminate the Application.

Any Ideas?
Title: Re: v1.59 boogers
Post by: Ionic Wind Support Team on February 21, 2007, 09:03:15 AM
That is a generic error message.  Build a debug mode of your executable and run it under the debugger.

Title: Re: v1.59 boogers
Post by: Jim Scott on February 21, 2007, 09:13:41 AM
A restart seems to have fixed the problem with EBasic.  I've been installing so much garbage, trying to get the printing functions worked out that I've done something goofy to my system.  Thanks for the update Paul.  Good work.