Home > Back-end >  Questions about the operating system and software program error
Questions about the operating system and software program error

Time:09-29

In Delphi language to write a program that make, under the xp operating system can run normally prompt card success (whether it is a ghost or a normal installation), but under the Windows 7 system, currently only detect the three systems give you success, most of the Windows 7 doesn't work, direct return card failure, external components an exception occurs, this case add breakpoints in the code, want to have a look at what step out of wrong, but add a breakpoint don't show any, direct hint external components an exception occurs,
With xp system program can directly,
Want to know whether this case can be solved by modifying the program code, now the only way is to change the operating system, but the change of the operating system way too blind also very troublesome, to everybody to ask is there any better solution, thank you very much!

CodePudding user response:

But add a breakpoint a also does not display, directly indicates the external components abnormal
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Is not the breakpoint error? You move a breakpoint to try more the front of the plane, started to break points in the project file.

See your description, it should be depend on the system file does not exist or version difference caused by the error, but the exception is swallowed.

Return return card "failure" tips: well, it is through the exception handling, can breakpoint to see here

CodePudding user response:

Hello, thank you very much for your help ~ at the beginning of the basic process is the location of the has been add breakpoints to add to the end of the program, each breakpoint is not shown (showmessage (' 1 ') is similar to that of), direct report card failure, external components an exception occurs, with xp system can be added by normal display all breakpoints and prompt card successfully,
I recorded here several Windows 7 system can make a successful system configuration screenshot



The hope is that solve the code, change the code program can solve this kind of error directly, any breakpoints don't show, because every time in system, is also relatively blind and trouble, thank you very much ~

CodePudding user response:

The first screenshot sent you a wrong sorry how can delete the

CodePudding user response:

"Rely on the system file does not exist"

How to determine the dependence of system files is what? What is through exception handling excuse me?

CodePudding user response:

To run the program, choose right run in administrator way, a try, if successful, should be the UAC problem,

CodePudding user response:

Good thank you for your help me to test first

CodePudding user response:

@ WYWRY
Is there anyone can change the code to make up for the system problem, by changing the code to solve this error? Thank you ~

CodePudding user response:

Ide sometimes have this problem, change the code to compile all again try, or some third party controls recompile, best the previously compiled DCP deleted before compilation,

CodePudding user response:


My zha don't understand
  • Related