IonicWind Software

IWBasic => IWB3.x Bug Reports => IW2.0 Bug Reports => Topic started by: Rock Ridge Farm (Larry) on March 12, 2011, 06:21:07 AM

Title: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 12, 2011, 06:21:07 AM
Please report all IWB 2.0 Issues here
Title: Re: 2.0 Issues
Post by: barry on March 12, 2011, 07:38:37 AM
I downloaded it and installed it and it seemed to go smoothly but when I tried to run it it crashed before I even saw a dialog.  I tried a number of times.  I rebooted to see if that was it.  I uninstalled and re-installed and got the same result.

Since it was late I just uninstalled it and deleted it, planning to re-download it and try again.  But I don't have high expectations of that making a difference.  I haven't done it yet.  I probably will later today.

I'm using Windows 7 Pro with 4 gig ram and an Intel 7300 core 2 duo on a 13.3" Asus laptop.

Barry
 
Title: Re: 2.0 Issues
Post by: barry on March 12, 2011, 07:46:01 AM
I apologize for posting that before I tried it again.  It was late last night and I was tired so I probably messed up.  I was awake when I posted my previous reply so I should have known better. :)

I just downloaded it and installed it and all is well.  It seems to be working just fine.

Barry
Title: Re: 2.0 Issues
Post by: Barney on March 12, 2011, 07:56:28 AM
Here's what I have so far:


Just found out that suddenly I can't compile anything. Will check it and come back later.

Barney
Title: Re: 2.0 Issues
Post by: zaphod on March 12, 2011, 08:38:12 AM
Hello,

I cant compil this (i can with old versions) without turn on optimisations checked :


OPENCONSOLE
'
SYSTEMTIME st
st.wHour = 0
'st.wMinute = 0
'st.wSecond = 0
'
'st.wDay =val(DATE$("d"))
'
WAITCON
CLOSECONSOLE
END


and i cant compil this (i can with old versions) :


OPENCONSOLE
'
SYSTEMTIME st
st.wHour = 0
'st.wMinute = 0
'st.wSecond = 0
'
st.wDay=val("10")
'st.wDay =val(DATE$("d"))
'
WAITCON
CLOSECONSOLE
END


I have windows error message....
Title: Re: 2.0 Issues
Post by: sapero on March 12, 2011, 09:00:30 AM
Barney, the license protection requires some services to be running, and probably to access some other, more or less administrative resources. On my XP box, I've found in my Event-log that NetBios service is running with the IDE. None of the protected registry keys are modified (like autorun, policies, services).
The IDE itself can be running with lowest privileges, but it needs write access to HKCU\software\classes (register file extensions) and read+write to the HKCU\software\ionicwind\iwbasic key (settings, recent files). On Win7 it needs also the right to modify/delete exe/dll files, in order to share this right with the linker. This right/privilege is automatically added if the IDE is installed in "protected location", like program files.

About file associations bug. The IDE uses an old api to query short path to itself. Short paths may be disabled or not supported, so the api will return an unquoted long path. If you install IWBasic to "Program Files" or some other directory with spaces in the name, you may notice this bug (but not all of you). I have added some code to the exceptional case, so it will be working with short and long paths.

The recent crashes - this was an issue related to the selected optimizations level in an Microsoft compiler, used to compile the IDE and the parser. Even the new Microsoft compilers generate bugs when optimizing user code, but a simple change in project options always helps. If you are coding something in Visual Studio, you should notice this bug.

A working update is waiting for upload.
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 12, 2011, 11:55:36 AM
re-compiled and posted

Larry
Title: Re: 2.0 Issues
Post by: Blue Steel on March 12, 2011, 01:25:59 PM
the latest download fixed my loading and running the 3d samples.

still not loading associated files when clickrd on to open in IWB

also noticed that if you set it to winxp compatable mode it changes the licence number , change it back and reverts to the original licence number but you have to re-unlock it

after installing the latest version and running IWB from the installer (ie: run now on closing installer) fails its stating that it requiress access escilatioon


I know its a pain but can you please change the file name of the D/load to reflect the new version and/or at least the about screen.

also the exe name IWBdev.exe seems to me to representr that its the version for the devs , notr the public.

Can you also try and add in http://codingmonkeys.com as a Fan / community site on the welcome page

It's now almost at the stage where I am prepaired to write a review on it ;)

PS: is the floor in the cubemap demo supposed to tear as you turn / move around, the walls / object and ceiling don't tear , just the floor
Title: Re: 2.0 Issues
Post by: LarryMc on March 12, 2011, 11:43:21 PM
Quotealso the exe name IWBdev.exe seems to me to representr that its the version for the devs , notr the public.

In IWB the development environment (IDE) is loaded with iwbdev.exe
In EB it was ebdev.exe
In IB it was ibdev.exe
In Aurora it is adev.exe


QuotePS: is the floor in the cubemap demo supposed to tear as you turn / move around, the walls / object and ceiling don't tear , just the floor
Does exactly the same in IWB2.0 and EB1.737 - like you describe.

LarryMc
Title: Re: 2.0 Issues
Post by: GWS on March 13, 2011, 03:01:04 AM
Hi Larry,

You may have the same graphics card as Cameron ..  :)

I can't see any tearing on my card - an NVidia GeForce 7600 GT - it works smoothly.

The only problem I get, is the 'MS Phone Home' crash dialog when I press ESC to exit the cubemap demo, but I see it does that on earlier versions of IWB as well ..  ::)

all the best, :)

Graham
Title: Re: 2.0 Issues
Post by: zaphod on March 13, 2011, 05:01:44 AM
Hello all,

I have problems to recompile my sources with iwb 2....

This code give 1 with old versions and 0 with new :



OPENCONSOLE
'
uint64 a,b
uint64 c
double d
a=0x1cbe17358213110q
b=0x1cbe0aa2db77110q
c=864000000000q

print a
print b
print c
d=(a-b)/c
print d
'
WAITCON
CLOSECONSOLE
END

Title: Re: 2.0 Issues
Post by: Blue Steel on March 13, 2011, 05:51:34 AM
Over the years i've had miltiple graphics cards both ati and nvidia , the latest is the nvidia GTX 465 , nothing else is tearing, in any languages / games , but it is a releaf to see that others have the same problems as well (yes I know it was there in the older releases too) could it be becaise of the image file , type , size etc.. point remains that what can be done to fix it.

As for the name I know all the history of it, I think just think its incorrectly named , to me should be simply called IWBasic or IWBEDitor or IWB or IWBIDE or rather than IWBDEV

Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 13, 2011, 09:17:18 AM
New version uploaded today 3/13

Larry
Title: Re: 2.0 Issues
Post by: barry on March 13, 2011, 09:31:25 AM
I installed the new version, at least new as of this morning...I'm not sure if it's the one you last uploaded, and it seem to be working okay now but I still get the UAC message when I start it.

My question is will this go away if I buy it and get a registration number?

Also I strongly suggest fixing this.  If I got this from someone I was less sure of I'd have immediately uninstalled it, done a thorough check of my system and never downloaded anything again from that site and suggested to others that they also avoid it.

As it is, even knowing you aren't trying to mess with my computer, I am a bit concerned about it and I don't think I'd want a program that always did this.

Barry
Title: Re: 2.0 Issues
Post by: LarryMc on March 13, 2011, 09:58:12 AM
Quote from: barry on March 13, 2011, 09:31:25 AM
I installed the new version, at least new as of this morning...I'm not sure if it's the one you last uploaded, and it seem to be working okay now but I still get the UAC message when I start it.

My question is will this go away if I buy it and get a registration number?

Also I strongly suggest fixing this.  If I got this from someone I was less sure of I'd have immediately uninstalled it, done a thorough check of my system and never downloaded anything again from that site and suggested to others that they also avoid it.

As it is, even knowing you aren't trying to mess with my computer, I am a bit concerned about it and I don't think I'd want a program that always did this.

Barry


QuoteMy question is will this go away if I buy it and get a registration number?
As for as I know it will have no impact on the UAC.

It takes time to address issues.  There may be more updates posted that do not have the UAC issue fixed.
We are aware there is an issue with the UAC.  
If you would like, I would be happy to send you an email when we believe that issue is resolved so that you will not have to download any interum updates that resolve other issues (but not that one ) since we aren't currently using revision levels to identify what fixes are included in which new download.

LarryMc
Title: Re: 2.0 Issues
Post by: aurelCB on March 13, 2011, 09:58:33 AM
Most people which i know and use win7 simply holds UAC -> TurnOFF.
I dont care i use winXP ;D
Title: Re: 2.0 Issues
Post by: LarryMc on March 13, 2011, 10:04:17 AM
Quote from: aurelCB on March 13, 2011, 09:58:33 AM
Most people which i know and use win7 simply holds UAC -> TurnOFF.
I dont care i use winXP ;D
I'm the same as you Aurel but Barry has a valid point/issue even though it doesn't bother you and I.

LarryMc
Title: Re: 2.0 Issues
Post by: ts-soft on March 13, 2011, 10:22:10 AM
The UAC is the best new feature in vista and windows7, for security.
Disable this is not very clever
Title: Re: 2.0 Issues
Post by: LarryMc on March 13, 2011, 10:22:55 AM
Quote from: zaphod on March 13, 2011, 05:01:44 AM
Hello all,

I have problems to recompile my sources with iwb 2....

This code give 1 with old versions and 0 with new :



OPENCONSOLE
'
uint64 a,b
uint64 c
double d
a=0x1cbe17358213110q
b=0x1cbe0aa2db77110q
c=864000000000q

print a
print b
print c
d=(a-b)/c
print d
'
WAITCON
CLOSECONSOLE
END


@zaphod
verified that
uint64 a,b
a=0x1cbe17358213110q
b=0x1cbe0aa2db77110q
a-b
does not give correct answer in today's version of download

LarryMc
Title: Re: 2.0 Issues
Post by: barry on March 13, 2011, 12:02:23 PM
Quote from: LarryMc on March 13, 2011, 09:58:12 AM
It takes time to address issues.  There may be more updates posted that do not have the UAC issue fixed.
We are aware there is an issue with the UAC.  
If you would like, I would be happy to send you an email when we believe that issue is resolved so that you will not have to download any interum updates that resolve other issues (but not that one ) since we aren't currently using revision levels to identify what fixes are included in which new download.

Thanks for offering, but it might be better to announce it in here.  Although you're certainly welcome to notify me.

I don't mind this for a while.  I wouldn't like it permanently.  My trial will time-out in 13 more days anyway.

Barry
Title: Re: 2.0 Issues
Post by: Logman on March 14, 2011, 05:41:04 AM
Question:

If we download an update, can we just install over the top of the old one? Or do we need to uninstall the older version first.

Also, will our "unlock codes" still work with a downloaded update?

Logman
Title: Re: 2.0 Issues
Post by: LarryMc on March 14, 2011, 05:54:33 AM
Quote from: Logman on March 14, 2011, 05:41:04 AM
Question:

If we download an update, can we just install over the top of the old one? Or do we need to uninstall the older version first.

Also, will our "unlock codes" still work with a downloaded update?

Logman
I get my updates the same way the rest of you do.
I install over the previous version.
My "unlock" stays intact.

LarryMc
Title: Re: 2.0 Issues
Post by: Egil on March 14, 2011, 07:15:28 AM
Quote from: LarryMc on March 14, 2011, 05:54:33 AM
I get my updates the same way the rest of you do.
I install over the previous version.
My "unlock" stays intact.

LarryMc

That never worked here.

Egil
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 14, 2011, 07:27:51 AM
Are you having issues now - it works for me to just install over the older copy - tested it on Win7 and XP.

Larry
Title: Re: 2.0 Issues
Post by: Logman on March 14, 2011, 08:29:44 AM
No issues, I just didn't want to overwrite a perfectly good version with a newer version if it didn't recognize my "unlock code."

I reloaded the newer version on my desktop and it works okay so far.

I'm just waiting on Larry to finalize the site so that we can buy additional licenses once we've made the initial purchase. Right now I am using a TRIAL version on my laptop to ensure it works and will purchase another license as soon as Larry is ready.

Logman
Title: Re: 2.0 Issues
Post by: Egil on March 14, 2011, 10:15:17 AM
All that happens here when I try to register the newest download is what you see in the attached picture. With the first versions could register after I deleted a folder that I beleive held the "unlock" information.
But if such a folder still exists, it is now hidden to me and registration is impossible, since I am not able to delete it.

