How to get the pointer of "this" ?

bauss jj_1337 at live.dk
Mon May 25 18:42:33 UTC 2020


On Monday, 25 May 2020 at 17:14:13 UTC, Vinod K Chandran wrote:
> On Monday, 25 May 2020 at 16:54:11 UTC, Mike Parker wrote:
>> On Monday, 25 May 2020 at 16:26:31 UTC, Vinod K Chandran wrote:
>>
>>> [...]
>>
>> The error has nothing to do with taking a pointer to `this`. 
>> It's suggesting that somewhere in your code you're attempting 
>> to use the `this` reference like an lvalue, e.g. making an 
>> assignment to it. I don't see anywhere that you're doing that. 
>> Glancing through the code, I don't see anywhere that you're 
>> doing that (and unfortunately this is not a minimal example 
>> because of dependencies on some of your other modules, so I 
>> can't compile it myself).
>>
>> [...]
>
> Hi @Mike Parker,
> Thank you for your valuable suggestions. I will sure follow 
> them. Well, the  exact line number where the error showing is 
> the one with the "SetWindowSubclass" function.  In pastebin, 
> the line number is 124.

Need to see the Control  class too.

I think the problem might be something you're referencing from 
there but need to be sure.


More information about the Digitalmars-d-learn mailing list