The problem concerns two function in this code,
[font="monospace"]
BOOL CALLBACK AddOrder(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam), on line 351,and
[/font][font="monospace"]BOOLCALLBACK AddQuery(HWND hWnd,UINT Message,WPARAM wParam,LPARAM lParam), on line 876
[/font][font="monospace"]
[font="monospace"]
They both work properly on their own, but if I run AddOrder, do not close the application, and run AddQuery, the logfile is never made. The logfile is supposed to be made on lines 979, 985, 1046, 1052, 1101, and 1107, depending on what the user is doing/what they have input. None of these calls will work after AddOrder has been run, but will work as many times as required if AddOrder has never been called.
[/font][font="monospace"]
[font="monospace"]
Code is here:
[/font]http://codepad.org/SBhzt9oT[font="monospace"]
[font="monospace"]
I posted the whole project because as I said, I dont know where this problem could be. If its not simple, I sure am not expecting anyone to comb through this whole bananarama.
[/font][font="monospace"]
[font="monospace"]
I cant find any link between the two functions and am baffled. I hope its something simple that Im just not seeing.
[/font][font="monospace"]
[font="monospace"]
Thanks in advance for any help, godspeed.
[/font]