So far this purchase has been nothing but a waste of time and money.

Egil

EDIT: Almost forgot the picture...
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 14, 2011, 10:54:48 AM
The registration is different than the original one you registered.
It appears that this is a different computer.

I will update based on the registration in the screen shot and send you another unlock code.

Larry
Title: Re: 2.0 Issues
Post by: Pip1957 on March 14, 2011, 11:32:28 AM
I have a dual boot system with 7 and XP I registered IWbasic on 7, will I need another license for my XP patition.
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 14, 2011, 11:36:08 AM
I do not know - try it and let me know - I can generate a new key for the other partition.

Larry
Title: Re: 2.0 Issues
Post by: Pip1957 on March 14, 2011, 11:49:29 AM
Larry the reg No. is different, I will PM you the number, it also states that there are 0 days left on the trial.
Title: Re: 2.0 Issues
Post by: ts-soft on March 14, 2011, 11:56:59 AM
Quote from: Rock Ridge Farm (Larry) on March 14, 2011, 10:54:48 AM
The registration is different than the original one you registered.
It appears that this is a different computer.
I think that is unreasonable for most user. My interest has lain down for the first time.
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 14, 2011, 01:17:24 PM
Can you elaborate on your post - what is unreasonable?

Larry
Title: Re: 2.0 Issues
Post by: ts-soft on March 14, 2011, 01:27:12 PM
I use my Software on virtual machines to support more than one windows versions.
If this side is dead and i change my hardware, i can never install the Software!
So many things that make a hardware id to a NoGo for me, but is no problem,
I knew of this limitation before a possible purchase.

And sorry for my bad english.
Title: Re: 2.0 Issues
Post by: Egil on March 14, 2011, 01:36:56 PM
Quote from: Rock Ridge Farm (Larry) on March 14, 2011, 10:54:48 AM
The registration is different than the original one you registered.
It appears that this is a different computer.

I will update based on the registration in the screen shot and send you another unlock code.

Larry


Well,
I have only ONE computer at present.
the first download worked somehow in Try-mode, but when the program didn't accept the registration details, I unistalled the package. I have now downloaded the package three times. Last time five-six hours ago. But the registration details never was accepted, and the two last times I was not able to reinstall until I had deleted the hidden folder the install put on my system last time i tried to install it. And by the way, the registration number at the bottom of the screenshot has been the same all the time.

I fully accept that the software package is protected, but after reading all the feedback I am starting to beleive that your protection system is the reason for all our trouble.
So my final line is that I have paid for something you haven't been able to supply. That's why I still mean that this, at least for me, has been wasted time and money.

Regards,
Egil
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 14, 2011, 02:23:18 PM
Did the new registration not work?

I am trying to work with you on this, you just need to help me help you.

I did notice that it will change the code if you uninstall and re-install - you should not need to do this.
I think this may be what is causing your issue.
I need you to tell me the reg code currently on your screen - do not re-install or remove/re-install this
will just compound the problem.

Let me know if you would rather have a refund.

Larry
Title: Re: 2.0 Issues
Post by: Egil on March 14, 2011, 02:37:39 PM
Larry,

You better check your install protection system. When I tried a new install after my last post, I got another registration number(IWB3.png). Then I uninstalled it and tried to install again and got the same number I got earlier today(IWB4.png). Now I have unistalled, and even deleted the hidden folder.
Maybe this is the reason why I never got the darned thing to work properly?

Egil
Title: Re: 2.0 Issues
Post by: Egil on March 14, 2011, 02:42:23 PM
Larry,
I didn't see your answer before i had posted my last message, just now. But nothing received on mail yet. I'll check in later
Egil
Title: Re: 2.0 Issues
Post by: Barney on March 14, 2011, 03:13:23 PM
Well...

I don't think it is clear from IW web site that the protection scheme uses a hardware fingerprint. If I knew that I would at least put some more questions before shelling out the cash. So, let's do it now, anyway.

What happens with my notebook? Do I need to purchase another copy of IWB 2.0?

What happens when I change my hardware, which I do very frequently due to my primary role as hardware editor for a computer magazine? Will I need to make a purchase every time I change something?

Frankly, if it was clearly stated that a hardware fingerprint protection scheme was used I would not have purchased this version as it is my policy not to buy software protected in such a way. I'd rather accept a dongle than this kind of protection which serves only one purpose - to punish the legitimate owners. Warez groups will break this protection with ease and pirated versions will actually be more useful. Hardly an incentive for people to purchase otherwise excellent software (once the initial problems are sorted out).

And before LarryS asks, no, I don't need a refund as I still like IWBasic but it's a pity I will probably not be using it as much (or at all) as I have planned to.

LarryS, I hope you will reconsider the protection and change it to something much more acceptable to your users, especially those who are not using only one computer and those who are changing the hardware rather quickly.

Barney
Title: Re: 2.0 Issues
Post by: Egil on March 14, 2011, 05:37:40 PM
Now I have been out doing my late evening jog. And the mentioned mail, containing new unlock code, has not yet arrived. But that doesn't really matter, as the package has been uninstalled.

I do programming just for fun, and it is a very enjoyable hobby. When I took up this hobby a little more than six years ago, I tried three other Basic Language Packages before I found the Ionic Wind packages. I have enjoyed both EB and CB so much, that I never could decide which one was my favorite, so I have always used them both. Therefore I was looking forward to use the new IWB 2.0. But after strugling to install the new package for a week now, I am not so sure anymore.
We are told to install "over" the install that failed, but on my system that has been impossible. The installer has not even started transferring files until the old install, including the hidden folder, has been removed.

And finally, you are asking me to work with you. But that's impossible as long as I have nothing to work with.
My friendly advice is that you withdraw the present package, and repost it in such a way that we can feel you treat us as loyal customers to the contrary is proved. If not, I am afraid this is the end of the road, at least for me.

Regards,
Egil
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 14, 2011, 05:55:33 PM
I left the computer so that I would not respond in the tone you have taken with me.
I have no idea which one to register for you - if you will give me one last reg key I will generate
the unlock code.
Your problem has been caused by actions you have taken yet you keep attacking me for it.
It will work for you if:
  1.  You install it one time - do not remove/re-install it will update without removing previous version.
  2.  Please follow my instructions
       A. Send me the current reg key from your instalation.
       B.  Do not re-install or delete your installation.

It may just be me but your post are very caustic - if you do not feel so then I apologize.


Larry

Title: Re: 2.0 Issues
Post by: Logman on March 14, 2011, 07:16:44 PM
Larry:

Paragraph 6.340 on page 458 references "THREAD", but defines ASIN instead. Apparently a "cut and paste" operation gone bad.

I'll continue reading the manual cover to cover and provide any obvious discrepancies that might need your attention.

So far, really great User's Guide--great examples, thanks for your time and effort on the manual.

Logman
Title: Re: 2.0 Issues
Post by: LarryMc on March 14, 2011, 07:21:43 PM
Quote from: Logman on March 14, 2011, 07:16:44 PM
Larry:

Paragraph 6.340 on page 458 references "THREAD", but defines ASIN instead. Apparently a "cut and paste" operation gone bad.

I'll continue reading the manual cover to cover and provide any obvious discrepancies that might need your attention.

So far, really great User's Guide--great examples, thanks for your time and effort on the manual.

Logman
Thanks for the spot.  As much time as I spent with the help file there are bound to be some of those errors.

LarryMc
Title: Re: 2.0 Issues
Post by: Egil on March 15, 2011, 03:34:47 AM
Quote from: Rock Ridge Farm (Larry) on March 14, 2011, 05:55:33 PM
I left the computer so that I would not respond in the tone you have taken with me.
I have no idea which one to register for you - if you will give me one last reg key I will generate
the unlock code.

Well,

I responded to a post where you accused me of cheating. And reading the last line, I assumed you already had sent me a new registration, corresponding with the screenshot I posted. I was obviously wrong.

Quote from: Rock Ridge Farm (Larry) on March 14, 2011, 10:54:48 AM
The registration is different than the original one you registered.
It appears that this is a different computer.

I will update based on the registration in the screen shot and send you another unlock code.

Larry

If you didn't like me answering in the same way, you have a problem. I feel it is my right as a customer to tell you when your product does not measure up.

I will not appologize for the tone in my post, because I regard such an accusation very offensive.
Anyway, if you can give me one good reason to try another install with a program that, in trial mode, didn't even compile the included examples, I am willing to try again. Otherwise not.

Regards,
Egil
Title: Re: 2.0 Issues
Post by: GWS on March 15, 2011, 04:19:06 AM
My story is uneventful ..  :)

I downloaded the update, and, as we always did with previous versions, un-installed the old version.

Just to check that one old program still worked, I even installed an old EBasic, and then un-installed that.

The new IWB2 install - same machine running XP - completed with no messages at all. 

It didn't even ask for an unlock code, and all's now working again, except for some of the math and graphics problems already reported.

From what LarryS said though, I expect I couldn't install IWB2 on another machine - that's a change, and prevents me having it on my two machines in different rooms.

I know copy protection is a problem, but I find Microsoft's 'activation' process a real pain, since over the years, my machines change, and I re-build every few months by formatting the C: drive and re-installing everything.

Hope it all works out OK. :)

Graham

Title: Re: 2.0 Issues
Post by: AdrianFox on March 15, 2011, 05:15:07 AM
First, it's a great pity to see people falling out over problems which are very likely with a new version which hasn't been extensively tested before release, as is done with the 'big boys' like Microsoft.... and look at the messes they get into even with all those resources.  I hope everyone can be patient until problems are sorted out,
Second, as I take it, IWBasic isn't a 'commercial product' as nobody is ever going to make much money out of it, and it's much more a labour of love by the two Larries and others.  The price is to at least compensate them a little for all for their effort, but not to expect customer service like you'd demand in the full marketplace...though I think customer service is pretty good here anyway... not many places you get a reply almost instantly.
Third, and this would be my only gripe, I'm afraid I wouldn't part with money if I can only use the new version on a single machine.  Like others, I have computers in different rooms and for different purposes. I like to try things out on different monitors with different resolutions, without having to change the monitors around or alter resolutions.  I don't think it unreasonable to expect to install it on a couple of machines, and you never know when your hard drive is going to go down, and you need to replace or upgrade your computer!  (Can happen to anyone, eh Larry?)
I would have thought the number of people on a forum like this who would 'pirate' a copy to others would be very limited and most of us would never dream of doing that. As someone said, the really determined thieves will probably do it anyway.
I therefore very much hope that the licensing system will return to a software key, and then I will buy my copy (despite my wife's objections!!)
Good luck in resolving these issues, and everybody please SMILE, it's spring, and IWBasic 2 will only have a great future with ALL of you involved!
:) :) :)

Title: Re: 2.0 Issues
Post by: daveR on March 15, 2011, 05:52:09 AM
Hi Larry

I have the same re-install problem as some of the others. I did uninstall the first version I downloaded before installing a subsequent version and the serial number came up different. Same machine with one partition running 32 bit Vista with UAC off.
I will wait until the releases slow down a bit then e mail a request for a new key for the serial number on the current version.  ;D
Is this normal? If the hardware does not change why does the serial number? Not a complaint just a curious question from some one who knows very little about these sort of things.

Thanks and regards
Dave
Title: Re: 2.0 Issues
Post by: ckoehn on March 15, 2011, 06:39:19 AM
I feel for you LarryS.  I really do.

I made a program which had the potential to be shared where it shouldn't.  I locked it to the hard disk ID number and stored it in the registry.  Worked fine.  The only problem was the one being mentioned on this topic.  The original purchaser wanted a copy on a desktop and his laptop.  I had to give two unlock codes.  Then he changed both computers and I had to give them new unlock codes for both.  It got to be a real pain.  I luckily had the option (which you don't) to tie the unlock code to the CD disk ID.  As long as the original CD was used to install the program the code worked.  I still get just a very few installations which for some reason doesn't work (install properly with the CD ID).

I too would like the ability to be able to install on any computer without having to always request a new unlock code, yet I understand your reason for doing what you are doing.

Keep up the good work. :)

Later,
Clint
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 15, 2011, 06:44:43 AM
We are actually looking into allowing multiple  installs once purchased.
It may take a few days to get it working.
I for one do not like to use the copy protection and in fact may scrap it.
We had less than a dozen total sales so it is more trouble than it is worth.
I used this one so we could have a try before you buy format.

I would like to apologize to the list for the above negative discussions. I should have
taken care of it by email - I just let things get to me yesterday. Not very professional.

