Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » MSC15 and 2014 sources - problem with Stream
MSC15 and 2014 sources - problem with Stream [message #46742] Fri, 22 July 2016 08:26 Go to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Hello,

I already started a thread on a wrong forum, please move or delete the Thread from there and put it in here.
http://www.ultimatepp.org/forums/index.php?t=msg&th=9720 &start=0&

My problem is, I'm using the latest Upp (9251) with 2014 sources and compile with MSC15.
But when I call Cout() in my prog, it crashes.
This only happens with MT flag and in optimal mode (debug runs fine)

The same error can be produced on the newest 2015 sources, when putting CoutUTF8() before the first Cout().
I'm running Win 10 Pro.

You can see the error in the other thread as well, but it's:
Exception at 0x00AB60C7 (address changes every time) in (Projectname).exe: 0xC0000005:
Access violation at read at position 0x0000004.


The error seems to occur in function void Stream::Put(const char *s).
See attachment.

Thanks for the quick reply, as I need this program really quick.

//edit:
Okay guys, I'm kind of confused now.
When I start the little test program from the other thread with 2015 sources, it works fine. In 2014 sources, it crashes.
BUT, when I start MY program in 2015 sources, it crashes as well as on 2014 sources.
Very confusing.
Any help would be very appreciated.......
  • Attachment: crash.png
    (Size: 166.61KB, Downloaded 273 times)

[Updated on: Fri, 22 July 2016 09:45]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: StdDisplayClass - a very useful class. Expand for all fonts
Next Topic: [Solved] Instant Upp crash on char input
Goto Forum:
  


Current Time: Fri Apr 19 00:52:21 CEST 2024

Total time taken to generate the page: 0.01857 seconds