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 » U++ Library support » U++ Library : Other (not classified elsewhere) » [Solved]CoreTutoral package problem
Re: CoreTutoral package problem [message #52998 is a reply to message #52988] Sat, 01 February 2020 12:19 Go to previous messageGo to previous message
bozero is currently offline  bozero
Messages: 20
Registered: June 2018
Promising Member
TheIDE pop out a message box as below when the programme is run step by step to CoreTutorial\Stream.cpp line 72.

Message box:
===
Failed to obtain information about threads. Make sure your application posses debug info. The debugger and debugge proceses will be stoped! [OK]
===

Part of CoreTutorial\Stream.cpp
===
/// In `LoadThrowing` mode, `Stream` throws `LoadingError` exception when there is problem with
/// input `Stream`:

in.LoadThrowing();
try {
in.GetAll(999999); <--- line 72
}
catch(LoadingError) {
LOG("Loading error");
}
===

I comment out the above code, rebuild and run the programme.
It run further to CoreTutorial\Serialize.cpp line 42 and pop out the same message box.

Part of CoreTutorial\Serialize.cpp
===
/// When serialization fails to load the data (e.g. because of wrong structure or not
/// enough data in the stream), `Stream::LoadError` is invoked, which can trigger the
/// exception if the stream is `LoadThrowing`:

ss2.Seek(0);
ss2.LoadThrowing();
try {
ss2 % x2 % h2 % x2; <-- line 42
}
catch(LoadingError) {
LOG("Deserialization has failed");
}

===

Thank you for you attention.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Closed]SDLSoundDemo linking error
Next Topic: cannot use oracle from dll
Goto Forum:
  


Current Time: Thu Mar 28 18:45:06 CET 2024

Total time taken to generate the page: 0.01276 seconds