Re: Question about Ezwindow
The errors show that you have not linked with the library.
Right click on the solution->Properties->Linker, in Additional Dependencies enter the name of the library.
Re: Question about Ezwindow
Where did you got this SimpleWindow library? Is that the one which comes with one of the C++ book?
Re: Question about Ezwindow
Quote:
Originally Posted by logan
The errors show that you have not linked with the library.
Right click on the solution->Properties->Linker, in Additional Dependencies enter the name of the library.
Or this class could be in form of CPP file, you will need o include it in your project in that case.
Re: Question about Ezwindow
Ok I've put Ezwinvc50.lib at the "Additional Dependencies" but it generates another error:
1>------ Build started: Project: test2, Configuration: Debug Win32 ------
1>Compiling...
1>test2.cpp
1>Linking...
1>Ezwinvc50.lib(ezwin.obj) : error LNK2005: _main already defined in test2.obj
1>LINK : fatal error LNK1104: cannot open file 'libcpd.lib'
1>Build log was saved at "file://c:\Documents and Settings\Julius\My Documents\Visual Studio 2005\Projects\test2\Debug\BuildLog.htm"
1>test2 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
And yes the library is from a C++ book, is there a better source for the lib?
Re: Question about Ezwindow
Is that lib file supposed to be used as library? Are you sure that the book says you can use EzWindows like this?
Why there is main function defined inside ezWindows.lib file? This directly means that it is not a library of functions, instead it is a LIB file produced with the program(like exe etc.)
Re: Question about Ezwindow
Oh ok, I'm not sure what to do now, hint please =D
Re: Question about Ezwindow
I would first see what the book says on how to use that library.
Re: Question about Ezwindow
This is kinda silly, the book doesn't seem to say how to use it. Is there another source for ezwindow, or am I screwed?
Re: Question about Ezwindow
Why do you need ezWindows anyway? I haven't seen/heard anyone using it. Isn't win32 API or MFC enough?
Re: Question about Ezwindow
Quote:
Originally Posted by NightBladeN
This is kinda silly, the book doesn't seem to say how to use it. Is there another source for ezwindow, or am I screwed?
So far, no one knows what this "ezwindows" is or has ever used it. My advice is to learn to program Windows the correct way, i.e. Win32 API, MFC, ATL, or other well-known technologies.
Then after learning how to program using Windows, then you don't need "ezwindows".
Regards,
Paul McKenzie
Re: Question about Ezwindow
Ah ok, I'm pretty new so I didn't know this is not a common thing, I'll try google ways to make windows properly then thanks for the help!