After I am sure all of the issues are taken care of I will delete the negative post I made.


Larry
Title: Re: 2.0 Issues
Post by: daveR on March 15, 2011, 06:54:40 AM
 A bit surprised about the lack of sales, for me IWB is a top rate product certainly in the same league as some other more expensive compilers. In fact with it's ability to code anything from games to business applications it should be the compiler of choice.

Just my thoughts

Regards
Dave
Title: Re: 2.0 Issues
Post by: zaphod on March 15, 2011, 07:32:08 AM
Hello everybody,

I can't imagine a langage that i can not install on all my pc.
I can do that with my delphi professional...
With pure basic = 1 licence for life for windows, mac and nux
Even with power basic...

I am very desapointed.

Sorry for this negative post.
Title: Re: 2.0 Issues
Post by: Brian on March 15, 2011, 07:51:18 AM
Well,
I suppose I'm lucky that I have only one PC!
After having 10 days left to 0 days left in a two-hour spell, I've managed to uninstall,
clear out any hidden(?) files, and reinstalled it with no problems, then the 15 days came back.
Steadily, I'm managing to recompile all my own programs to IWB2, with only a few changes.
Although I can't compile with the Strict option on, which I consider would be the acid
test for all my programs - if they pass that test, they must be OK

I purchased the program on Saturday night, and still haven't had an unlock code yet,
although I think LarryS, etc, are going through enough at the moment to bother with me

One of my programs compiled to 14kb less than EBA - now that's good going!

Just need Sapero's Includes updating, and we're good to go...

Keep up the good work, boys!

Brian
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 15, 2011, 08:02:15 AM
Changed the Lic. to floating - that means you can install on multiple computers.
I re-loaded on my computer with no issues (Win 7).
So the next time you download you should be able to install on a second computer.
I am not sure how this will work so whoever does the first will be the test case.
Let me know what happens - you may need to send me the reg num - not sure.
I am still testing.

Larry
Title: Re: 2.0 Issues
Post by: Pip1957 on March 15, 2011, 08:29:23 AM
Installed over my Win7 copy and all went well, after installing on XP partition regnum is different so got the username or key is wrong, the regnum on XP ie 1637-9224-B2
This is with the latest download
Title: Re: 2.0 Issues
Post by: Egil on March 15, 2011, 10:51:53 AM
Larry,

I Just now read your last post describing the changes you have done to the registration system. So I downloaded IWB 2.0 again, and the registration number was: D424-300F-B2, which I discoverred was the same as stated in the unlock code mail when I opened it to copy the unlock code. But, as with the very first install, the supplied code did not work.

Without deleting anything I installed again. Then I got registration number 5391-14EF-B2. That number appears to be the same as appeared yesterday, and the unlock code still doesn't work. But this time I shall not uninstall or delete anything.

Regards,
Egil
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 15, 2011, 12:12:47 PM
Sent you the one just generated - it appears to be the same as the last one.

Keep me posted.

Larry
Title: Re: 2.0 Issues
Post by: Bruce Peaslee on March 15, 2011, 04:46:42 PM


I loaded an very simple skeleton file to test and it compiles and runs fine. However, if I immediately recompile, the linkage fails with "Unable to open output file ..." "Error(s) in linking ...".

I can't see anything with Task Manager".
Title: Re: 2.0 Issues
Post by: LarryMc on March 15, 2011, 05:15:17 PM
Quote from: peaslee on March 15, 2011, 04:46:42 PM


I loaded an very simple skeleton file to test and it compiles and runs fine. However, if I immediately recompile, the linkage fails with "Unable to open output file ..." "Error(s) in linking ...".

I can't see anything with Task Manager".
When you looked in Task Manager did you look in the processes tab?

I've had it close the application from that TM window but the process is still running.

LarryMc
Title: Re: 2.0 Issues
Post by: Logman on March 16, 2011, 05:37:52 AM
Larry Mc:

I was reviewing the Alphabetical Command Reference and found only one additional discrepancy in the reference section.

On page 302, paragraph 6.94--the definition of DOUBLE appears to be different from other definitions such as INT, FLOAT, etc. Current definition in this paragraph depicts how to convert a floating point to an integer, not a double.

I'll continue reviewing the user's guide section by section as I use version 2.0 to finish writing a software program I'm working on for the govenment.

Logman
Title: Re: 2.0 Issues
Post by: Logman on March 16, 2011, 05:53:50 AM
Quote from: Rock Ridge Farm (Larry) on March 15, 2011, 08:02:15 AM
Changed the Lic. to floating - that means you can install on multiple computers.
I re-loaded on my computer with no issues (Win 7).
So the next time you download you should be able to install on a second computer.
I am not sure how this will work so whoever does the first will be the test case.
Let me know what happens - you may need to send me the reg num - not sure.
I am still testing.

Larry


Larry, what if we already purchased a copy of IWBasic Version 2.0 and installed it on our desktop with an "unlock key" you provided for the original purchase. How do we go about using that same download/unlock key combination on a laptop?

Do we have to purchase the "newer floating" licensed version to be able to use on both desktop and laptop? I'm guessing we can't. What do I need to do now to be able to install my original purchase on my laptop and desktop?

Logman
Title: Re: 2.0 Issues
Post by: talun on March 16, 2011, 06:20:50 AM
QuoteLarry, what if we already purchased a copy of IWBasic Version 2.0 and installed it on our desktop with an "unlock key" you provided for the original purchase. How do we go about using that same download/unlock key combination on a laptop?

Do we have to purchase the "newer floating" licensed version to be able to use on both desktop and laptop? I'm guessing we can't. What do I need to do now to be able to install my original purchase on my laptop and desktop?

The same for me too... ???

Sergio


Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 16, 2011, 06:24:14 AM
The plan is to not charge for additional computers as long as they are for personal use.
The floating Lic. is supposed to allow this but it may require an unlock code for each box.
I have not figured it all out yet.

Waanna test it?

Larry
Title: Re: 2.0 Issues
Post by: Egil on March 16, 2011, 06:34:59 AM
Quote from: Rock Ridge Farm (Larry) on March 15, 2011, 12:12:47 PM
Sent you the one just generated - it appears to be the same as the last one.

Keep me posted.

Larry

This is the second time you claim to have sent me a new unlock key. But nothing ever showed up here.  ???
Title: Re: 2.0 Issues
Post by: Barney on March 16, 2011, 08:24:16 AM
LarryS, you have a PM.

Barney
Title: Re: 2.0 Issues
Post by: Egil on March 16, 2011, 08:25:55 AM
BINGO!!!!!!!!!


Thanks Larry!
Title: Re: 2.0 Issues
Post by: Logman on March 16, 2011, 09:02:52 AM
Quote from: Rock Ridge Farm (Larry) on March 16, 2011, 06:24:14 AM
The plan is to not charge for additional computers as long as they are for personal use.
The floating Lic. is supposed to allow this but it may require an unlock code for each box.
I have not figured it all out yet.

Waanna test it?

Larry


I'll test it.

I downloaded the original IWBasic Version 2 software, received your "unlock code" and entered it. IWBasic is working perfectly on my desktop. However, I loaded the same software on my laptop because I had to go on the road for a couple days. I have 8 days left on this install and would like to unlock it permanently if possible. I have the codes provided by the laptop, which I can send to you.

Although I would gladly pay the small fee you requested for additional licenses, I'll take a floating license any day. I do need to get the additional installs running on a permanent basis, soon before my 15-day trial period runs out on the original version I downloaded.

Thanks,

Paul
Title: Re: 2.0 Issues
Post by: Logman on March 16, 2011, 09:22:34 AM
Larry-Sapero:

So that members don't get the impression everything is going south just because of some hiccups in unlock codes, Sapero did an excellent job putting together version 2.0 of this language offering. And Larry Mc did a superb job writing/transposing the user manual. Although the manual has some grammatical and subject matter omissions/errors; as would be expected on any new publication, it is a comprehensive, world-class guide. He really did a bang-up job on it.

The fact that Larry S offers the manual in both .chm (help) and PDF format is a real bonus. You won't get this in any other languages offered on the web.

My thanks goes out to all three of you for migrating this effort into a solid and easily comprehensible programming language. I'm already putting the software to work on a government project and my customers really like what they see--and are amazed at how fast I can put requirements together using IWBasic. My C++/C# counterparts are still struggling with coding/testing while I just pound out working solutions.

Thanks,

Logman
Title: Re: 2.0 Issues
Post by: Barney on March 16, 2011, 10:53:57 AM
People who are having problems with UAC dimming the screen and asking the ubiquitous questions can easily circumvent the dimming but still have the question displayed.

Just go to "Control Panel" then select "User Accounts" and finally "Change User Account Control settings"

Move the slider to the 2nd position, bottom being the 1st one. The important part of the bold message in the box is "(do not dim my desktop). This will keep the UAC on so it will still work as expected except for the dimming screen part. You will still have to press Yes in order for IBW 2.0 to start.

If you don't want to bother with UAC control move the slider to the lowest position but be careful when installing & testing unknown programs because you will not be warned about them trying to do something they should not be doing.

2nd position works great for me because I can finally start IWB 2.0 without Windows turning off aero mode due to my "Total Media" application.

However I'd like to see this behavior changed so that I don't have to change anything. It was working before so it should work the same now.

While I am at it here's another problematic (actually very irritating) part of the story. I simply can't start working by clicking on the .iwb file. Yes, clicking on it does start the IWB 2.0 but once it is up, the IDE screen is empty. Clicking on the .iwb file again activates UAC (if active) just like it is starting IWB again but that does not happen. However, the screen is still empty. Since clicking on source files in order to start IDE is how I've been working since the beginning of my life with computers (a long time ago) and since IWBasic is especially good for so called "quick & dirty" programming I don't think I'll be using it for anything until this is resolved. Don't know how the rest of you think about it but for me not being able to start the IDE with a simple double-click on the source or project file is a big no-no. Almost a show stopper.

Otherwise I think LarryS, LarryMc and Sapero did a fantastic job and I am sure they'll fix all the problems as quickly as possible.

Barney
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 16, 2011, 12:29:35 PM
A new version is available for download.
Has Sapero's latest fixes.

Larry
Title: Re: 2.0 Issues
Post by: Egil on March 16, 2011, 12:39:25 PM
I haven't been able to use the package till today, as it would just not start in trial mode. But at least I am able to compile the example files now.

I think the reason why we are not able to just click a source file to get the IDE started and source loaded, is that the installer doesn't write correctly to the Registry file.
As you all know, I have tried to install the package several times before, and CCleaner reported several file association errors. The same happened today, in spite that the program is now up and running (...and  "unlocked").
I don't know much about editing the registry file, and don't want to tamper with it myself. But since most other software that dont load the file when you at first click the filename, accept that you rightclick on the file and choose "open with" and "Use this program always for these files", and the problem is fixed permanently,  I can't understand why we can't do this with IWB. And since the same thing happened with IWB 1.8, I think there must be a setting in the installer packing software that must be checked.

And even I've been angry and let out a lot of steam when things wouldn't work, I have great respect, and am greatful, for all the great work that has been put into the package. I gave away my netbook this winter, but if a "sale" comes around I think I'll buy a new one, just to have the Usermanual e-book running there all the time...

Regards,
Egil
Title: Re: 2.0 Issues
Post by: LarryMc on March 16, 2011, 12:47:00 PM
Egil
Did you happen to try the Tools/Register File Extensions menu option to associate the appropriate files to use IWBasic?

LarryMc
Title: Re: 2.0 Issues
Post by: Egil on March 16, 2011, 01:04:50 PM
That was the first thing I tried. Doesn't fix the problem. This only happens with the two IWB versions. That's why I mentioned the errors reported in the registry file.

Egil
Title: Re: 2.0 Issues
Post by: LarryMc on March 16, 2011, 02:15:23 PM
Egil

1st. can you tell me what the specific registry error messages are that you are getting.

2nd. I just double checked the setup file ; there are no automatic file extension registering instructions in there.

For what it is worth, I begged my wife and promised her the world to let me borrow her win7 laptop for a while to se if it messes up for me.

Until one of us can dplicate the problem a few of you are seeing it is hard for us to fix it.  We just sort of stab at things in the dark; but we are trying.

LarryMc
Title: Re: 2.0 Issues
Post by: Bruce Peaslee on March 16, 2011, 02:47:11 PM
Quote from: LarryMc on March 15, 2011, 05:15:17 PM
Quote from: peaslee on March 15, 2011, 04:46:42 PM


