How to get the pointer of "this" ?

Vinod K Chandran kcvinu82 at gmail.com
Mon May 25 17:14:13 UTC 2020


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.


More information about the Digitalmars-d-learn mailing list