Jump to content

My software doesn't works anymore, and I haven't done anything!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Alhazred

Alhazred

    Learning Programmer

  • Members
  • PipPipPip
  • 99 posts
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.

#2
Alhazred

Alhazred

    Learning Programmer

  • Members
  • PipPipPip
  • 99 posts
I've put some printf to see what some variables contained 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 :confused:
It works also now that I have removed those printf and getch()

#3
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
That is really bizarre. You might've had corrupted library files, I dunno. When something like this happens, run a project clean and completely recompile.