You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have a union definition like this, but the values seems not working correctly:
When I try to set "_uchar[ 8 ]" and get the value from "_ulong", something weird happened.
The "_long" or "_ulong" will be keeping 0 after the function "StringToCharArray()" if I clear it before, but the other one will be correct value.
For example, if I set the "_long" to 0, after calling "StringToCharArray()", the "_ulong" will be new correct value, but the "_long" is still 0.
And If I set the "_ulong" to 0, after calling "StringToCharArray()", the "_long" will be new correct value, but the "_ulong" is still 0.