I loaded an very simple skeleton file to test and it compiles and runs fine. However, if I immediately recompile, the linkage fails with "Unable to open output file ..." "Error(s) in linking ...".

I can't see anything with Task Manager".
When you looked in Task Manager did you look in the processes tab?

I've had it close the application from that TM window but the process is still running.

LarryMc

Yes, I examined the processes tab. I've experimented and here's what I've found. In single (non-project), no problem. In project mode, the second compile always fail. It does not fail if I close and relaunch IWB2, until I try the second compile.
Title: Re: 2.0 Issues
Post by: Egil on March 16, 2011, 02:58:35 PM
Quote from: LarryMc on March 16, 2011, 02:15:23 PM
Egil

1st. can you tell me what the specific registry error messages are that you are getting.

2nd. I just double checked the setup file ; there are no automatic file extension registering instructions in there.

For what it is worth, I begged my wife and promised her the world to let me borrow her win7 laptop for a while to se if it messes up for me.

Until one of us can dplicate the problem a few of you are seeing it is hard for us to fix it.  We just sort of stab at things in the dark; but we are trying.

LarryMc
Just now i first checked my pc registry file using CCleaner. No reported errors.
Then I reinstalled IWB 2.0 and got the errors you see in attached picture.
A couple of days ago I did the same with IWB 1.8., and got an identical report.

And for reference I just reinstalled EB 1.8. No errors, and I am able to click a file to open the IDE with file loaded.

I hope this can help reveal the problems.

Egil
Title: Re: 2.0 Issues
Post by: talun on March 16, 2011, 03:02:02 PM

Excuse me, but I still could not understand if the current license is only referred to a single computer or allow me to install the compiler on different PCs. ???

Sergio
Title: Re: 2.0 Issues
Post by: Guilect on March 16, 2011, 03:02:43 PM
I am not able to get debugprint to work.

compile as debug console:
OPENCONSOLE
int x
for x = 0 to 10
DEBUGPRINT str$(x)
next x
CLOSECONSOLE
Title: Re: 2.0 Issues
Post by: Pip1957 on March 16, 2011, 03:10:59 PM
There is an error in the windows.inc include file at line 2397

This: DECLARE IMPORT, _GetLogicalDriveStrings ALIAS GetLogicalDriveStringsA(nBufferLength AS INT,lpBuffer AS STRING),INT
                                                                                                                                                                           ^

Should be: DECLARE IMPORT, _GetLogicalDriveStrings ALIAS GetLogicalDriveStringsA(nBufferLength AS INT,lpBuffer AS POINTER),INT
                                                                                                                                                                                    ^
Title: Re: 2.0 Issues
Post by: Logman on March 17, 2011, 05:26:31 AM
Quote from: Rock Ridge Farm (Larry) on March 15, 2011, 08:02:15 AM
Changed the Lic. to floating - that means you can install on multiple computers.
I re-loaded on my computer with no issues (Win 7).
So the next time you download you should be able to install on a second computer.
I am not sure how this will work so whoever does the first will be the test case.
Let me know what happens - you may need to send me the reg num - not sure.
I am still testing.

Larry


Down-loaded new "floating license" version and installed it on my laptop. I input previous user name and unlock code you provided me from my original purchase and it didn't work. I still get "Incorrect User Name or Unlock Code Entered" error.

What do I do now?

Logman
Title: Re: 2.0 Issues
Post by: sapero on March 17, 2011, 06:49:58 AM
Guilect, it works for me:
QuoteStarting debug session...
[dlls deleted]
0
1
2
3
4
5
6
7
8
9
10
The thread 0xFF4 exited with code: 0
The program '[path deleted]debugprint.exe' exited with code: 0

By the way - you don't need a console to use DEBUGPRINT. You don't need CLOSECONSOLE at the end of your program. You don't need OPENCONSOLE when creating a console program :)
Title: Re: 2.0 Issues
Post by: Guilect on March 17, 2011, 07:24:45 AM
Hi sapero,

just downloaded the latest build, installed over the existing, and tried again.
Still it does not work for me.
In fact, I just noticed that I do not get the dll loading info either in the debug tab.
I am using the trial version if that helps/matters.

The code works fine in EB v1.737

Maybe it is just me.  Anyone else see this issue?

[EDIT]  just some more info... After compiling and running the debug build, the debug tab does not get switched to, the view remains on the build tab.  If I manually switch to the debug tab, it is totally blank.
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 17, 2011, 08:39:46 AM
Re-compiled and uploaded latest version.

Larry
Title: Re: 2.0 Issues
Post by: sapero on March 17, 2011, 09:37:05 AM
Larry, you are too fast!

Recent fixes:
1. Debugged program is now running in its own directory (working directory) instead /bin
2. Larry uploaded (the fix above)
3. Fixed a bug in disphelper module: when assigning a property to IDispatch variable, the variable initially/on failure was not set to NULL. It could cause a crash when the variable was defined locally, and the property failed:

sub xx
IDispatch word = CreateComObject("Word.Application")
IDispatch doc = word.Documents.Open("invalid path") ' doc IS now initially set to NULL
Title: Re: 2.0 Issues
Post by: Guilect on March 17, 2011, 10:08:49 AM
Just tried latest build.
Same issue for me.
I do get a 'DOS' window via cmd.exe that pops ups when running from the IDE that says "press anykey to continue..."
Title: Re: 2.0 Issues
Post by: sapero on March 17, 2011, 10:20:08 AM
I have no idea where is the problem. What should your program do, but does not?
"does not work" tells me nothing. I understand it as "something is not working, but I don't tell you more" ;D
Title: Re: 2.0 Issues
Post by: Guilect on March 17, 2011, 10:52:34 AM
I was referring to the the same program a few posts above that should display 0 through 10 in the debug tab.
The DOS window that pops up is not from my program but something that the IDE or parser or debugger calls.
I expect the same behavior from v2.0 as i get from previous versions.
That is when compiling and running a debug mode program from the IDE, to see  the IDE automatically switch to the debug tab and see dll loading messages and ultimately the output from the debugprint commands in a programs sourcecode.  But no automatic switching to the debug tab happens.  And there is no text at all in the debug tab once it is manually selected and viewed.
Title: Re: 2.0 Issues
Post by: sapero on March 17, 2011, 11:39:23 AM
I hope I understand the problem now.
To start a debug session, you need to click the associated menu item or toolbar button called "Debug Start", or just press F9 key.

Compile and execute should do what it says: compile and execute. Previously this command did something else than it should do - it compiled, but then executed or started debugging. Additionally, if your program was compiled in debug mode, it was not possible to execute it without switching windows to a file manager.

Tell me if you really want to have it back - Clicking command A will execute command B ?
Title: Re: 2.0 Issues
Post by: LarryMc on March 17, 2011, 12:01:52 PM
@Guilect
the 'trial' version and the 'registered' version is one and the same.

I downloaded the version currently available just like you did.
I compiled your program and ran it.
The console window opened up as you described and there was no auto switch to the debug tab.
Manually switched to debug tab and there were no entries.
So, I duplicated your problem.

However, I recompiled and ran several times and here is what is happening.
If I click compile(in console debug)the program compiles and automatically runs. I get the console window,as you described, even though I shouldn't based upon your code.There is no automatic switch to the debug tab but manually switching to the debug tab the info is there as expected(after that initial time it has never been blank).

If I put the tab back in build and click the run button I get exactly what I expected.
No window opens(because your program opened and closed it too fast to see).
The IDE automatically switched to the debug tab and the expected information is there.

I repeat that process over and over with the same results.  

I 'compiled and ran' the program in EBasic and it locked EB up. That was because it closed the window(app) while still in debug).  I couldn't get it out of debug without shuting the IDE down. And there was never any info in the debug tab on multiple tries.

Anyway, that's what I've observed.

My opinion is the compile button should compile; the run button should run.
In my visual designer I have added a 3rd button which is a 'compile and run' option.

LarryMc
Title: Re: 2.0 Issues
Post by: Logman on March 17, 2011, 12:16:44 PM
Quote from: Rock Ridge Farm (Larry) on March 17, 2011, 08:39:46 AM
Re-compiled and uploaded latest version.

Larry


Nope, same error reported. New "floating license" version does not accept my original unlock code or user name. Machine register number remains the same.

Logman  :(
Title: Re: 2.0 Issues
Post by: Bruce Peaslee on March 17, 2011, 01:27:39 PM
My problem just gets more weird!

I opened the directory where the project is located so I could watch it. Compiling once creates the exe file which appears to operate as expected. I can click on the exe file and it works. Compiling a second time fails to link, and when I click on the exe file it won't run and gives an error: "Windows cannot access the specified ... file."

Closeing the IDE causes the exe to vanish!
Title: Re: 2.0 Issues
Post by: Guilect on March 17, 2011, 02:01:07 PM
@ Larry,

thanks for looking in to this.  I was most thrown by the fact that the behavior is different from EB (I never had any issue with running that program in EB IDE, no lock up, I mean why would it, it is a very simple striaght forward piece of code).
I also thought that pressing the "compile and execute" button would behave the same as pressing the "compile" and then the "execute" buttons.
But now that I know what to do I can live with that.
Cheers.
Title: Re: 2.0 Issues
Post by: Logman on March 18, 2011, 04:56:58 AM
Larry:

Thanks for all the "unlock codes." They all worked on the "floating license"/"updated version" and I'm up and running on each system.

It's great to be back in business.

Thanks,

Logman :)
Title: Re: 2.0 Issues
Post by: billhsln on March 18, 2011, 11:19:09 PM
Very minor problem in lexer.  It seems that INT is not considered a definition like STRING is.  Should show up in 'definition color' for me, but shows up in 'keyword color'.

Thanks,
Bill
Title: Re: 2.0 Issues
Post by: Bruce Peaslee on March 19, 2011, 10:39:21 AM
I am attaching my program for folks to test in their environments.

Thanks in advance.
Title: Re: 2.0 Issues
Post by: LarryMc on March 19, 2011, 11:56:26 AM
Quote from: peaslee on March 19, 2011, 10:39:21 AM
I am attaching my program for folks to test in their environments.
Bruce
compiled and ran it a dozen times (1/2 closed with exit and 1/2 closed with x)
no problems whatsoever
it did exactly what I would expect it to do.

LarryMc
Title: Re: 2.0 Issues
Post by: Brian on March 19, 2011, 12:09:19 PM
Bruce,

Same here. Ran about half a dozen times, using the close button and file>exit,
then re-compiling
Had to add a RETURN 0 at the end of the subMain, that's all
No Compiler Options set
Windows XP SP3

Brian
Title: Re: 2.0 Issues
Post by: ckoehn on March 19, 2011, 03:14:00 PM
Bruce,

Same here as Brian.  Added RETURN 0 at the end of sub Main.  Ran fine on my Win7 x64.

Clint
Title: Re: 2.0 Issues
Post by: Bruce Peaslee on March 19, 2011, 03:35:38 PM
The change doesn't help here.

Are you running it as a project? That's where I have my problem. It works fine as an individual file.

Thanks for testing.

Bruce
Title: Re: 2.0 Issues
Post by: Brian on March 19, 2011, 05:07:26 PM
Bruce,

Just tried it as a Project - no problems

Brian
Title: Re: 2.0 Issues
Post by: LarryMc on March 19, 2011, 05:13:19 PM
Quote from: Brian Pugh on March 19, 2011, 05:07:26 PM
Bruce,

Just tried it as a Project - no problems

Brian

Same for me.  XP SP3

LarryMc
Title: Re: 2.0 Issues
Post by: ckoehn on March 19, 2011, 08:21:04 PM
Ah yes.....

I installed  project call "skeleton2".  Loaded the file into the project.  Hit compile/run button.  Ran fine.  Hit it again and received the error below.

You have to exit out of the IDE,  start the IDE up again and then you can compile/run it one more time.  Then the below error shows up and you cannot compile it again.

Running Win7 x64.


Compiling...
skeleton2.iwb

Linking...
IWBasicLinker v1.12 Copyright ÂÃ,© 2009,2010 Ionic Wind Software
Generating skeleton2.exe
Error: Unable to open output file skeleton2.exe
Error(s) in linking skeleton2.exe


Later,
Clint
Title: Re: 2.0 Issues
Post by: whitenite1 on March 19, 2011, 08:32:07 PM
Clint, did you first exit 'skeleton2.exe' before trying to re-compile? I know I've accidentally tried to re-compile a program after making some changes, forgetting to quit the running program first. Just a thought.

