Recommended Posts

i got an error as soon as i tryed to open it.

it said

runtime error

this application has requested the runtime to terminate it in an unusual way

What OS are you running? Do you have MSXML 3 installed?

http://msdn.microsoft.com/library/default..../xmlgeneral.asp

i am running winxp, so does xp come with MSXML 3

OK, I just duped it. I was running VPN to my company's network, so it may be a timeout issue. How are you connecting to the internet(behind proxy, dialup, etc)?

nice app, i like although the mem usage is a tad bit on the high side

thanks, working on reducing the memory consumption. does anyone here know why simply calling ShellExecuteEx causes memory to jump almost 1MB? I've even closed the handle to the process and it's still jumping.

I am aware of the text being html escapes in some instances. I've known about it since I started getting the feeds. I just haven't had time to build a parser routine to replace the errant characters.

@ToastGodSupreme

Thanks! It will get cooler... I hope.

thanks, working on reducing the memory consumption. does anyone here know why simply calling ShellExecuteEx causes memory to jump almost 1MB? I've even closed the handle to the process and it's still jumping.

Just curious to know why you need ShellExecuteEx in the first place.

Edit: Nevermind. Forgot about actually opening the web page...

I am aware of the text being html escapes in some instances. I've known about it since I started getting the feeds. I just haven't had time to build a parser routine to replace the errant characters.

So, you're saying that the existing XML parser is buggy? Or is it the data that's buggy? It just feels kind of redundant to reimplement functionality that the parser should've handled correctly.

Edited by Oogle
Just curious to know why you need ShellExecuteEx in the first place.

Edit: Nevermind.? Forgot about actually opening the web page...

hehe.. it's ok. I've tried to create a process as well, but I still get the same problem.

So, you're saying that the existing XML parser is buggy?? Or is it the data that's buggy?? It just feels kind of redundant to reimplement functionality that the parser should've handled correctly.

I'm guessing that it is something that is happening with the PHP that is generating the XML that the app consumes. Instead of leaving things like apostrophes and > < symbols, it is tokenizing the string a replacing them with the HTML escape equivalents, > < #39; #33; etc. So it is nothing I'm doing. Those symbols would break the XML parser, too. They are illegal text inbetween tags.

Edited by weenur

There is an auto refresh. It defaults to 1200 seconds/20minutes. You can change that to a lower value in the app.config, under TimerInterval. :D

I don't know that it would be practical to monitor for every new post. People post like mad here. You'd be getting a new balloon every second. lol!

Edited by weenur
There is an auto refresh. I defaults to 1200 seconds/20minutes. You can change that to a lower value in the app.config, under TimerInterval. :D

I don't know that it would be practical to monitor for every new post. People post like mad here. You'd be getting a new balloon every second. lol!

that would be annoying :pinch:

I'm guessing that it is something that is happening with the PHP that is generating the XML that the app consumes. Instead of leaving things like apostrophes and > < symbols, it is tokenizing the string a replacing them with the HTML escape equivalents, > < #39; #33; etc. So it is nothing I'm doing. Those symbols would break the XML parser, too. They are illegal text inbetween tags.

Hmm, it's starting to sound more like a data problem, then. With symbols like that, you probably need to encapsulate it in CDATA tags.

http://msdn.microsoft.com/library/default....kedsections.asp

Is there some way you can relate that to the people who generate the XML?

It would be easier just to stick the original text, with exception to & in an attribute, which would still be &.

Instead of:

&lt;rdf:RDF&gt;
  &lt;item&gt;
    &lt;title&gt;Some news feed title&lt;/title&gt;
    &lt;link&gt;https://www.neowin.net/blah&lt;/link&gt;
  &lt;/item&gt;
&lt;/rdf:RDF&gt;

make it

&lt;rdf:RDF&gt;
  &lt;item title="Some news!" link="http://neowin.net/forums/blah.php?"/&gt;
&lt;/rdf:RDF&gt;

The downside to attributes in this case, is that data contained within them have to follow even more restrictive format requirements than nodes; which, in turn, requires more unnecessary coding and exception handling on your part.

http://msdn.microsoft.com/library/default....nattributes.asp

Whichever format you prefer (attributes or nodes), the fact is that the current XML data can be corrupted should the title use invalid characters. It would be a lot easier (and cleaner) for them to fix the problem than for you to code around it.

