Threadx dynamic application loading cannot pre-initialize default values

%3CLINGO-SUB%20id%3D%22lingo-sub-2437943%22%20slang%3D%22en-US%22%3EThreadx%20dynamic%20application%20loading%20cannot%20pre-initialize%20default%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2437943%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Applications%20code%20uses%20the%20structure%20to%20initialize%20the%20default%20values.%20The%20application%20will%20not%20run%3CBR%20%2F%3EHow%20to%20solve%20this%20problem%EF%BC%9F%3C%2FP%3E%3CP%3Eexample%EF%BC%9A%3CBR%20%2F%3E%60typedef%20struct%20test_11%7B%3CBR%20%2F%3EULONG%20test1%3B%3CBR%20%2F%3EULONG%20test2%3B%3CBR%20%2F%3EULONG%20test3%3B%3CBR%20%2F%3EULONG%20test4%3B%3CBR%20%2F%3E%7Dtest_22%3B%3C%2FP%3E%3CP%3Etest_22%20test444%20%3D%20%7B%3CBR%20%2F%3E123%2C%3CBR%20%2F%3E456%2C%3CBR%20%2F%3E789%2C%3CBR%20%2F%3E147%2C%3CBR%20%2F%3E%7D%3B%60%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

The Applications code uses the structure to initialize the default values. The application will not run
How to solve this problem?

example:
`typedef struct test_11{
ULONG test1;
ULONG test2;
ULONG test3;
ULONG test4;
}test_22;

test_22 test444 = {
123,
456,
789,
147,
};`

0 Replies
www.000webhost.com