Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 20, 2002 commdlg.h | ||||
---|---|---|---|---|
| ||||
I'm having trouble implementing the load common dialog function. I keep getting an error of: Error: C:\DM\HMCG\HMCG.OBJ(HMCG) (62194): Symbol Undefined _GetOpenFileNameA@4 I've included commdlg.h and can find no reason for this. I downloaded some code from planetcpp.com that includes the common dialog function for loading bitmaps and that code gave the same error when compiling. Steve De Chellis |
June 20, 2002 Re: commdlg.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve & Denise De Chellis | You need to include comdlg32.lib in your link command. "Steve & Denise De Chellis" <dbouton@snet.net> wrote in message news:aer6h3$4ma$1@digitaldaemon.com... > I'm having trouble implementing the load common dialog function. > > I keep getting an error of: > > Error: C:\DM\HMCG\HMCG.OBJ(HMCG) (62194): Symbol Undefined > _GetOpenFileNameA@4 > > I've included commdlg.h and can find no reason for this. > > I downloaded some code from planetcpp.com that includes the common dialog function for loading bitmaps and that code gave the same error when compiling. > > Steve De Chellis > > |
June 20, 2002 Re: commdlg.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve & Denise De Chellis | I think you will need to incluse COMDLG32.LIB in your project. Jan
Steve & Denise De Chellis wrote:
> I'm having trouble implementing the load common dialog function.
>
> I keep getting an error of:
>
> Error: C:\DM\HMCG\HMCG.OBJ(HMCG) (62194): Symbol Undefined
> _GetOpenFileNameA@4
>
> I've included commdlg.h and can find no reason for this.
>
> I downloaded some code from planetcpp.com that includes the common dialog function for loading bitmaps and that code gave the same error when compiling.
>
> Steve De Chellis
|
June 21, 2002 Re: commdlg.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve & Denise De Chellis | Thanks, I added in the lib file and now it works. Steve "Steve & Denise De Chellis" <dbouton@snet.net> wrote in message news:aer6h3$4ma$1@digitaldaemon.com... > I'm having trouble implementing the load common dialog function. > > I keep getting an error of: > > Error: C:\DM\HMCG\HMCG.OBJ(HMCG) (62194): Symbol Undefined > _GetOpenFileNameA@4 > > I've included commdlg.h and can find no reason for this. > > I downloaded some code from planetcpp.com that includes the common dialog function for loading bitmaps and that code gave the same error when compiling. > > Steve De Chellis > > |
Copyright © 1999-2021 by the D Language Foundation