where to find mfc datagrid samples/code for vc++ 2005

where to find mfc datagrid samples/code for vc++ 2005

Post by arch » Tue, 05 Sep 2006 00:06:34


Does anyone know where I can find some datagrid samples and code for MS VC++
2005 using MFC and unmanaged code? I don't want older VC++ samples (ie 6.0
or .net 2003).
 
 
 

where to find mfc datagrid samples/code for vc++ 2005

Post by jiangsheng » Tue, 05 Sep 2006 00:17:13

support.microsoft.com/?kbid=229029
you should be able to add the functionality to your project after reading
the sample.

--
Regards
Sheng Jiang

Microsoft Most Valuable Professional in Visual C++
http://www.yqcomputer.com/
http://www.yqcomputer.com/
"arch" < XXXX@XXXXX.COM >

VC++
6.0

 
 
 

where to find mfc datagrid samples/code for vc++ 2005

Post by arch » Tue, 05 Sep 2006 01:44:20

I've had a look at that one, but it doesn't work under vc++ 2005. I'm just
a newbie so I wanted something that compiles/works without fail under 2005.
I get lots of assert failures with this code and the application seems to be
searching for f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\occcont.cpp,
whatever that is?
 
 
 

where to find mfc datagrid samples/code for vc++ 2005

Post by David Chin » Tue, 05 Sep 2006 02:05:37


Sorry, I don't know. But a lot of projects that work fine on earlier VS
don't work with 2005 because Microsoft chose to introduce breaking changes
into the compiler for better standard conformance. IOW, expect a lot of the
previous examples to break. And since 2005 is relatively new, there aren't
many samples (at least for unmanaged C++) for 2005.

-- David
 
 
 

where to find mfc datagrid samples/code for vc++ 2005

Post by RXVnZW5pby » Tue, 05 Sep 2006 11:03:01

Hi arch

I Could compile it using VS2005 just commenting out line 29 of stdafx.h and
uncommenting line 26. Maybe you can try that.

--
Regards
Eugenio