Pelles C forum

Pelles C => Bug reports => Topic started by: iZzz32 on April 16, 2012, 05:47:30 PM

Title: Start page doesn't show up
Post by: iZzz32 on April 16, 2012, 05:47:30 PM
Pelles C IDE shows navigation error when Show start page option is selected in Tools->Options->General->On startup. However if change that option to to Show home page it successfully displays help file on startup.

Btw, the browser itself cannot open websites in some cases: for example, when the above option is set to Show home page, I start IDE, type an URL (http://ya.ru/ for example) into the location bar and press Enter. Site is showed up for a second, then IDE removes the category list from the left and immediately I see the same navigation error page (EDIT: it is somehow related to navigation in the displayed help file - if I don’t click on the category list there are chances that site would be loaded correctly). I have no problems when using IE itself or a PSDK help viewer.

Pelles C IDE v7.00 RC1 on Windows XP SP3 with IE 6.0.

Thanks for the new version, C11 and especially for the natural alignment warning: I've found a bug in my code :-)
Title: Re: Start page doesn't show up
Post by: CommonTater on April 16, 2012, 06:00:06 PM
You should try updating IE before filing a bug report...  IE6 is very old.

It opened your url just fine with IE8 on Win7 x64...

You can download IE8 for 32 bit XP... HERE (http://www.microsoft.com/download/en/details.aspx?id=43)
 
 
Title: Re: Start page doesn't show up
Post by: iZzz32 on April 16, 2012, 07:35:38 PM
Quote
You should try updating IE before filing a bug report...  IE6 is very old.
Yes it is old, but it is default IE version on XP. I'm not using IE at all and never bothered with updating it (I even don't know which version is the latest), and I didn't have problems with the other software on my PC which is using IE (like Skype).
And yes, after updating to IE 8 I was able to see a start page, thank you. (The second problem disappeared too: with IE 8 there is no category list on the left :) ). Now I don't think that Pelle should fix IE 6 interaction but it would be nice to mention IE 8 requirement somewhere.
Title: Re: Start page doesn't show up
Post by: CommonTater on April 17, 2012, 03:43:37 AM
I take your point that the requirement should be stated...

But I would also suggest that very few people are (successfully) using IE6 anymore so your case is something of an exception... 
Title: Re: Start page doesn't show up
Post by: czerny on April 17, 2012, 08:48:10 AM
Hi,

here is an other exception. I have IE6 installed too. But it is not my standard browser.
And I will not install IE7-? because i will not use it.

czerny
Title: Re: Start page doesn't show up
Post by: Bitbeisser on April 17, 2012, 05:55:59 PM
Hi,

here is an other exception. I have IE6 installed too. But it is not my standard browser.
And I will not install IE7-? because i will not use it.

czerny
You should simply update it, even if you don't use it (I don't use it actively either). But I would not take a chance that there is a software out there that makes use of web API calls, calling up IE and using any of the exploits that are even far more common and abused than that of later IE versions...

Ralf
Title: Re: Start page doesn't show up
Post by: czerny on April 17, 2012, 06:32:46 PM
IE7 does not run under win2k.

czerny
Title: Re: Start page doesn't show up
Post by: Bitbeisser on April 17, 2012, 07:30:33 PM
IE7 does not run under win2k.

czerny
Well, when running such an old dog, you can't really complain when more current software doesn't work with all features anymore...  :-\

Ralf
Title: Re: Start page doesn't show up
Post by: czerny on April 17, 2012, 10:36:54 PM
My old dog does not piddle on the floor.

But I do not want to discuss this theme again.

czerny
Title: Re: Start page doesn't show up
Post by: CommonTater on April 17, 2012, 10:44:23 PM
My old dog does not piddle on the floor.

But I do not want to discuss this theme again.

czerny

OK... but at least you know what the problem is.
Title: Re: Start page doesn't show up
Post by: czerny on April 20, 2012, 08:20:50 PM
I have extracted the start page as an external html.

