It is currently Wed May 22, 2013 10:09 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Mon Aug 02, 2010 7:30 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 814
Location: Germany
When trying to compile a program in Windows 98 SE using PB 4.50 or 4.51 RC 1
an error message is displayed.

If trying to compile a program or only just one line as for example
Code:
Debug "Test"
or
Code:
MessageRequester("Info", "Test")
a message box with the title "PureBasic - Resource error" and the message
*** No message for error 0x8006 ***
is displayed.

In PB 4.41 the compilation works...


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Mon Aug 02, 2010 8:40 pm 
Offline
Addict
Addict

Joined: Thu Nov 01, 2007 5:37 pm
Posts: 1565
Location: Germany
You probably did it already but how about reinstalling it and maybe deleting the preference files (located in the APPDATA path)?!


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Tue Aug 03, 2010 5:44 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 814
Location: Germany
c4s wrote:
You probably did it already but how about reinstalling it and maybe deleting the preference files (located in the APPDATA path)?!

In fact I tried it both and I also tried to start the PureBasic.exe with the /LOCAL and /PORTABLE
switch. And I always received the above error message when trying to compile any source
code.


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Wed Aug 18, 2010 8:06 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 814
Location: Germany
I have tried to install PureBasic 4.51 RC1 on a second PC with Windows 98
on which PureBasic had never been installed before, displaying the same
error when trying to compile as reported above. Is there any other user
who can confirm the finding that PureBasic support for Windows 98 is broken
since PB 4.50?


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Sun Aug 29, 2010 3:25 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 8872
Location: France
I just tried on my win98 installation and it works without problem. Do you have enough space on your boot drive ? You also probably need to install IE6 so you get the newer system libs


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Thu Sep 02, 2010 8:23 am 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 814
Location: Germany
@Fred,
thank you for testing. I just discovered my error. I had to uncheck "Enable XP skin support"
before compiling in Windows 98. In previous versions like 4.31 and 4.41 this definitely was
not necessary (I just tested it). So when crosstesting in previous PB versions in Windows 98,
Windows XP and Windows 7 I didn't have to remove the XP skin checkmark for Windows 98
when loading the source code from my fileserver and the source code contained "; EnableXP"
at its end...


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Thu Sep 02, 2010 8:46 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 8872
Location: France
That's good to know as it should actually work.. I will take a closer look to see what happens exactly.


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Thu Sep 02, 2010 7:26 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1693
Location: Norway
Maybe it's time to "split" the compiling?

I.e. instead of ASCII and Unicode choice, and XP Theme or no XP Theme, why not change all that so there is:

[ ] Windows 4.x (Win9x/NT4) (ASCII and no XP Theme, no Vista usermode)
[ ] Windows 5.x+ (W2K,XP,Vista,Win7) (Unicode and XP Theme on, Vista+ usermode choices available)

I'm only guessing here, but those who make Ascii apps usually wish to target Windows 4.x (Win9x and old NT),
and those who make Unicode usually wish to target Windows 5.0 or later (as unicode doesn't work on Win9x anyway).

And since Windows4.x apps still work on Windows5.x I don't think it's that much of an issue to "split" old and new this way.
I myself have stopped supporting anything older than Windows 5.0 (Windows 2000) so I only do Unicode apps with XP Theme now and also use Vista usermode settings.

And slowly starting to move the older Windows 4.x stuff into Legacy status might help future development.
(a lot of the old APIs are deprecated on Windows 5.0 and later, and it would allow the compiler to use "new" Windows 5.0+ API's where appropriate)
It kinda would make sense too as PureBasic 4.xx could then eventually become the "Legacy" (ASCII, Win9x/old NT) branch and PureBasic 5.xx supporting only Windows 5.0 and later (Unicode, XP Theme, +vista usermode support, and taking advantage of Windows 5.0+ features where available).

I'd be happy to "re-purchase" PureBasic for that indeed ;)

But for now, consolidating ASCII and XP Theme etc. into a Legacy and Modern toggle should avoid most of the issues currently I think.
It certainly seems like people forget that XP Theme and Unicode is only supported on Windows 5.0 or later, and that a manifest can cause issues with Win9x.
Sorry I can't recall what exactly, but there is a tweak needed to the manifest. (just like there is a tweak needed to the Vista user mode manifest to avoid it crashing on XP SP2, ugh).

_________________
Image website, journal, projects, reviews and more.
Normality exist in the minds of others, not mine! - Rescator


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Fri Oct 29, 2010 12:07 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 2853
Location: United Kingdom
I tried to compile my program in Windows Me (fresh install, all updates installed) and have the same error using a fresh install of 4.51 - I tried turning off the XP skin support - no difference.

_________________
http://www.SinisterSoft.com <- My Business website
http://www.ReportComplete.com and http://www.ReportPlus.co.uk <- School end of term reports system


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Fri Oct 29, 2010 12:15 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 2853
Location: United Kingdom
If I turn off the icon and vista user mode request it works. Must be something to do with the resources...

_________________
http://www.SinisterSoft.com <- My Business website
http://www.ReportComplete.com and http://www.ReportPlus.co.uk <- School end of term reports system


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Sat Jan 15, 2011 9:12 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 814
Location: Germany
DoubleDutch wrote:
If I turn off the icon and vista user mode request it works. Must be something to do with the resources...

Confirmed for Windows 98 SE and PB 4.51 final.

The following options in "Compiler Options" have to be turned off, otherwise the
compilation fails with the error message "*** No message for error 0x8006 ***":
- Use icon:
- Enable XP skin support
- Request Administrator mode for Windows Vista
- Request User mode for Windows Vista (no virtualisation)

In PB 4.41 all these options may be turned on and don't produce any compilation
error in Windows 98 SE.


Top
 Profile  
 
 Post subject: Re: [Win98 + PB 4.50 + 4.51 RC 1] No compilation possible
PostPosted: Thu May 03, 2012 10:32 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 8872
Location: France
FIxed the issue, all is back to normal on the Win9x side :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Pip1957 and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye