I've encountered a problem with string passing before because the encoding was changed from ansi to unicode and string variables must be converted into char arrays.
I've encountered a problem with string passing before because the encoding was changed from ansi to unicode and string variables must be converted into char arrays.
Why does the indicator work then?
This function is responsible for opening an Internet address and has nothing to do with the problem.
The object has not been drawn yet and you already want to know its size, you want to know the size of something that is not yet drawn.
This function is responsible for opening an internet address and has nothing to do with your problem, you have already been told several times what your problem is, but you are not satisfied.
You want to know the size of the object that hasn't been drawn yet, you want to know the size of what hasn't been drawn yet.
I've encountered a problem with string passing before because the encoding was changed from ansi to unicode and string variables must be converted into char arrays.
Why does it work then?
Is it necessary to make a char buffer for string in wininet or not?
Vladimir Pastushak: Don't delete your text on every call and everything will be OK, why do you keep deleting it ? Delete it only if the program is deleted by the trader...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
#import "wininet.dll"
int InternetOpenW( string sAgent
...
This is in the news indicator. And it works.
I've encountered a problem with string passing before because the encoding was changed from ansi to unicode and string variables must be converted into char arrays.
Why does it work then?
#import "wininet.dll"
int InternetOpenW( string sAgent
...
This is in the news indicator. And it works.
I've encountered a problem with string passing before because the encoding was changed from ansi to unicode and string variables must be converted into char arrays.
Why does the indicator work then?
This function is responsible for opening an Internet address and has nothing to do with the problem.
The object has not been drawn yet and you already want to know its size, you want to know the size of something that is not yet drawn.
This function is responsible for opening an internet address and has nothing to do with your problem, you have already been told several times what your problem is, but you are not satisfied.
You want to know the size of the object that hasn't been drawn yet, you want to know the size of what hasn't been drawn yet.
hmmm...
This is a new problem.
#import "wininet.dll"
int InternetOpenW( string sAgent
...
This is in the news indicator. And it works.
I've encountered a problem with string passing before because the encoding was changed from ansi to unicode and string variables must be converted into char arrays.
Why does it work then?
why in the world would my question be deleted?
Decompiling, and using decompiled code, is unacceptable.
The size of the text label will only be determined after the first rendering of the label itself.
Can the previous text size be saved instead of being reset to 0?
Don't delete your text on every call and everything will be OK, why do you keep deleting it ? Delete it only if the program is deleted by the trader...
Well, who removes it.
:)))))))))))