If the ide is running (rsrc0009.dll loaded) the banner is NOT found. This should work (see: http://support.microsoft.com/kb/220830/en-us).

If I include the directory 'PellesC\Bin\Intl' to the path the banner is found.

I have then tryed to load the start page over an helper html file

Code: [Select]
<body leftmargin="20">
<a href="res://rsrc0009.dll/#23/8246">start</a>
</body>

but with no success.

Pelle: Is this the right url?

czerny

Title: Re: Start page doesn't show up
Post by: TimoVJL on April 22, 2012, 01:59:45 PM
Here is project for testing that problem.
It is based to BrowsApp from John's page.
There is menu options to load PellesC 7 start page from resources
- from rsrc0009.dll with 'res://rsrc0009.dll/#23/8246' if it is in same folder as program.
- from WebBrowserApp2.exe with 'res://WebBrowserApp2.exe/#23/8246'
- from WebBrowserApp2.exe with 'res://WebBrowserApp2.exe/StartPage'

Only last option works with Windows 2000 and IE5, so problem is in IE5.

BrowsApp is modified for UNICODE version too.
Title: Re: Start page doesn't show up
Post by: Pelle on April 22, 2012, 05:14:46 PM
All I can say is that Win2K is no longer officially supported in Version 7.0 (as indicated on the download page). I havn't added a check in the Setup to prevent installation on Win2K (yet), and things that worked in the past will probably still work, but I no longer test on Win2K, nor do I care much about bugs on Win2K. Sorry.

For me it's enough to try and support XP/Vista/7. Soon we have Windows 8 too...
Title: Re: Start page doesn't show up
Post by: czerny on April 22, 2012, 06:14:57 PM
Hi Pelle!

I do not expect, that you try or care much about win2k. But maybe there is a simple solution!

czerny
Title: Re: Start page doesn't show up
Post by: CommonTater on April 23, 2012, 04:24:17 AM
Hi Pelle!

But maybe there is a simple solution!

LOL... sure is...  Update your OS.

You can get XP for a couple of sheckles in second hand stores these days...


Title: Re: Start page doesn't show up
Post by: CommonTater on April 23, 2012, 04:28:08 AM
Soon we have Windows 8 too...

Hey Pelle... go to see you posting again!  I think we all missed you.

Trust me... Windows 8 is going to be enough to send any sane person off screaming into the night!
It won't last long.  It'll probably turn into another ME or Vista deal and Windows 9 should (fingers crossed) get us back to sane desktop software.
Title: Re: Start page doesn't show up
Post by: TimoVJL on April 23, 2012, 05:24:03 AM
Quote
Quote
[Quote from: czerny on Yesterday at 07:14:57 PM
Hi Pelle!

But maybe there is a simple solution!
LOL... sure is...  Update your OS.

You can get XP for a couple of sheckles in second hand stores these days..
Or forget that StartPage.
If PellesC 7 works in W2K and problem is in IE5,IE6, why someone to need to upgrade to XP ?
If Pelle don't want to change that resource name, he have reason for that.
If older IE can't work as expected/documentation says, it isn't Pelles fault.


Title: Re: Start page doesn't show up
Post by: CommonTater on April 23, 2012, 07:16:08 AM
Or forget that StartPage.
If PellesC 7 works in W2K and problem is in IE5,IE6, why someone to need to upgrade to XP ?
If Pelle don't want to change that resource name, he have reason for that.
If older IE can't work as expected/documentation says, it isn't Pelles fault.

I think you misunderstood. there Timo.... I was replying to Czerny. Being a bit of a smart ass, suggesting he update his OS. 

I'm very sure Pelle has good reason that it is as it is...
 

EDIT: It can be disabled in Tools -> Options -> General
 
Title: Re: Start page doesn't show up
Post by: czerny on April 23, 2012, 08:23:17 AM
I don't understand the problem!

I do not expect that Pelle should fix this. I am very happy to have a good IDE which works with w2k.
But why should I not try to find a solution  for this problem. I too have good reasons not to upgrade.
If I can not find the problem, I will live without this start page.  It is much more importend to me that the compiler is bugfree as much as possible.

But first I like do understand the problem:

Look at: http://www.orcus.de/Entities/pages/show_dev/res_only_dll/SampleResProto.htm (http://www.orcus.de/Entities/pages/show_dev/res_only_dll/SampleResProto.htm)

All the res urls at this page work for me. In particular there is an url (res://NTOSKRNL.EXE/2/1) which is in the numeric form. It works with and whitout '#'. But it is not the default (#23).

All these resources are in the system32 directory. But it is not enough to copy the rsrc0009.dll in this dir. And as I wrote earlyer, the banner could be found, if I include the Pelles C bin in the path. But it is not working with the start page as such.

I can not find a description of this bug in the net. Can anybody point me in the right direction?

czerny



Title: Re: Start page doesn't show up
Post by: czerny on April 23, 2012, 10:41:22 AM
If I give the complete path the following is working with and whitout '#':
Code: [Select]
res://C:\Programme\PellesC\Bin\Intl\rsrc0009.dll/23/8246

So, if the startpage could be user defineable (maybe under options->web) it would be also easyer for others to adjust it.  ;)

czerny
Title: Re: Start page doesn't show up
Post by: TimoVJL on April 23, 2012, 08:47:19 PM
What version of IE you tested ?
That don't work with IE6 SP1 and IE5 SP4 ?
Quote
So, if the startpage could be user defineable (maybe under options->web) it would be also easyer for others to adjust it.
Least register value.

EDIT: resource name like START.HTM or SP1.HTM should be easy way to correct that problem in older IE.
Title: Re: Start page doesn't show up
Post by: CommonTater on April 23, 2012, 09:44:50 PM
I do not expect that Pelle should fix this. I am very happy to have a good IDE which works with w2k.
But why should I not try to find a solution  for this problem. I too have good reasons not to upgrade.

As you know from my fiasco with Windows 8 (An error I won't be repeating) I've gone legacy too. My main coding machine now runs XP-x64. The others are a mix of Win7 (family machines) and XP (htpc systems) But I wouldn't go so far back that stuff stops working on me... 

Please don't be offended as I know we've already had this discussion, but I really can't think of a single reason not to move from Win2000 to (at least) windows XP...  W2k is now so old that you can't even run it on some of the oldest computers I service.  There are whole branches of technlogy W2k is not able to work with... such as the new HDAudio chips on most motherboards, SATA disk drives, USB 2 and 3 devices... XP will work anywhere Win2000 worked but the reverse is not true, Win2000 can't do a lot of stuff that XP takes in stride.

So please forgive me for asking again... but what possible reason could you have to not move from Win2000 to XP?

Title: Re: Start page doesn't show up
Post by: czerny on April 24, 2012, 11:43:38 AM
Quote
What version of IE you tested ?
That don't work with IE6 SP1 and IE5 SP4 ?

Hmm! You are right. Here win2k and ie6sp1 it doesn't work too.

I had testet this on a XP machine with ie6. I will have access to this on next friday and will check again.

czerny
Title: Re: Start page doesn't show up
Post by: czerny on April 24, 2012, 12:36:23 PM
Please don't be offended as I know we've already had this discussion, but I really can't think of a single reason not to move from Win2000 to (at least) windows XP...  W2k is now so old that you can't even run it on some of the oldest computers I service.  There are whole branches of technlogy W2k is not able to work with... such as the new HDAudio chips on most motherboards, SATA disk drives, USB 2 and 3 devices... XP will work anywhere Win2000 worked but the reverse is not true, Win2000 can't do a lot of stuff that XP takes in stride.

So please forgive me for asking again... but what possible reason could you have to not move from Win2000 to XP?

Hallo Tater,

I do not want to start a new discussion. I only want to answer your question.

the situation is not as bad as you describe. USB 2 is no problem with win2k and sata drivers can be installed (F3) during installation. Though I can nothing say about Audio. I am not very challenging in this. On the other side: it is a very stable and quick (notably on modern hardware) operating system.

For me there are two main reasons not to upgrade:

I can understand that microsoft does not want to support every operating system deathless. But what I hat is to be treated like a puppet. Their firm philosophy is to force people to use what they want to sell and not to sell what people want to use.

The second cause is a practicle one. I have installed many and many tools and little environments and software packages which I need to do my daily work. It would me cost many days to setup a comparable system.

Hardware gets older. And same day my harddisc or something other will crash. Than I will upgrade.
I have bought XP long ago. It lies packed in a    drawer and waits for this day.

czerny
Title: Re: Start page doesn't show up
Post by: CommonTater on April 24, 2012, 01:57:13 PM
Hardware gets older. And same day my harddisc or something other will crash. Than I will upgrade.
I have bought XP long ago. It lies packed in a    drawer and waits for this day.

I see... but you do realize that unless you've got an OEM version of XP you can update in place without having to reinstall all your software... This is done by inserting the disk and clicking on the Setup.exe...  It will detect Win2k and go into an update mode that only replaces the necessary files... 90% of your software will still work as before.

Thanks for the reply. 

Title: Re: Start page doesn't show up
Post by: czerny on April 24, 2012, 02:49:11 PM
Quote
90% of your software will still work as before

This is very optimistc. I fear I have not enough confidence in this. And if really upgrade one day i will replace some of my hardware too.

czerny