you can get it.Stupidly as a function of type int func(Struct a){return (int)(&a);} And what will you do next? - pavel
one
What for do you need it?What is your real challenge? - VladD
Yes, I have nothing to do with it.I call the function from the dll written in C. And now it requires its own structure from the library in the arguments.So I wanted to get a pointer to this structure and pass this pointer to the function. - Mr.Evgen
Can it make sense to write your own wrapper over a call to C? - pavel
And can you learn more about the wrapper?The fact is that I have not dealt with unmanaged code before. - Mr.Evgen
int func(Struct a){return (int)(&a);}And what will you do next? - pavel