dmd linker (OPTLINK) gives Error 42: Symbol Undefined when using extern

Joshua Reusch yoschi at
Sun Dec 25 14:15:56 PST 2011

Am 25.12.2011 22:37, schrieb Tal:
> I want to save the hInstance of WinMain so I would be able to use it later in some
> other module. So how do I accomplish that ?

just define a public variable in the global scope.

More information about the Digitalmars-d-learn mailing list