whitenite1
Title: Re: 2.0 Issues
Post by: ckoehn on March 20, 2011, 07:33:18 AM
Yes I did.  I couldn't find it in task manager in the program or processes.  I think I basically duplicated Bruce's problem.

In fact I deleted "skeleton2.exe" under the iwb2 project folder and it made no difference.  Is there another place that the exe file would be written to?

Later,
Clint
Title: Re: 2.0 Issues
Post by: LarryMc on March 20, 2011, 07:54:03 AM
I remember reading something, somewhere, about win7 storing files in two different places.
Can remember how that works or how it may or may not impact IWB2.

LarryMc
Title: Re: 2.0 Issues
Post by: sapero on March 20, 2011, 09:33:14 AM
Windows 7 prevents an application from modifying and deleting dll/exe files, if the application is not installed in one of the trusted locations, like Program Files. The application will be able to create an exe, but after closing a handle to it, it will be not allowed to modify/delete it:

FILE f
if (OPENFILE(f, "blah.exe", "W"))
MESSAGEBOX 0, "Error creating file", ""
else
CLOSEFILE f
if (!DELETEFILE("blah.exe"))
MESSAGEBOX 0, "Error deleting file", ""
endif
endif


You can run the IDE as an admin, hoping that the linker will inherit admin token, or install the software in a trusted location.
In the first case, you could also try adding a manifest to the linker, to be sure that is will inherit the administrator token:

/installdir/bin/elink.exe.manifest
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity processorArchitecture="*" version="2.0.0.0" type="win32" name="IWBasic linker"/>
<description>IWBasic linker</description>
<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
<ms_asmv2:security>
<ms_asmv2:requestedPrivileges>
<ms_asmv2:requestedExecutionLevel level="asInvoker" uiAccess="false" />
</ms_asmv2:requestedPrivileges>
</ms_asmv2:security>
</ms_asmv2:trustInfo>
</assembly>
Title: Re: 2.0 Issues
Post by: ckoehn on March 20, 2011, 11:32:46 AM
I does seem to have a problem installing in the default directory "C:\Program Files (x86)" on Win7. I didn't try everything that sapero mentioned, but I did try to run it as administrator and it didn't work.

I re-installed it under the root directory "C:\iwbdev" and everything works as expected.

Later,
Clint
Title: Re: 2.0 Issues
Post by: ckoehn on March 20, 2011, 11:36:26 AM
I wrote too fast. :(

I tried it several times and it seemed to work.  I shut the IDE down again and reloaded and tried again.  And it doesn't work.  Something to do with making a project out of it.  It will compile and run as a standalone, but not as a project.

Later,
Clint
Title: Re: 2.0 Issues
Post by: ckoehn on March 20, 2011, 12:09:24 PM
I challenge anyone to make it work. :)

Create a new project and give it a name.

Load a file and attach it to that project.

Compile/run it.  It will work the first time.

Exit it.

Compile/run it.  It will not run again until you exit the IDE and start it backup again.

It almost looks like the IDE stores a list of running project exe's that does not get cleared out when the program ends.  You will not find it anywhere in task manager.  You can even delete off of disk.  Nothing makes any difference.  You can change the program name under Options and it will run only once.  Then you cannot compile and run it again.

The program that Bruce had is very basic.  It is coded right as far as I could see.  It should work.

Later,
Clint
Title: Re: 2.0 Issues
Post by: Brian on March 20, 2011, 01:01:43 PM
Well, I took up the challenge, and won it!

