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 - )
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.
Thanks Larry.
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.
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
I will revive my old control library soon. Just tried it out and it does still work.
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?
That is a generic error message. Build a debug mode of your executable and run it under the debugger.
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.