Building GridCtl ?

I downloaded the source to Chris maunders GridCtl and have not been able to

build it. I have the Enterprise version of VC++ 5.0. Included are the error messages I get. Anyone have an idea of why?

GridCtrl.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnSettingChange(unsigned int,unsigned short const *)" (?OnSettingChange@CWnd@@IAEXIPBG@Z)

GridCtrl.obj : error LNK2001: unresolved external symbol "bool __stdcall operator!=(class CString const &,class CString const &)" (??9@YG_NABVCString@@0@Z)

GridCtrl.obj : error LNK2001: unresolved external symbol "bool __stdcall operator>(class CString const &,class CString const &)" (??O@YG_NABVCString@@0@Z)

GridCtrl.obj : error LNK2001: unresolved external symbol "bool __stdcall operator<(class CString const &,class CString const &)" (??M@YG_NABVCString@@0@Z)

GridCtrl.obj : error LNK2001: unresolved external symbol "protected: int __thiscall CWnd::OnMouseWheel(unsigned int,short,class CPoint)" (?OnMouseWheel@CWnd@@IAEHIFVCPoint@@@Z)

Debug Unicode/GridCtrlDemo.exe : fatal error LNK1120: 5 unresolved externals
[1165 byte] By [dale satterfield] at [2007-11-15 22:06:40]
# 1 Re: Building GridCtl ?
I have the enterprise edition and use CGridCtrl fine.

Looks like you might not have #included some required ".h" file somewhere perhaps?

Jeremy
Jeremy Davis at 2007-11-10 3:07:47 >
# 2 Re: Building GridCtl ?
I downloaded the test project. I did not change anything. So all the includes should be fine.
dale satterfield at 2007-11-10 3:08:42 >
# 3 Re: Building GridCtl ?
When I download and compile the project with no changes, I get one error. That is that it can't find mfc42us.lib. When I search my system, I find it in sdk\lib\i386. The date on this file is 8/2/98, and it is 2921 K long. If I modify the settings to include this directory in the linkers path, then I get the other errors. Should I have a different version of this library? I beleive we have the latest sdk. And I reinstalled VC++ from the CD's, so I would assume that everything was installed. Does this project really require sdk files?
dale satterfield at 2007-11-10 3:09:41 >
# 4 Re: Building GridCtl ?
Did you install the US version of VC++? Sometimes I have to change the resources to UK versions (found in the resource edit properties), and sometimes change references to "foreign" language headers.

Jeremy
Jeremy Davis at 2007-11-10 3:10:49 >
# 5 Re: Building GridCtl ?
It turns out that if I remove the additional include path that points to the sdk, and just copy the necessary headers I need, I was able to build after loading the VC CD's and manually copying the mfc42ud.dll and mfcO42.dll.
dale satterfield at 2007-11-10 3:11:48 >