GetOpenFileName problem

Trass3r mrmocool at web.de
Wed Feb 27 14:30:16 PST 2008


I want to use the GetOpenFileName function in D (with DFL btw), the problem is, the linker doesn't find it cause it searches for _GetOpenFileName
but comdlg32.dll seems to export it as GetOpenFileName.

pragma(lib,"comdlg32.lib");
export extern(C) BOOL GetOpenFileName(OPENFILENAME* lpofn);


More information about the Digitalmars-d-learn mailing list