Search found 53 matches

by cutiepi314
Fri Jul 10, 2015 7:13 pm
Forum: C++ Development
Topic: checking to see if a file exists
Replies: 1
Views: 1915

checking to see if a file exists

Ok so I have a program where I need to see if a file exists after the user types in 3 or more characters, if it doesn't exist let the user type in more letters, I have it working but when ever I type in the three letters (out of a four letter word) a notification pops up telling me that file was not...
by cutiepi314
Tue Jul 07, 2015 8:58 pm
Forum: C++ Development
Topic: Repeat Information in a dlg
Replies: 1
Views: 520

Repeat Information in a dlg

Ok so I have a question I am creating a code that has a log-in window, then the user is able to use the program until they click the start button again. Is there a way to keep the information in the log-in dlg or pull it up when the user presses the start button again. So far I have tried having a t...
by cutiepi314
Mon Jul 06, 2015 9:15 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

It was a hardware problem that I was having it was stuck at the read line. Thank you so much for your help and patience! :D :D
by cutiepi314
Thu Jul 02, 2015 9:06 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

Ok when I try and use the debugger it says I have a segment access error or something like that, and when I downloaded that program it showed me some weird things that I did not understand. and I am using dev c++
by cutiepi314
Thu Jul 02, 2015 8:13 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

yeah that is what i thought too but my debugger dose not out put the messages when I run it, and I called the company and they we closed do you know if there is a way to tell...actually i am using a serial converter that may be why. Is there any way to fix this?
by cutiepi314
Thu Jul 02, 2015 7:37 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

ok so the user opens the application press start button then the dlg pops up then they weigh a product the weight shows up on the computer screen, then they can keep weighing products until they press cancel or start again, then the string closes and either a new string is created, the the applicati...
by cutiepi314
Thu Jul 02, 2015 6:42 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

it doesn't :( It closes after you press the button then weigh a product, it should close as soon as you press the button
by cutiepi314
Thu Jul 02, 2015 6:03 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

ok I fixed the weird output but now it wont close until I weigh a new product //--------------------------------------------------------------------------- // // Name: Project1Frm.cpp // Author: // Created: 6/11/2015 3:05:55 PM // Description: Project1Frm class implementation // //------------------...
by cutiepi314
Wed Jul 01, 2015 9:47 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

ok I fixed that and I think clearing may fix my problems how do I clear the buffer?

Code: Select all

char scaleInput1[9];
....
ReadFile(hSerial, scaleInput1 , 9 , &bytesread, NULL);
by cutiepi314
Wed Jul 01, 2015 9:02 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

Ok I got it working but it only closes the current thread after I weigh another product. and it keeps giving me two out puts 1 that is correct and one that is the last letter of the measurement before and the first number of the new measurement //-----------------------------------------------------...
by cutiepi314
Wed Jul 01, 2015 7:45 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

only with the real code
by cutiepi314
Wed Jul 01, 2015 7:13 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

THAT WORKS :) :) :) I am going to try and put the scale device back in the code if it works I will put the code up if not I will update this post UPDATE: it works the first time... but not after that... //--------------------------------------------------------------------------- // // Name: Project...
by cutiepi314
Wed Jul 01, 2015 6:40 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

ok it compiles but it doesn't show anything. //--------------------------------------------------------------------------- // // Name: Project1Frm.h // Author: // Created: 6/11/2015 3:05:55 PM // Description: Project1Frm class declaration // //--------------------------------------------------------...
by cutiepi314
Wed Jul 01, 2015 5:36 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

shoot yes I am. I modifyed it but it keeps saying `GetEventHandler' undeclared (first use this function) //--------------------------------------------------------------------------- // // Name: Project1Frm.cpp // Author: // Created: 6/11/2015 3:05:55 PM // Description: Project1Frm class implementat...
by cutiepi314
Tue Jun 30, 2015 8:06 pm
Forum: C++ Development
Topic: Looping untill button pressed
Replies: 86
Views: 7689

Re: Looping untill button pressed

Ok like this? it is giving me the error (focused on the wxDEFINE_EVENT (in the header file)) expected constructor, destructor, or type conversion before '(' token //--------------------------------------------------------------------------- // // Name: Project1Frm.h // Author: // Created: 6/11/2015 ...