Does the WInMain function is mandatory ?

rikki cattermole rikki at cattermole.co.nz
Sun Sep 30 06:33:47 UTC 2018


On 30/09/2018 7:24 PM, Vinod K Chandran wrote:
> Hi,
> I would like to do some win api coding in D. I just taste the syntactic 
> sugar but cant do anything more. I have few questions.
> 1. Does WinMain is needed for a D program in order to use win api ?

No.

> 2. Can we use D strings in win api functions ?, If not, please show me 
> how to convert strings

null terminated, nothing really special.


More information about the Digitalmars-d-learn mailing list