Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,168 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,879 people online right now. Registration is fast and FREE... Join Now!




My software doesn't work anymore

 
Reply to this topicStart new topic

My software doesn't work anymore, old working versions neither

Alhazred
18 Dec, 2007 - 05:03 AM
Post #1

New D.I.C Head
*

Joined: 25 Jul, 2007
Posts: 29


My Contributions
Since this morning my software has decided to not work anymore.
I was doing some changes to it, then build and run to watch them, at a certain point the server was not able to attach the client mailslot, it did happen randomly in the past but it was enough to recompile the source code and everything came back to work. I've tried again now to do that, but nothing, it doesn't work.
I thought, ok, I have 45 working versions of my software, saved time after time while I did some changes that did work. I take the 45th version, compile it and run... it doesn't work as the last... I take the 44th, compile and run.. it doesn't work, I have the exe files of this version saved on a web space (www.lacasa.altervista.org/software/email.rar), so I tried to take them and see... they work correctly.
My software doesn't work anymore if I use the source code of any of the 45 versions I have.
I can't figure out what is happened, have you any idea?


If you want to see the source codes of the 45th version (working till yesterday and not modified) you can find them here www.lacasa.altervista.org/software/emailsource.rar
you need to copy and paste the links in the browser's address bar to download them.
The software is in Italian, you can use arrow keys to select the options and press return to accept the selection, the client must be started after the server. The first menu showed asks for login, new registration or exit.
You have to chose "nuova registrazione" because you have never signed in a user, but the problem is shown as you send the registration request, the server can't attach the client mailslot and returns an error, the executable files works instead (not those generated compiling the source code since this morning).

Please help me, I don't know what to do and need to solve this problem, I have to show this software to a teacher at University.
User is offlineProfile CardPM
+Quote Post

Bench
RE: My Software Doesn't Work Anymore
18 Dec, 2007 - 06:47 AM
Post #2

D.I.C Addict
Group Icon

Joined: 20 Aug, 2007
Posts: 617



Thanked: 14 times
Dream Kudos: 150
Expert In: C/C++

My Contributions
You won't find many people willing to download .rar files like that. If you need some help, please post your code as plain text in the [CODE] [/CODE] tags into the forum.
User is offlineProfile CardPM
+Quote Post

Alhazred
RE: My Software Doesn't Work Anymore
18 Dec, 2007 - 07:40 AM
Post #3

New D.I.C Head
*

Joined: 25 Jul, 2007
Posts: 29


My Contributions
Server code is around 1200 lines and client over 3000...
Anyway...
I've put some printf to see the content of some variables and a getch() to stop the program or I couldn't see one of the value for a printf and now the latest version works again (I haven't yet tried the others). How could some printf and a getch() make a program works?
It works also now that I have removed those printf and getch()
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/2/08 12:22AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month