April 28, 2017
hello, i try to compile dserver.d but i got this error :

C:\D\dmd2\samples\d>dmd dserver.d
dserver.d(244): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID'
dserver.d(245): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID'
dserver.d(246): Deprecation: instead of C-style syntax, use D-style syntax 'char[512] szModule'
dserver.d(287): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID'
dserver.d(288): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID'
dserver.d(289): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szTemp'
dserver.d(348): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szKey'
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
dserver.obj(dserver)
 Error 42: Symbol Undefined _D6chello6CHello7__ClassZ
dserver.obj(dserver)
 Error 42: Symbol Undefined __D6chello6CHello6__ctorMWC4core3sys7windows6unknwn8IUnknownPFZvZC6chello6CHello@8
Error: linker exited with status 141717192

C:\D\dmd2\samples\d>dmd dserver.d -D
dserver.d(244): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID'
dserver.d(245): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID'
dserver.d(246): Deprecation: instead of C-style syntax, use D-style syntax 'char[512] szModule'
dserver.d(287): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szID'
dserver.d(288): Deprecation: instead of C-style syntax, use D-style syntax 'char[128] szCLSID'
dserver.d(289): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szTemp'
dserver.d(348): Deprecation: instead of C-style syntax, use D-style syntax 'char[256] szKey'
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
dserver.obj(dserver)
 Error 42: Symbol Undefined _D6chello6CHello7__ClassZ
dserver.obj(dserver)
 Error 42: Symbol Undefined __D6chello6CHello6__ctorMWC4core3sys7windows6unknwn8IUnknownPFZvZC6chello6CHello@8
Error: linker exited with status 150912056

From a french noob
April 29, 2017

On 28.04.2017 23:23, Yohan SEROT wrote:
> hello, i try to compile dserver.d but i got this error :
>
[...]
>
> Error: linker exited with status 150912056
>
> From a french noob

This is probably the wrong newsgroup for questions like this, you should use https://forum.dlang.org/group/learn instead.

Regarding dserver.d: it has been updated in github recently, see https://github.com/dlang/dmd/tree/master/samples. It also needs a different command line to build, see e.g. https://github.com/dlang/dmd/blob/master/samples/win32.mak#L53