April 27, 2024, 04:28:12 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


v1.59 boogers

Started by mrainey, February 21, 2007, 05:28:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrainey

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 - )
Software For Metalworking
http://closetolerancesoftware.com

LarryMc

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.

LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

mrainey

Software For Metalworking
http://closetolerancesoftware.com

Ionic Wind Support Team

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.

Ionic Wind Support Team

mrainey

February 21, 2007, 07:53:05 AM #4 Last Edit: February 21, 2007, 07:58:52 AM by mrainey
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
Software For Metalworking
http://closetolerancesoftware.com

Ionic Wind Support Team

I will revive my old control library soon.  Just tried it out and it does still work.
Ionic Wind Support Team

Jim Scott

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?
Jim Scott

Ionic Wind Support Team

That is a generic error message.  Build a debug mode of your executable and run it under the debugger.

Ionic Wind Support Team

Jim Scott

February 21, 2007, 09:13:41 AM #8 Last Edit: February 21, 2007, 12:01:31 PM by Jim Scott
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.
Jim Scott