Whichever format you prefer (attributes or nodes), the fact is that the current XML data can be corrupted should the title use invalid characters. It would be a lot easier (and cleaner) for them to fix the problem than for you to code around it.

Absolutely. I'd rather not have to create my own tokenizer for this app. I'm having a hard enough time keeping memory usage down as it is.

I'm getting this one too. However, I'm at work where we block port 80 to force everyone through a proxy server. I'm assuming that the app is attempting to connect to neowin.net, not getting there and crashing.

Proxy support would be nice...  ;)

OK. I'm looking into proxy configuration right now. Looks like it will be easy. A current workaround would be to run from the command line proxycfg.exe -u if your IE is setup for proxy already. This will import your settings to WinHttp. Please let me know if that helps or not.

Cheers!

i got an error as soon as i tryed to open it.

it said

runtime error

this application has requested the runtime to terminate it in an unusual way

What OS are you running? Do you have MSXML 3 installed?

http://msdn.microsoft.com/library/default..../xmlgeneral.asp

i am running winxp, so does xp come with MSXML 3

OK, I just duped it. I was running VPN to my company's network, so it may be a timeout issue. How are you connecting to the internet(behind proxy, dialup, etc)?

i have a home network but i am not behind a proxy nor am i connecting with dial up, just good ol' cable

i am behind a router, what port is it going through?? maybe my port is blocked, and that is what is causing it.

Ok. I think your issue is a timeout issue. I'll send you a build with timeouts set to 5 seconds, though I would think with cable you'd have no problem. The request is sent on port 80 via HTTP, so if you can hit the web, you should be able to run this app.

Email me at [email protected], and I'll send you a build to test, if you would. I'd greatly appreciate it.

I'm getting this one too. However, I'm at work where we block port 80 to force everyone through a proxy server. I'm assuming that the app is attempting to connect to neowin.net, not getting there and crashing.

Proxy support would be nice...?;))

OK. I'm looking into proxy configuration right now. Looks like it will be easy. A current workaround would be to run from the command lineproxycfg.exe -u> if your IE is setup for proxy already. This will import your settings to WinHttp. Please let me know if that helps or not.

Cheers!

Excellent, works well.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft Edge comes pre-installed with Windows 11 and it's a great browser, so why not use it? Not everyone is trying to run away from Google, sometimes people just want convenience and less friction.
    • AI makes the games. AI plays the games We all watch them in a streaming service.... Welcome to the future.
    • No. The file manager is a lost cause. After all, its dev receives all the undeserved praise he could evre wish from Neowin, without having actually earned it. This has never lead to improvements.
    • TechPowerUp GPU-Z 2.70.0 by Razvan Serea GPU-Z is a lightweight system utility designed to provide vital information about your video card and graphics processor. At launch, it automatically scans your system and reports the card name, GPU, release date and transistors, BIOS version, ROPs, memory type, and memory size. Main Features: Supports NVIDIA, AMD, ATI and Intel graphics devices Displays adapter, GPU and display information Displays overclock, default clocks and 3D clocks (if available) Includes a GPU load test to verify PCI-Express lane configuration Validation of results GPU-Z can create a backup of your graphics card BIOS No installation required, optional installer is available Support for Windows XP / Vista / Windows 7 / Windows 8 / Windows 10 (both 32 and 64 bit versions are supported) GPU-Z 2.70.0 changelog: Improved kernel driver security Added die size for Qualcomm Adreno 741 Added support for NVIDIA RTX 6000D, RTX Pro 500 Blackwell Embedded, Tesla V100-DGXS-32GB, PG500-216 Added support for Intel Arc Pro B70, B65, A60 ES, Alder Lake ES Added support for Qualcomm Snapdragon X2 Elite, 778G/782G Added vendor detection for HKC/Sambada, AWES Download page: GPU-Z 2.70.0 | 11.1 MB (Freeware) View: GPU-Z Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I know I won't ever be using it to make my game. I'd rather pay humans.
  • Recent Achievements

    • One Month Later
      Vincian earned a badge
      One Month Later
    • First Post
      Jocimo earned a badge
      First Post
    • Week One Done
      suprememobiles48 earned a badge
      Week One Done
    • One Month Later
      Windows Guy earned a badge
      One Month Later
    • One Month Later
      Prasann earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      518
    2. 2
      +Edouard
      159
    3. 3
      PsYcHoKiLLa
      86
    4. 4
      Steven P.
      67
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!