//Script1.mq5typedefint (*fn)( int );
class A { public:
A() { a = &this; ::ArrayResize( f, 1 ); f[ 0 ] = f0; }
virtualint g0() const { return0; }
staticint f0( int ) { return a.g0(); }
staticconst A *a; //упрощено, в реальности это динамический массив
fn f[];
};
const A *A::a;
voidOnStart()
{
A w;
w.f[ 0 ]( 0 ); //(*)
}
#import "Script2.ex5"int h();
#import
class B { //class B исключить нельзя - используется в основной программеstaticconstint b;
};
constint B::b = h();
//Script2.mq5#property librarytypedefint (*fx)( int, int );
#import "Script3.ex5"int g( int, int );
#import
int hh( fx f ) { return f( 0, 0 ); }
int h() export { return hh( g ); }
fxsaber: I used to have this. Now it's also created by those who are in Friends. Actually, it's not a problem. It's a silly thing to say.
Well, turn off "Show in news" and that's it. I've got them all turned off. The nice thing about this process is that the first people who have "Show in the news" on will be the first ones. So you don't have to scroll through your entire list of friends.
Alexey Viktorov: Well, turn off "Show in the news" and that's that. I've got everyone turned off. The nice thing about this process is that those with "Show in the news" turned on will be the first. So you don't have to scroll through your entire list of friends.
These "news" are imposed by someone in the form of messages and you have to open them. What to do? Where and what to disable?
Thank you, it's sad, what, everyone needs to be logged in, in bulk can't they be turned off? Before your post, I deleted these active "friends" altogether.
Yousufkhodja Sultonov: Thank you, it's sad, what, everyone has to go in, in bulk can't they be turned off? Before your post, I deleted these active "friends" altogether.
Well, if you didn't deactivate them right away... And the first will be the one who has not disabled this checkbox. So-so it's not such a hassle, always turn off the first and they will change themselves. So to speak, they line up on their own.
Alexey Viktorov: Well, if you didn't turn it off right away... And the first one will be the one who doesn't have this checkbox turned off. So it won't be such a hassle, you always turn off the first one and they'll switch themselves. So to speak, they line up on their own.
I'm sick of it. Thanks, that's what I'll do, and this show came up today.
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.
Are we talking about the same thing?
Not about the hat. Have a look at the content below.
Listed below are the topics I have created.
build 1405. Execution error: invalid function pointer call in 'Script1.mq5' (*).
here https://www.mql5.com/ru/forum/1111/page1687#comment_2792721 is described as having moved to another part of the programme
I used to have this. Now it's also created by those who are in Friends. Actually, it's not a problem. It's a silly thing to say.
Well, turn off "Show in the news" and that's that. I've got everyone turned off. The nice thing about this process is that those with "Show in the news" turned on will be the first. So you don't have to scroll through your entire list of friends.
These "news" messages are imposed by someone and you have to open them. What to do? Where and what to turn off?
Tuta.
Tuta.
Thank you, it's sad, what, everyone has to go in, in bulk can't they be turned off? Before your post, I deleted these active "friends" altogether.
Well, if you didn't turn it off right away... And the first one will be the one who doesn't have this checkbox turned off. So it won't be such a hassle, you always turn off the first one and they'll switch themselves. So to speak, they line up on their own.