getting Win32 Messagebox to work
    Mark Moorhen 
    Mark at Moorhen.com
       
    Fri Oct 26 13:29:13 UTC 2018
    
    
  
On Friday, 26 October 2018 at 13:20:17 UTC, Adam D. Ruppe wrote:
> If that doesn't compile without casts, you don't want it to 
> compile - casting is often a mistake; the compiler is trying to 
> tell you something.
Now you've mentioned, I also tried:
{
	const(char)* content = "Some random content.";
         MessageBox(NULL, content , "Window title", 0);
}
And it compiles like a charm.
    
    
More information about the Digitalmars-d-learn
mailing list