Your flag was correct.
##However...
However...
The only part of the question that makes it off-topic is the sentence:
Is there any software that can make it work?
You can (and should) flag questions that are off-topic, but an even better option is fixing the post. In this case as @DavidPostill's edit demonstrates, that sentence wasn't even necessary and simply needed to be deleted. This fixed the on-topicness of the question and preserved an otherwise useful post and its answers.
Nonetheless, whether you edited or flagged the post for closure, either action was appropriate for getting it the attention it needed.