I found the function in the app that posts WM_CLOSE. I called the app, but it did the same thing as the exit(). It just closes the window without showing the messagebox.
Type: Posts; User: bowluswj
I found the function in the app that posts WM_CLOSE. I called the app, but it did the same thing as the exit(). It just closes the window without showing the messagebox.
I would love to try this, but the program that my boss uses is weird. Basically the main program does all the calculations that it needs to and calls another program called "simple windows app". ...
I tried both Novacain's method and Robwhits, both didn't work. I am not sure exactly what has gone on here. My boss said to move on, so i am implementing a different message system in my program...
I personally think that Dev-CPP is a really good IDE for creating windows quickly. It comes with a win32 GUI skeleton built in.
Another way to do it is to install Wamp5 on your computer.
It emulates a Windows, Apache, mysql, and php5 server on your computer.
It is very useful for seeing php code in your web browser.
Deep in the code, it says that if the ftflag variable is equal to 1, then the program knows that the frame trigger is present. So, i changed the code to
if(ftflag != 1){
MessageBox(NULL...
During my current job, I was assigned the task of converting a program from MS VC++ to Dev-CPP because my boss wants to get rid of our dependency on MS. After I finished, I found that the program...
The problem comes from two functions that are located near the top of the code (Fill and FreeEx). Both are template functions that are used in the template class that follows. Those two functions...
Here are the errors i get:
[Linker error] undefined reference to `freeEx(auto_array_ptr<double>&)'
[Linker error] undefined reference to `fill(auto_array_ptr<double>&, unsigned char)'
i...
here is my code:
/*===========================================[ REDEFINITION DEFENCE ]=======*/
#ifndef AutoArrayPtr_H
#define AutoArrayPtr_H
...
I changed it to const char* and that didn't help. It still has a segfault error. Also, i already have tried adding a "pause" into the program. I had it at 10 sec and it still errors out after four...
The program below is supposed to first, open the port, then send a command and wait for the port to say it is done. Then after all the commands are sent, it closes the port and ends the program. ...