April 16, 2024, 01:53:20 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Customer Page

Started by Rock Ridge Farm (Larry), September 14, 2011, 07:02:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DominiqueB

Just updated to 2.095

I tried for example the AppBar sample, or the browser_test2 sample . . .

And they shows many warnings  ! ! !

Dominique

LarryMc

The warning reporting is much better than it use to be.
Usually the one that is reported the most is handler routines missing the ",int" on the end of the SUB line.

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

DominiqueB

So we don't have to be affraid of it ?

Compiling...
appbar.iwb
File: C:\Mes Programmes\iwbdev2\projects\appbar.iwb (30) Warning: Argument 9 (handler) does not match the declaration of IWBWNDPROC
Different return type: none, should be int
File: C:\Mes Programmes\iwbdev2\bin\iwbstd.incc (10) Warning: See previous declaration of IWBWNDPROC
File: C:\Mes Programmes\iwbdev2\projects\appbar.iwb (69) Warning: See previous declaration of handler
File: C:\Mes Programmes\iwbdev2\projects\appbar.iwb (372) Warning: Array 'pArray' has only 1 dimension, you requested 2. Varyable type is pointer.
File: C:\Mes Programmes\iwbdev2\projects\appbar.iwb (318) Warning: See previous declaration of pArray
No Errors

Linking...
IWBasic Linker v1.11 Copyright © 2011 Ionic Wind Software
Generating C:\Mes Programmes\iwbdev2\projects\appbar.exe
Build completed


And why is there a warning about the "iwbstd.incc" that is not included in tha Appbar sample ?


Whith the Compiling... of browser_test2.iwb i get all of this . . .

File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (96) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (97) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (100) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (101) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (102) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (103) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (104) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (107) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (110) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (111) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (112) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (113) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (115) Error: syntax error
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (138) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (139) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (145) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (146) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (149) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (150) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (175) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (199) Error: syntax error
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (200) Error: syntax error
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (201) Error: syntax error
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (210) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (213) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (216) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (219) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (222) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (225) Error: syntax error - ,
File: C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb (228) Error: syntax error - ,
Error(s) in compiling "C:\Mes Programmes\iwbdev2\projects\browser_test2.iwb"

Thank's for your clarifications :-)

Dominique


LarryMc

"iwbstd.incc" is automatically included in every IWB program you compile, regardless of the type
It is full of code that defines all the IWB functions that are located in the iwbstd.lib.
the warning is telling you that handler routines are suppose to be declared as returning an int.

The old compiler would only warn of non-handler routines that weren't defined properly.
That made it inconsistent.  Now it is consistent with its warning concerning ther proper declaration of subroutines that return values.

As for browser_test2.iwb
Sapero is out of pocket and I can't ask him if that is what he really intended
All the lines that are giving the errors are all related to the use of that WITH command.

The solution that will get rid of all those errors, regardless of whether the are due to a bug or are intended to be that way, is to put ( ) around the entire list of parameters for the command.  to prove that would fix it I went ahead and modified the file and it is attached.

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

DominiqueB

Ok,

thank's a lot !

Dominique

Haim

Hello,
I lost my customer page information (the link to it) and do not know how to upgrade to IWB 2.095
Please help  :(
Haim

Rock Ridge Farm (Larry)

Sent you PM with info.

Let me know if all is OK or not.

Larry

exjoburger

This is really good. Great work. Much better than trying to look for original registration emails to download an update.
Thanks!

Quote from: Rock Ridge Farm (Larry) on September 16, 2011, 08:04:08 AM

Also - how do you like the new Customer system?

Larry