LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Failure :"mginit.cpp" line 815

Solved!
Go to solution
  • We use an installer created in LabVIEW 6.1 to install a DLL and an executable, and we are using them.
  • After updating to Windows 11, when we launch the executable that had been working previously, the message "Failure: 'mginit.cpp' line 815" appears and it fails to start. This issue occurs only on the Taiwan version of the OS.
  • If you have any ideas about possible causes, please let us know.

    Thank you kindly,
0 Kudos
Message 1 of 4
(279 Views)
Solution
Accepted by topic author ryo_mit

LabVIEW 6.1 was released about 25 years ago, so it's not a big surprise that a LV6.1 program may cease to work with recent Windows versions. What was the last Windows version in which the program worked? Did you try to execute the program in Windows 7 compatibility mode (check in the executable file properties for this option)?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 4
(258 Views)

Thank you very much for your response.
Even in compatibility mode, I was unable to launch the application.
Since the app uses Japanese fonts, I tried the following:

① Removed Japanese characters from the folder and executable file names
→ The app could start, but some characters were garbled.
After that, I did the following:

② Installed the Japanese language pack
③ Set the system language to Japanese
④ Set the system locale to Japan
By following these steps, I was able to resolve the issue.

Thank you again for your cooperation.

Message 3 of 4
(177 Views)

Good. I suggest to mark your own post as a solution.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 4
(102 Views)