Maybe it's because I'm on Win XP SP3 - I just don't have any problems. IWB is installed
in the installer's default places. I have now got six of my IBP/EBA programs converted
(with minimal effort, usually the odd RETURN 0's), and they all run fine

Now that is not to say that when IWB was first issued I didn't have problems - I did. But
downloading Sapero's latest Includes fixed a lot for me, including not being able to re-compile
programs without having a quick re-boot

Try the latest includes in Tips and Tricks. Turn on Zero Local Variables in the compiler options
(that worked for one of my programs)

Brian
Title: Re: 2.0 Issues
Post by: ckoehn on March 20, 2011, 02:28:52 PM
I should have said Win7 x64, shouldn't I have?  ;D

I think that I have sapero's latestes includes "IWBasicHeaders10March2011".

I tried different Compiler Options but none of them seemed to work.  There was none checked before.

I think the thing that is frustrating, is the EBasic works fine on the same file on Win7 x64, installed in the default directory.  It just seems that IWBasic should also be able to be installed and run the same program, just like EBasic was.

I am trying this mostly for Bruce.  Most of my programs I don't compile as projects,  but there are some that it is preferred to do so,  so I would like to see it work.

Later,
Clint
Title: Re: 2.0 Issues
Post by: Pip1957 on March 20, 2011, 02:41:35 PM
Win 7 64bit sp1, Tried this as a project and the only time I could recreate the error is if I click compile and execute button or menu option, if I choose rebuild all it works ok and you can rebuild as many times as you like with no error.
Title: Re: 2.0 Issues
Post by: ckoehn on March 20, 2011, 03:01:12 PM
Pip1957,  you are right.

If I click on Rebuild All, then click on the button that "Runs" it, it works.  And yes, I can do that as many times as I want.  It is a work around.

Later,
Clint
Title: Re: 2.0 Issues
Post by: Bruce Peaslee on March 20, 2011, 03:07:08 PM
It works for me, too.

Thanks to everyone who took the time to help sort this out.
Title: Re: 2.0 Issues
Post by: Barney on March 20, 2011, 05:21:12 PM
Quote from: ckoehn on March 20, 2011, 03:01:12 PM
Pip1957,  you are right.

If I click on Rebuild All, then click on the button that "Runs" it, it works.  And yes, I can do that as many times as I want.  It is a work around.
I can confirm this behaviour on W7 x64. EBasic works regardless of the compilation type. IWBasic does not work if Compile & Run is used.

Barney
Title: Re: 2.0 Issues
Post by: Barney on March 23, 2011, 01:16:16 PM
Khm, khm...

I am sorry to be the one that rocks the boat but I'd like to know if us who are using Win7 x64 are the only ones who cannot click on source or project files in order to start working? Same question goes for the drag & drop operationwith source or project files. I know and understand that Sapero is probably overwhelmed at the moment but this is something I think really should be sorted out before other things.

Sorry once again, but I simply can't work properly by using File->Open approach, and if the solution is not found relatively soon I'll regrettably have to leave one of the few languages I've grown up to enjoy. :(

Barney
Title: Re: 2.0 Issues
Post by: Brian on March 23, 2011, 01:56:10 PM
Hi,

I can confirm with XP SP3 that double-clicking on an iwb or iwp file that it
opens the IDE, but not the actual file. Not a ball-breaker, but a bit annoying

(And still no icons!)

Brian
Title: Re: 2.0 Issues
Post by: Barney on March 23, 2011, 03:59:02 PM
Yeah, it's the same here. Clicking on the file opens the IDE but not the file. Same as not being able to work straight away and perhaps it's not a ball-breaker for you but it is for me, due to the way I work.

At least I know it's not W7 x64 problem only.

Barney
Title: Re: 2.0 Issues
Post by: sapero on March 24, 2011, 01:26:39 AM
Hi guys, the problem with icons and opening files is related to the protection system.
The iwbdev.exe executable is not the real IDE, this is an Borland-made app which extracts the IDE to temporary file, and then deletes it when you close the IDE. If you register file extensions, clicking an iwb file will load that file to the running IDE, but if you close the IDE, it will be no more working. File icons will be valid while the editor is running, because there is a reference to our temporary executable, so after you close the IDE, file icons will be valid only in the cache of your file manager.

The problem with icons can be solved if we save the icons as regular .ico files, and register paths to .ico files instead to the temporary .exe.
The problem with executing the IDE when clicking a source file, could be solved by hardcoding executable name in the file extensions registration command - iwbdev.exe instead the temporary exe (the current module name).
Title: Re: 2.0 Issues
Post by: billhsln on March 24, 2011, 02:12:03 AM
I am running Win 95, I registered IWB to run iwbdev.exe, which seems to work partially.  When I click on an IWB file, the IDE does start, but it does not pull in the file, what I get is the following error:

Windows cannot find 'C:\Documents and Settings\All
Users\Documents\IWBasic\MyProgs\DirectoryFileSize.iwb'. Make sure you
type the name correctly, and then try again. To search for a file,
click the Start button, and then click Search.

Maybe we are having problems with files, due to spaces in the full file path 'All Users'?  Just a thought, it was a problem in prior a prior version.

Thanks,
Bill
Title: Re: 2.0 Issues
Post by: ckoehn on March 24, 2011, 06:32:34 AM
Thanks for your reply to this problem sapero,  but why does EBASIC work?

I too can confirm this on Win7 x64.

Clint
Title: Re: 2.0 Issues
Post by: LarryMc on March 24, 2011, 07:27:20 AM
EBasic used a much, much more expensive license software that worked differently.

LarryMc
Title: Re: 2.0 Issues
Post by: sapero on March 24, 2011, 08:02:54 AM
Good news: the icons are now working, and the IDE loads files from the file manager (explorer).
I just did as said:
1. added four icons to the setup, so they will be installed in /bin folder, changed the register file extensions code to link file types to pure icon files instead icons embedded in the IDE as resources.
2. Created a helper program for DDE processing. It will be executed by the explorer when you doubleclick a source file. It will then execute the IDE and forward to it DDE messages received from explorer, with a total timeout of 5 seconds.

The helper program is working okay so far, but it depends on the file name of the real, temporary, extracted IDE. On my system this is a hidden file in /bin directory, called iwbdev_xshld4.exe. If the file is same on your systems, or does not change, all will be working, at least until we find a better solution.

Going back to make a note and upload changes.
Title: Re: 2.0 Issues
Post by: LarryMc on March 24, 2011, 12:11:57 PM
It's also iwbdev_xshld4.exe on my computer.
LarryMc
Title: Re: 2.0 Issues
Post by: sapero on March 24, 2011, 12:38:22 PM
Okay, I've uploaded the helper app and integrated it with the setup (it can't be downloaded yet because LarryS is away and cannot test it/upload to the server.

If you want to test it, the source is attached (requires windowssdk.inc). How-to compile and install manually:
1. Compile as "windows" target.
2. copy the generated exe to iwbasic/bin directory (it must be able to run iwbdev.exe).
3. In regedit, navigate to HKEY_CURRENT_USER\Software\Classes\IWBASIC\shell\open\command
4. edit the default value replacing the exe name with ddehelper.exe. It should look like:
"C:\Program Files\IWBASIC\bin\ddehelper.exe" /dde
5. doubleclick any iwb file - the IDE should open/focus and load the file. The helper app will terminate after 10 seconds from the last DDE activity.

Note: the subkey you modified in step 4 handles only *.iwb files.
Let me know if you stuck on an syntax error! Just before uploading, I've noticed and removed WITH-ENDWITH block :)



Added "preprocessor color" button to the editor options (File menu).
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 24, 2011, 12:44:39 PM
It is ready for download now.

Larry
Title: Re: 2.0 Issues
Post by: DominiqueB on March 24, 2011, 01:00:32 PM
Thank's sapero.

Just an error when compiling:

line 121 : SHELLEXECUTEINFO shi = 0

don't want to put an int to a structure !

Had to delete the "= 0" and now it works.

Dominique
Title: Re: 2.0 Issues
Post by: LarryMc on March 24, 2011, 01:22:48 PM
Installed latest on XP
With IDE closed, double clicking an iwb file does absolutely nothing that I can see.

With IDE open:
1. double clicking opens/focus file as expected.
2. dragging iwb from windows explorer to IDE works as expected.

Tried preprocessor color; does not change color of $include preprocessor.

LarryMc
Title: Re: 2.0 Issues
Post by: Brian on March 24, 2011, 01:25:48 PM
Just installed, went OK, XP SP3

Icons show in Explorer, double-clicking on an IWB or IWP opens the IDE
but not the file with it

The hidden filename is same as Larry's and Sapero's

Brian

PS: I installed the new ddehelper, and find that it will open a program into the IDE,
but only if the file was the last one that had been opened

Double-click on a file that is different to the last one opened, and it fails
Title: Re: 2.0 Issues
Post by: LarryMc on March 24, 2011, 01:36:20 PM
Quote from: LarryMc on March 24, 2011, 01:22:48 PM
Installed latest on XP
With IDE closed, double clicking an iwb file does absolutely nothing that I can see.

With IDE open:
1. double clicking opens/focus file as expected.
2. dragging iwb from windows explorer to IDE works as expected.

LarryMc
IWP files respond exactly like IWB files.

Also checked and the preprocessor color registry entry is present.

@Sapero - I know you had been using a newer Scintilla file.  Is the download in sync with what you tested the pp color on?

LarryMc
Title: Re: 2.0 Issues
Post by: sapero on March 24, 2011, 02:30:30 PM
The recently uploaded setup is not the correct/newest one. Larry uploaded some older version without icons in /bin. He will upload again.
QuoteAlso checked and the preprocessor color registry entry is present
It was there for ages, but the IDE had no option to modify and use it.
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 24, 2011, 02:42:20 PM
re-compiled and uploaded - Icons are in the bin dir but it is still not
working on Win 7 for me.

Larry
Title: Re: 2.0 Issues
Post by: LarryMc on March 24, 2011, 03:14:09 PM
downloaded/installed ver ????

preprocessor color now works

no change with doubleclicking
If IDE is open, file will open
If IDE is closed, IDE does not open and file does not open.

I installed on top of existing install.
XP
Not in Program Files folder
checked file registration and it says use ddehelper

LarryMc
Title: Re: 2.0 Issues
Post by: billhsln on March 24, 2011, 04:16:45 PM
INT still comes up in the wrong color.

Bill
Title: Re: 2.0 Issues
Post by: LarryMc on March 24, 2011, 04:47:29 PM
Quote from: billhsln on March 24, 2011, 04:16:45 PM
INT still comes up in the wrong color.

Bill
Same here, it's being treated like the function when it should be a type declaration.

LarryMc
Title: Re: 2.0 Issues
Post by: sapero on March 25, 2011, 01:16:23 AM
INT is a type and a function, see in iwbstd.incc:
'${command}INT
In scintilla, int is available in two keywords sets, 0 and 1. The first set has highest precedence, so int is styled in blue. The IDE adds INT to the second group (as variable type), and while loading the incc file adds it also to the fitst group, because it is marked as a command.

Ok, removed it from iwbstd.incc for the next update.
Title: Re: 2.0 Issues
Post by: Barney on March 25, 2011, 03:45:55 AM
Look guys, I don't want to be obnoxious but you are behaving like children. Playing with pretty colours which IMHO are not really necessary, while at the same time running around the main problem. Double clicking or single clicking or whatever clicking on the .iwb or .prj files should start the IDE (if it is not already started) and load all necessary files so that a man can start working immediately. Also bear in mind that there are some of us who are not using Windows Explorer at all. I for example am using Total Commander ever since it was introduced more than a decade ago and would never go back to the ugly world of Windows Explorer.

And as a customer I really don't care about stupid (yes, stupid) protection scheme problems. If this protection system is not good, change it so that it does not interfere with the real work. I did not pay my money for the protection but for the working IWBasic and since the number of sold units is so low anyway and since (as far as I can tell) all of us here are normal people get rid of the protection completely. Yes, protect the trial version but give us, legal customers, a special protected place where we can download proper (unprotected) IWBasic so that we can start working and not thinking about "what will happen now when I start the program".

BTW. Regarding the protection I was bored last night and it took me about half hour to break it. So, if I can break it in such short time and I am definitely not into that kind of thing, just imagine what will real warez group do. They will probably need a few minutes and the only reason why there are no IWB copies out there in the wild is that it is not interesting enough.

Remember that we are not using a game here but a supposedly professional development system and most of us are professionals so the last thing we want is to steal sapero's or LarryS' or LarryMc's work.

O.K. I've let off my steam and LarryS can do whatever he wants with me but I've said what I had to say and will say it any time there's a problem I think should be solved quickly. We are here to enjoy this product, not to fight with it.

Barney
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on March 25, 2011, 06:52:04 AM
We are working on the .iwb click issue - Sapero and I spent yesterday working on that and will
most likely be working on it today. Sometimes we are doing stuff but not posting in the forum
because we have not made enough progress to post.

As for protection - it is set to minimal at this time.
If you question the need search bit torrent for the various post about
cracking Ebasic/IWBasic - someone posted it there.

Larry

Title: Re: 2.0 Issues
Post by: sapero on March 26, 2011, 02:46:22 AM
I have installed Win7 and IWBasic (in Program Files).
Setup failed to run iwbdev.exe - elevation required. The setup should use ShellExecute instead CreateProcess.

Uac prompts each time when executing iwbdev.exe.
File associations - ok.
Compilation - ok.
Clicking an iwb file is working correctly when the IDE is closed and running.
Title: Re: 2.0 Issues
Post by: barry on March 27, 2011, 08:29:25 PM
Quote from: Rock Ridge Farm (Larry) on March 25, 2011, 06:52:04 AM
As for protection - it is set to minimal at this time.
If you question the need search bit torrent for the various post about
cracking Ebasic/IWBasic - someone posted it there.

So what!  It doesn't matter what you do.  It'll get posted.  You can't protect it from serious pirates.  You can only hassle your customers.

The vast majority of the people who would buy this program if they can't get it any other will will also buy it even if it's available on pirate sites.

Why not remove the protection from the licensed versions and focus on getting the bugs out.  Then consider some kind of protection if you have to.

Focusing on the protection problems now is kind of a dirty trick to play on your customers when they're waiting for bug fixes.  I was saving my money to eventually buy a copy but watching all this I'm not sure I want it now.

Barry
Title: Re: 2.0 Issues
Post by: REDEBOLT on March 27, 2011, 11:35:37 PM
Quote from: barry on March 27, 2011, 08:29:25 PM
I was saving my money to eventually buy a copy but watching all this I'm not sure I want it now.

Barry


I agree.   :-\
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on April 10, 2011, 05:45:41 AM
As many of you know we were under almost constant attack over the last 2 weeks.
I finally found the injected code and hope to have closed it.

With that said, I have lost track of any current issues with 2.0.
If you are still having an issue that we have not addressed
can you post it here - it will save me lots of searching.

Larry

Title: Scrollbars acting up
Post by: Brian on April 11, 2011, 11:48:10 AM
Larry,

When you have compiled your program (failed or not failed), the scrollbars in the Build window
go all peculiar. Mainly, if you have an error line longer than the Build window, the vertical
scrollbars get stuck, and the horizontal scrollbar disappears. If you click where the horizontal
scrollbar should be, it appears

Brian
Title: Double-clicking a source file
Post by: Brian on April 11, 2011, 12:01:46 PM
Larry,

I still can't open a source or project file and have it open directly into the IDE. I have
tried setting both extensions to open with ddehelper and iwbdev, with no success

Icons are OK, though, and display in Explorer

Brian
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on April 11, 2011, 12:38:03 PM
We are still working on that.

Larry
Title: Re: 2.0 Issues
Post by: sapero on April 11, 2011, 03:58:12 PM
Brian, I've update my DDE helper and the IDE - Larry needs to update the setup. Ddehelper will communicate with the IDE using localy bound socked, so UAC should not deny it. Previously the dde helper used messaging to forward DDE messages to the IDE. If you played with UAC settings, you probably increased security level, disabling windows messages exchange from less privileged process (file manager - explorer) to more privileged IDE.

Now the IDE will open a tiny local TCP server at 127.0.0.1:random. The dde helper will connect to this address and send full path to the file you want to open. The randomly selected port number is stored in IDE's main registry key, so the dde helper will know where to connect.
The ip address 127.0.0.1 is safe, only locally running applications are able to use it.

On Vista/Win7 with UAC active, you will be not able to open files with drag-drop, unless the source application is running as administrator (UAC related protection).
Title: Re: 2.0 Issues
Post by: Brian on April 12, 2011, 04:21:13 AM
Sapero,

Good to hear you are dealing with the problem, but I can quite honestly say I have
never "played" with the UAC settings. Never had the need to with Win XP, and never
had any program that wouldn't run for me without tweaking the UAC

Brian
Title: Re: 2.0 Issues
Post by: zaphod on April 13, 2011, 12:06:19 PM
Hello,

I try to compile a project with version 2.003 and i have an error :


Compiling Resources...
No Errors

Compiling...
psadt.iwb
File: C:\xxx.iwb (148) Warning: RETURN value expected.

Linking...
IWBasicLinker v1.12 Copyright © 2009,2010 Ionic Wind Software
Unresolved external _sprintf
Error: Unresolved extern _sprintf
Error(s) in linking xxx.exe

Title: Re: 2.0 Issues
Post by: Brian on April 13, 2011, 12:21:51 PM
Zaphod,

It's telling you that you need a RETURN 0 before the ENDSUB

If you have a subroutine that's purely code, with no messages or
endselects, etc, you can get away without a RETURN at all, just
an ENDSUB

It's probably your main sub that needs it

Brian
Title: Re: 2.0 Issues
Post by: sapero on April 13, 2011, 12:53:35 PM
Remove the underscore from _sprintf (and from all other unresolved functions), it is no longer required.
Title: Re: 2.0 Issues
Post by: sapero on April 14, 2011, 12:17:46 AM
For those with _sprintf problem - the USING function causes it (has been not updated yet) - please download and unpack the attached library, then copy it to IWBasic/libs directory, overwriting the old file.

The library will be updated in the next release of IWBasic setup file, in few hours (I hope Larry will upload it this morning).
It is now online in the setup, so removing attachment.
Title: Re: 2.0 Issues
Post by: zaphod on April 14, 2011, 01:29:30 AM
Good job Sapero !
I can compile my source with version 2.003.
The bug with using (linker error) is gone.
The math bug with quad is gone.
The exe is 2ko less with optimisations.

The debug is still buggy : cant stop.
The little window build/debug/find : the scrollbars are buggy.
Sometimes the arrows disapear, sometime arrows key are doubled...

Please, can you tell us when a new version is ready to download ?
Title: Re: 2.0 Issues
Post by: sapero on April 14, 2011, 02:26:07 AM
I can't tell you, because I am uploading files to Larry, and Larry builds the setup and uploads it to ionicwind server.

Repaint problem in the IDE has been solved, Larry will upload a new setup today.
Title: Re: 2.0 Issues
Post by: Rock Ridge Farm (Larry) on April 14, 2011, 06:52:15 AM
Re-compiled and uploaded.

Larry
Title: Re: 2.0 Issues
Post by: ckoehn on April 14, 2011, 11:00:29 AM
I encounter this error on compiling this program.

$include "windowssdk.inc"

window w1
OPENWINDOW w1,0,0,640,480,@MINBOX|@MAXBOX|@SIZE,0,"Test Window",&main

Gradient(w1,0,0,0,255,0,0)

WAITUNTIL w1=0
END

SUB main
SELECT @MESSAGE
CASE @IDCREATE
CENTERWINDOW w1

CASE @IDCLOSEWINDOW
CLOSEWINDOW w1

CASE @IDSIZE
Gradient(w1,0,0,0,255,0,0)

ENDSELECT

return 0

ENDSUB

SUB Gradient (window mWin, int sRed, int sGreen, int sBlue, int eRed, int eGreen, int eBlue)
int l,t,w,h
float dRed,dGreen,dBlue,cRed,cGreen,cBlue

GETCLIENTSIZE mWin,l,t,w,h

SETWINDOWCOLOR mWin,rgb(sRed,sGreen,sBlue)

dRed=eRed-sRed
dGreen=eGreen-sGreen
dBlue=eBlue-sBlue

FOR i=0 to h
cRed=sRed+(dRed*i/h)
cGreen=sGreen+(dGreen*i/h)
cBlue=sBlue+(dBlue*i/h)

'RECT mWin,0,i,w,i+5,rgb(cRed,cGreen,cBlue),rgb(cRed,cGreen,cBlue)
'LINE mWin,0,i,w,i,rgb(cRed,cGreen,cBlue)',rgb(cRed,cGreen,cBlue)
ELLIPSE mWin,i/2,i/2,w-i,h-i,rgb(cRed,cGreen,cBlue),rgb(cRed,cGreen,cBlue)
NEXT i
ENDSUB


Title: Re: 2.0 Issues
Post by: LarryMc on April 14, 2011, 11:35:14 AM
I compiled the program without any issue at all.

Have you downloaded and installed the latest version of IWB2?

Have you downloaded and installed the latest version of Sapero's Include files?

LarryMc
Title: Re: 2.0 Update
Post by: Brian on April 14, 2011, 12:12:35 PM
Hi, Chaps,

Looking good so far. Compiled three of my programs with no problems
Can double-click a source or project file, and it opens into the IDE
Scrollbars looking OK, as well. Testing further...

Brian
Title: Re: 2.0 Issues
Post by: sapero on April 14, 2011, 12:19:13 PM
Ckoehn, you have enabled Do not generate vftable in classes compiler option

If you still need it active, move the CIWBasicBaseUnknownClass class below the second option:
$option "novtable push"
$option "novtable off"
' here: class CIWBasicBaseUnknownClass ... endclass
$option "novtable pop"
Title: Re: 2.0 Issues
Post by: ckoehn on April 14, 2011, 05:32:44 PM
Thanks sapero.  That was the problem.

Later,
Clint
Title: Re: 2.0 Issues
Post by: talun on April 15, 2011, 03:25:03 AM
Hi,
While I was writing some simple wrappers for GDI+ functions, I noticed that if you enable the option to optimized builds, the GDI+ initialization fails; compiled without optimization everything seems to work fine.
Below I've attached a simple example of code that reproduces the problem, just try to compile with or without optimization enabled.
Please note that I am using the latest version of the include file (April 11, 2011)


$include "windowssdk.inc"
$include "gdiplus.inc"

UINT gdi_token
INT gdi_status
window win

OPENWINDOW win,0,0,800,600,@MINBOX|@MAXBOX|@SIZE,0,"Gdi+ Test",&main
WAITUNTIL win = 0

END


'------------------------------------------------------------------------------
sub main

select @message

CASE @IDCREATE
CENTERWINDOW win
gdi_status = Gdip_Init(gdi_token)
messagebox win, Gdip_Message(gdi_status),"GDI+ Report"
CASE @IDCLOSEWINDOW
Gdip_end(gdi_token)
closewindow win
end select

return 0

end sub


' -------------------------------------------------------------
sub Gdip_Init(UINT GDI_Token byref),int

   GdiPlusStartupInput GDI_Start
   int gdi_ret

   GDI_Start.GdiplusVersion = 1
   
   gdi_ret  = GdiPlusStartup(&GDI_Token,&GDI_Start,NULL)

   return gdi_ret

end sub


'----------------------------------------------------------------
sub Gdip_End(uint gdi_tok)

GdiPlusShutdown(gdi_tok)

end sub

'----------------------------------------------------------
sub Gdip_Message(int StatusNum),string

select StatusNum
case  0 : return "Gdi+ initialization was successful"
case  1 : return "Generic Error"
case  2 : return "Invalid Parameter"
case  3 : return "Out Of Memory"
case  4 : return "Object Busy"
case  5 : return "Insufficient Buffer"
case  6 : return "Not Implemented"
case  7 : return "Win32 Error"
case  8 : return "Wrong State"
case  9 : return "Aborted"
case 10 : return "File Not Found"
case 11 : return "Value Overflow"
case 12 : return "Access Denied"
case 13 : return "Unknown Image Format"
case 14 : return "Font Family Not Found"
case 15 : return "Font Style Not Found"
case 16 : return "Not TrueType Font"
case 17 : return "Unsupported Gdiplus Version"
case 18 : return "Gdiplus Not Initialized"
case 19 : return "Property Not Found"
case 20 : return "Property Not Supported"
end select

return ""

end sub





Any suggestions?

thanks

Sergio
Title: Re: 2.0 Issues
Post by: sapero on April 15, 2011, 03:44:41 AM
Invalid forum ;D
You need to initialize all members of GdiplusStartupInput structure before calling GdiplusStartup:
sub Gdip_Init(UINT GDI_Token byref),int

   GdiplusStartupInput GDI_Start=0
Title: Re: 2.0 Update
Post by: Egil on April 15, 2011, 05:24:14 AM
Quote from: Brian Pugh on April 14, 2011, 12:12:35 PM
Can double-click a source or project file, and it opens into the IDE

That still does not work here.
But after new download and reinstall last night, code ( made with v1.8 ) now compiles whithout error messages.

I should like to know how other users with non-english Win7 systems get along, and why does the double-click a file open the file in IDE work with EB v.1.783, and not with IWB1.8 and IWB2.0 ? ? ?
Title: Re: 2.0 Issues
Post by: talun on April 15, 2011, 05:27:12 AM
QuoteYou need to initialize all members of GdiplusStartupInput structure before calling GdiplusStartup:
Better that way.   :D
At least I learned that I can initialize a UDT in a single step ::).

