Considerations for CRT Environment variables

Source: Internet
Author: User

Description: When updating the program, two tabs were opened AB, in the a tag to modify environment variables, add new jar package.
Then source. The B-Tag executes a timed program that throws a run-time error that the class cannot find.

Finally, two labels are opened and the environment variables are modified, but the two tags show different environment variables.

"When LabVIEW starts, msvcrt7.1 and msvcrt9.0 are simultaneously load into memory. They all read the current LabVIEW environment variable and put it into their global variables. When we first set up the process environment variable and then load the XILINX DLL from LabVIEW, the Windows loader discovers that msvcrt7.1 has been loaded into memory and therefore no longer load, so we use setenvironmentvariable () The environment variables set are not updated in msvcrt7.1, so Xilinx DLLs have no way of being read out. "

Simply put, an open label page does not synchronize environment variables with the system in real time.

Therefore, after you use CRT label A to modify the environment variables, you can only use a tag execution program or the newly opened tag execution.

Considerations for CRT Environment variables

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.