I received an error msg while in compling for I deleted some default resources, like 'grossini_dance_atlas.png' or Default-568h#2x.png' from the resource folder. I guess it's a pretty basic problem but could any one tell me how to fix it? Thanks a lot.
Related
While trying to crate a new file, or open an old code in Dev c++ an error pops up. the error message is :
'clBtn' is not a valid integer value.
I've had this problem for a couple of days now. I have three options, to send anonymous bug report, to continue or to terminate. I don't think I deleted something that lead to this issue. Also I have never had this issue before, any advice would be helpful.
Have a legacy code with a call to CryptImportKey function.
Recently faced a problem - on some machines code works fine, on some machines (at least on Win7x64 Pro) it returns 0 (GetLastError() returns an E_ACCESSDENIED error).
Don't actually know, what's the problem, and what kind of information can help investigate the problem. Will be provided, if any anyone give an advice.
I really appreciate any help you can provide.
Even admin user cannot perform this operation in described situation.
We try to do simple workaround - just rename the "ProgramData\Microsoft\Crypto\RSA\MachineKeys" folder and after automatic creating a new one just moved to it content from the old one. Don't now, how perfect is this "solution".
But it works.
UPD. Process runs from SYSTEM user, and it was enough to grant it with generic read/write access to this folder.
I have a Qt5/C++ app which appears to be working fine, but when running in debug mode (GDB), this error pops up on the QT Creator console (stderr) - OCCASIONALLY!:
Corrupted shared library list: 0x7fffe8008e90 != 0x751e50
I can't find any reference to the cause, and I can't figure out what is triggering it (other that something to do with using a QLinkedList.) I tried switching to a QVector but sometimes the same error pops up.
What is this and how do I fix it? Valgrind says no memory corruption...so is this a false reporting issue? Or am I doing something wrong.
I've traced the above error to the last line (line 4) below.
Settings *programSettings = Settings::instance();
QString driver=programSettings->database_driver();
driver="QMYSQL"; // Override for testing
m_db = QSqlDatabase::addDatabase(driver);
This makes no sense to me...can someone explain why the QSqlDatabase::addDatabase line causes corruption? As well, why does the error ONLY appear when debugging...but not when running without gdb?
Based on the number of views there seem to be a lot of people with this issue. We pared the code down to a simple example and then reproduced the problem. The source of the problem is not user code, but Qt Creator itself. We can't go much further - just put up with it until a Qt Creator fix comes along.
It looks like you're writing over memory that doesn't belong to yourself. It looks like you're dereferencing a pointer that has an uninitialized value. Compile your application with all warnings enabled, and make sure you understand all of the warnings. After that you may need to start a code audit, after you minimize the code of course.
I'm trying to create a program to test Opensplice DDS. However I'm facing some problems for which I've been stuck for quite a long time.
When I try to create a DomainParticipantFactory I got an error which says CORBA:NO_IMPLEMENT. The program works if I don't create the DomainParticipant so I thought that the problem lays there.
DDS::DomainParticipantFactory_var dpf = DDS:DomainParticipantFactory::get_instance();
// get_instance() causes the crash.
Would somebody ever faced such a problem ?
Since I've found my solution, I post here in case anyone gets it.
The problem was a misbehavior due to overlapping librairies.
I was linkings CCPP and SACPP together. That made some kind of explosive mix that the system didn't like much.
So don't link the wrong library. Depending if you use CORBA system or not, choose carefully.
I am updating an old MFC application that used WinHelp so that it now uses HtmlHelp. I've changed the constructor of CWinApp-based class so that it calls EnableHtmlHelp(). Then I've changed the old calls from WinHelp( IDH_CONTENTS, HELP_CONTEXT) to HtmlHelp( IDH_CONTENTS, HH_HELP_CONTEXT). Unfortunately, whenever I try to open the help from my application, I see the help window appear and then it and my application immediately close. If I step through the code line-by-line, the help file appears and stays visible. Does anybody have any idea what's happening here and how I can fix it? Thanks.
Ok. I found it. I finally paid attention to this statement in the MSDN documentation:
When using the HTML Help API, set the
stack size of the hosting executable
to at least 100k. If the defined stack
size is too small, then the thread
created to run HTML Help will also be
created with this stack size, and
failure could result.
I changed my project settings to remove the Stack Reserve Size and now the help opens correctly.