Thank you very much

Sergio
Title: Re: 2.0 Update
Post by: LarryMc on April 15, 2011, 05:53:09 AM
Quote from: Egil on April 15, 2011, 05:24:14 AM
Quote from: Brian Pugh on April 14, 2011, 12:12:35 PM
Can double-click a source or project file, and it opens into the IDE
....why does the double-click a file open the file in IDE work with EB v.1.783, and not with IWB1.8 and IWB2.0 ? ? ?
EB v1.737 was the last version created by the previous owner.
IWBv1.8 and above were created from what LarryS was given to work with.
Some things had to be re-created because they weren't there.

Your problem can be resolved.  It could possibly have already been resolved if so much time had not been spent on the "hacker" who has been intent upon causing IW as much grief as possible.

Here's what I would try (if you haven't already done so).
1.Uninstall any and all copies of IWB2.0 on your computer.
2.Run install as admin
3.Install in a new empty folder.
4. When prompted to register file extentensions, do so. If not promptedthen select Tools/Register extensions when the IDE opens.
5. Close IDE
6. Dbl-clk iwb file and see if it opens
7. If it doesn't, open IDE and then dbl-clk iwb file to see if it will open file.

Let us know what happens (with as much detail as possible).

Thanks

LarryMc
Title: Re: 2.0 Issues
Post by: Egil on April 15, 2011, 08:01:24 AM
Thanks Larry,
Works just fine now! Had done everything you listed before, except for uninstalling the program before new install. (I was told weeks ago by LarryS NOT to uninstall before installing an updated version) :-\
When I first clicked on a source file to see if it opened, it was impossible  to get Windows7 to accept that iwbdev.exe should open the file. But when I checked ddehelper.exe instead, my source files now open in the IDE.

Thanks again!
Title: Re: 2.0 Issues
Post by: LarryMc on April 15, 2011, 10:10:41 AM
Quote from: Egil on April 15, 2011, 08:01:24 AM
(I was told weeks ago by LarryS NOT to uninstall before installing an updated version) :-\
And normally you shouldn't have to uninstall but the area where we were having problems could only be reset by uninstalling in this case.

Glad you're over the hump.

LarryMc
Title: Re: 2.0 Issues
Post by: billhsln on April 16, 2011, 05:02:06 PM
It seems that the assembler does not like file names with a single quote in it.

My Errors:

Compiling...
Evan's DVD Cataloger.iwb
File: C:\Users\Public\Documents\IWBasic\MyProgs\Bill's DVD Cataloger.a (415) warning: unterminated string
File: C:\Users\Public\Documents\IWBasic\MyProgs\Bill's DVD Cataloger.iwb (103) warning: unterminated string
No Errors

Linking...
IWBasicLinker v1.12 Copyright © 2009,2010 Ionic Wind Software
Generating C:\Users\Public\Documents\IWBasic\MyProgs\Bill's DVD Cataloger.exe
Build completed

It still compiles, just complains.

Thanks,
Bill
Title: Re: 2.0 Issues
Post by: AdrianFox on April 17, 2011, 01:19:28 AM
Doesn't using a single quote make it think the rest of the line is a comment?
Title: Re: 2.0 Issues
Post by: billhsln on April 17, 2011, 12:38:33 PM
A single quote in IWB does make it a comment, but it seems in the Assembly code, it complains about it.

Here is the code that it is complaining about:

call PopHeap
%line 89 C:\Users\Public\Documents\IWBasic\MyProgs\Bill's DVD Cataloger.iwb
jmp $Aborted
L00003:
mov eax, $dcnt
mov dword[eax], 0
mov eax,STR00011
push eax ; delete=0
mov eax, $DVD_Path
push eax ; delete=0
call $GetFilesFL
mov eax, $Ofile
push 65542
push eax
call $CLOSEFILE
%line 98 C:\Users\Public\Documents\IWBasic\MyProgs\Bill's DVD Cataloger.iwb
jmp $Final
$Aborted:


Bill
Title: Re: 2.0 Issues
Post by: sapero on April 17, 2011, 05:28:15 PM
Fixed, all paths passed to %line macro will be quoted. That was the second problematic character: ~'
Title: Re: 2.0 Issues
Post by: obelisk on April 25, 2011, 07:30:43 AM
I just re-installed the latest version of the setup file and I get a virus warning.
Title: Re: 2.0 Issues
Post by: LarryMc on April 25, 2011, 07:39:10 AM
Quote from: obelisk on April 25, 2011, 07:30:43 AM
I just re-installed the latest version of the setup file and I get a virus warning.

After reading your post I redownloaded and installed( with the exact same install zip file) and had no problem.
I use AVG for my antivirus checker.

LarryMc
Title: Re: 2.0 Issues
Post by: Brian on April 25, 2011, 09:26:22 AM
Oh no! Following this thread, I thought I would do the same as Larry,
and downloaded the latest installation. Now I can't compile my latest program.
Stops with:

Linking...
IWBasicLinker v1.12 Copyright © 2009,2010 Ionic Wind Software
Unresolved external _sprintf
Error: Unresolved extern _sprintf
Error(s) in linking Telegrapher.exe

I thought this was a problem with USING, which I am NOT using in my program

Any ideas?

Brian

PS: I can always go back to the previous installation
Title: Re: 2.0 Issues
Post by: Brian on April 25, 2011, 09:32:39 AM
OK, re-installed my previously saved IWB2 version, and I am using Sapero's headers
from April 10, and everything is now compiling OK

Are there any later headers that I need to use to solve my _sprintf problem?

Brian
Title: Re: 2.0 Issues
Post by: sapero on April 25, 2011, 09:50:45 AM
Brian, I've just checked the /libs directory, and could not find any reference to "_sprintf" symbol.
Your code, or an additional library must use it.

If you have a tool able to search in binary files (like totalcmd), try to find "_sprintf" using case sensitive and whole word settings. Search in /libs and project directory.

If you don't want to search, copy crtdll.lib from the "working" installation to the current, but save it (in /libs folder) as _crtdll.lib (or whatever you like), and then $USE it in your project.
Title: Re: 2.0 Issues
Post by: Brian on April 25, 2011, 10:40:29 AM
Downloaded Total Commander, and searched in my working installation
and project directory - not found

The only includes I'm using is Fletchie's ctl.inc and commctrl.inc, as well as
your windows.sdk inc

Now going to try the same with the latest installer - will let you know

Brian
Title: Re: 2.0 Issues
Post by: Brian on April 25, 2011, 10:46:44 AM
Sapero,

OK, reinstalled the latest update, and it found _sprintf in
c:\program files\iwbdev\libs\iwbstd.lib

I will go back to the previous install until we're fixed!

Brian


Title: Re: 2.0 Issues
Post by: sapero on April 25, 2011, 12:15:11 PM
My bad, I have uploaded the wrong library file to Larry - INSTR used _sprintf. That will happen no more :D.

Attached is the correct library for current setup. I will remove it when Larry updates the setup.
How to install:
1. Instal the current IWBasic
2. download the attached iwbstd.zip, unpack iwbstd.lib from it to /iwbasic_install_dir/libs, owerwrite the old file.
Title: Re: 2.0 Issues
Post by: Brian on April 25, 2011, 12:32:45 PM
Yep, that fixed it! Many thanks,

Brian
Title: Re: 2.0 Issues
Post by: zaphod on April 26, 2011, 04:26:37 AM
bug in debug = when i launch debug and close my app the ide close too.
on version 2.004 in win xp
Title: Re: 2.0 Issues
Post by: sapero on April 28, 2011, 12:08:21 PM
The IDE quits after 4 seconds if you debug simple MESSAGEBOX program.
Title: Re: 2.0 Issues
Post by: LarryMc on June 12, 2011, 07:59:06 AM
Everytime I open IWBasic it opens the project that was open when I shut down IWBasic.
That's fine and I like that.

The problem comes in how I start IWBasic back up.

If IWBasic is not running:
I double-click on any iwb or inc file located anywhere.
The IDE opens.
I get a messagebox saying
QuoteProject moved from original directory.
Update project files?
When I click either yes or no to clear the messagebox my project loads and the file loads properly.
My project hasn't changed directories in the last year and the file I double-clicked on is not part of a project and has nothing to do with my project.

It didn't act that way before.
LarryMc
Title: Re: 2.0 Issues
Post by: Pip1957 on June 21, 2011, 12:32:37 PM
version 2.512 and above of the compiler has broken my code for opening browsers, crashes program.
The sub that crashes program is below

'/// Show browswers
Global Sub browse(int a,int x,int y,int w,int h),int
string wi,hi,ttemp
OPENWINDOW browser[Question_number,a].border,x,y,w,h,@BORDER|@NOCAPTION,Maindlg,"",&borderhandler
OPENWINDOW browser[Question_Number,a].cont,-1,-1,w+30,h+15,@BORDER|@NOCAPTION,browser[Question_Number,a].border,"",&browsehandler
IF ATTACHBROWSER(browser[Question_Number,a].cont) <> 0
MESSAGEBOX (Maindlg,"Unable to create embedded browser","error",0)
CLOSEWINDOW browser[Question_Number,a].cont
CLOSEWINDOW browser[Question_Number,a].border
Else
wi=str$(w-2):hi=str$(h-2)
if (#qnum[Question_Number].layout=2)or(#qnum[Question_Number].layout=7)or(#qnum[Question_Number].layout=9)or(#qnum[Question_Number].layout=13)
filenam=graphicpath+#qnum[Question_Number].pic
else
ttemp=#qnum[Question_Number].a[0,a]
browser[Question_Number,a].imagepath=#qnum[Question_Number].a[0,a]
browser[Question_Number,a].imageanswer=convert(ttemp)
filenam=graphicpath+browser[Question_Number,a].imagepath
endif
url="About:<html><head><style type='text/css'>img {position:absolute; top:0px; left:0px }</style></head><body><img src='"+filenam+"' width='"+wi+"'; height='"+hi+"' /></body></html>"
BROWSECMD browser[Question_Number,a].cont,@NAVIGATE,url
ENDIF
return 0
endsub
Title: Re: 2.0 Issues
Post by: LarryMc on June 21, 2011, 01:23:32 PM
Since I don't have your UDT structure I can't dummy your code up in a test program.
The only things I can suggest are:
1. set the compiler option for initializing variables
2. run in debug mode with a dbprint between each line to see how far it gets.

LarryMc
Title: Re: 2.0 Issues
Post by: LarryMc on June 21, 2011, 01:29:09 PM
BTW, I have no problem opening a browser window with a program compiled with the latest version of the compiler.

LarryMc
Title: Re: 2.0 Issues
Post by: LarryMc on June 21, 2011, 01:54:54 PM
Quote from: zaphod on April 26, 2011, 04:26:37 AM
bug in debug = when i launch debug and close my app the ide close too.
on version 2.004 in win xp

Just a reminder that the above issue has never been totally resolved.
It happened to me several times last week while I was trying to track down a problem.

Aside from that I personally have no problems right now with the latest version.
And I recompile the IWB+ (in part or whole) probably 20+ times a day right now.
(And it does have a browser window).

However, it is only fair to say that I know of at least one person who gave up on 2.0 because of the problems he has with resetting of the program security. I install new updates now over my existing installation, which may be why I don't have those security issues.

LarryMc
Title: Re: 2.0 Issues
Post by: Pip1957 on June 21, 2011, 02:06:05 PM
Larry I can run the two browser examples that come with Iwb2 with no problems, I have just reinstalled win7 64bit on my computer and went back to iwb1.8 and my program works ok
I then install the latest ibw2 and the latest includes and it crashes in the sub I posted before.
Title: Re: 2.0 Issues
Post by: LarryMc on June 21, 2011, 02:16:14 PM
I don't doubt you're having the problem.

A good while back Sapero fixed several problems (through our private conversations) that appeared to be only impacting me because of the size and complexity of the designer program and all the differen things I do.

My suggestion to debug and see if you could find the line is what I had to do to narrow the problem down as much as possible for Sapero to be able to find it.

It might be something going on in another part of your program that is corrupting one of your UDT variables and it is showing up in this subroutine.

Can you rig up a stripped down version of your code that I can run and that duplicates your problem.  I'd be happy to play with it and see what it takes to make it work.

...besides, I need a break from this ^$$#^*&@ help file!!

LarryMc
Title: Re: 2.0 Issues
Post by: Pip1957 on June 21, 2011, 02:33:17 PM
Larry have just booted into my XP partition and the very same exe build that fails in win7 runs ok in XP no crash, also I copied over my iwbdev folder from xp to win7 partition which is compiler v2.002 and compile the program again in win7 and it works ok no crashes, will send you a rigged file when I can Cheers.
Title: Re: 2.0 Issues
Post by: LarryMc on June 21, 2011, 02:39:09 PM
Quote from: Pip1957 on June 21, 2011, 02:33:17 PM
Larry have just booted into my XP partition and the very same exe build that fails in win7 runs ok in XP no crash, also I copied over my iwbdev folder from xp to win7 partition which is compiler v2.002 and compile the program again in win7 and it works ok no crashes, will send you a rigged file when I can Cheers.

I'm running an XP so if it works on your xpthen I probably can't help you.  But your post made me think of a post Sapero made about filenames with spaces in the name in win7causing problems at one time.

LarryMc
Title: Re: 2.0 Issues
Post by: sapero on June 21, 2011, 11:20:59 PM
No crash here in win7 x64 (used the latest public iwb setup).
I've created two dummy structures to get it compile.
Title: Re: 2.0 Issues
Post by: LarryMc on June 21, 2011, 11:26:10 PM
That would make me think it's the contents of one of those UDT elements is getting trashed.

But that is what we use to call a WAG (wild-a$$ guess) ;D

LarryMc
Title: Re: 2.0 Issues
Post by: Pip1957 on June 23, 2011, 02:40:39 AM
Your Dummy example works ok, I booted my XP partition and upgraded to the latest version of compiler and includes and my program compiles and runs with no errors.
Booted back to win7 and tried the compiled exe from the XP compile and it crashes after opening the browser to display a picture.
have checked with a messagebox that all the data from the structures is correct no problems there
I can compile and run the program ok in Win7 if compiled with version 2.002 compiler.
Title: Re: 2.0 Issues
Post by: sapero on June 23, 2011, 08:40:23 AM
Could you catch up where the exception occurs? Or, at least attach your executable with debug info?
Title: Re: 2.0 Issues
Post by: LarryMc on June 24, 2011, 02:53:29 PM
Pip1957

It's my understanding that Sapero got your problem fixed, is that correct?


LarryMc
Title: Re: 2.0 Issues
Post by: Pip1957 on June 24, 2011, 03:01:44 PM
Yes Larry he found a bug in the browser library and sent me the updates that he did which cured my problems.  :D
Title: Re: 2.0 Issues
Post by: LarryMc on June 24, 2011, 04:19:24 PM
Good!
Title: Re: 2.0 Issues
Post by: LarryMc on July 17, 2011, 06:34:15 AM
Discovered this problem  :(  while using my new WIN7 x64 computer ;D
The problem does NOT exists on my old XP machine.
I used this as a test program and compiled as a CONSOLE app..
openconsole
print:print
print " Any key to end"
do:until inkey$<>""
closeconsole
end


Compiling this as a single file (with and without DEBUG) there is no problem with how it runs.

I then created a project and added the above as the sole source file (after adding the required $MAIN directive)
Compiling without DEBUG and run presents no problem.

If I set the DEBUG flag it compiles and runs fine (appears to)
If I close the running app it appears to close normally.
If I recompile and run it again it "appears" to have worked fine (because I made no changes in the source file)
What I didn't see (because at the end of the compile the bottom pane switched from BUILD to DEBUG so fast) was that the exe file wasn't relinked because the app is still running (at least it's process is).
In task manager I select the process and tell it to close.  It doesn't close.
I have to close the IWB IDE. When I do the running process entry in task manager goes away.

The one visible difference I see is:
Without DEBUG
the console window displays " Any key to end"
when I hit a key, "Press any key to continue..." is displayed.
I hit another key and the window closes.
NOTE: This is how it appears when compiled as a non-project, both with and without DEBUG


With DEBUG
the console window displays " Any key to end"
when I hit a key the window closes.

How I noticed it: I had a bunch of print statements in a project Sapero was helping me with.
We were through and I was taking the print statements out yet they kept appearing when I ran the program.

The other issue with this problem is that although the linker encountered an error (not being able to delete the existing exe to create the new one) it preceeded on to start the exe.  That whole compile/link process should have stopped at the point of failure and never started the app.

LarryMc
Title: Re: 2.0 Issues
Post by: sapero on July 18, 2011, 03:33:28 PM
We are working on this issue. The current debugger included in kernel32.dll engine has some new limitations on Windows 7, and probably Vista. The new debugger will use the debugger from Debugging Tools for Windows - dbgeng.dll.

Below is a prevew - a sample code with forced failures, a temporary menu item (Debugger).
The debugger you see bellow was created in a form of a plugin, which is activated from the Help menu. It requires that the dbghelp.dll from /bin directory is totally replaced with some newer version. Also dbgeng.dll and symsrv.dll are required (dbgeng.dll is not redistibutable - you need to download+install+copy).
Title: Re: 2.0 Issues
Post by: RodrigoC on August 01, 2011, 04:48:39 PM
Hello

I am trying to install IWB2 on windows XP SP3 for the trial. Just after the instalation IWB2 starts but later on iwbdev.exe doesn't load or show any messages.
I'm from Brazil, running the Brazilian Portuguese version of windows xp (the path "Programs Files" is replaced by "Arquivo de Programas") and using the NOD32 antivirus (disabling it didn't chabge things).
I read a lot of the posts on this forum but couldn't the answer.
Could anyone help me ?
Title: Re: 2.0 Issues
Post by: sapero on August 02, 2011, 05:39:22 AM
Hello Rodrigo, the trial version displays an initial, small registration window, without the taskbar button. It can open at the bottom of Z-order, so try to minimize all windows and find it.

If that will not help, reset program settings - run the registry editor (regedit.exe), navigate to
HKEY_CURRENT_USER\Software\IonicWind
And delete the IWBasic related subkey. It may happen that the IDE saved invalid window position, so if you delete its subkey, the IDE, when you run it again, will use default settings.
Title: Re: 2.0 Issues
Post by: RodrigoC on August 03, 2011, 05:47:16 PM
Thanks for the tip Sapiero, but what solved the problem was to make a .bat file to call iebdev.exe. I discovered that when I called iwbdev.exe from the cmd prompt and it loaded.




Title: Re: 2.0 Issues
Post by: zaphod on August 12, 2011, 01:06:41 AM
Hello,
on version 2.094, on each compil i have the warning :

Compiling...
prime.iwb
File: C:\iwb2dev\perso\prime.iwb (13) Warning: Argument 9 (d1_handler) does not match the declaration of IWBDLGPROC
Different return type: none, should be int
File: C:\iwb2dev\bin\iwbstd.incc (9) Warning: See previous declaration of IWBDLGPROC
File: C:\iwb2dev\perso\prime.iwb (23) Warning: See previous declaration of d1_handler
No Errors

Linking...
IWBasic Linker v1.11 Copyright © 2011 Ionic Wind Software
Generating C:\dev\iwb2dev\perso\prime.exe
Build completed


Sorry, i found the dialog handler should be :


sub d1_handler(),int
SELECT @MESSAGE
CASE @IDCONTROL
...
Title: Re: 2.0 Issues
Post by: LarryMc on August 12, 2011, 09:57:17 AM
The warning is due to a related change that was made by Sapero to resolve another problem I had.

In experimenting with some code I had inadvertently tried to pass parameters in an OnControl subroutine(to make it dual purpose).
It compiled just fine but caused problems that I couldn't identify what the root cause was.

Sapero added code to warn of the potential so these "hidden" problems couldn't happen to someone else.

If you think about it, the warning makes logical sense.  Handler routines require a 'return 0' and warns if you don't have one.

So, as zaphod discovered, to get rid of the warning simply declare the handler as

sub handler(), int

and if you do like i did and try to pass a parameter to a OnMessage/OnControl/OnMenu subroutine the compiler will tell you that that is incorrect.

The real problem here is the fact that this was a change that had an impact on user's and we failed to warn user's in advance.
For that I apologize.

LarryMc