i copy the .h and .cpp file about datagrid control which used in vc6 to vc8(because i do not master the datagrid control which in vc8),it can build and excuse successful on the machine which have vc6.but can not work on the machine which do not have vc6.
the solution use shared MFC DLL,because i use extended MFC dll in the solution.
and i already register the control in the machine which do not have vc6. before i resgiter it show me some error.after i register it do not ,but still can not show the datagrid.
please help me ! thanks!

datagrid from vc6 to vc8 can not work
Martin Selway
khs1
The registry key that saved me was in HKEY_CLASSES_ROOT\Licenses\72E67120-5959-11cf-91F6-C2863C385E30, where the 72E67120-5959-11cf-91F6-C2863C385E30 corresponds to the license key my software tried (incorrectly) to use (I fixed it later - see the forum messages I referenced before). Does your software try to use a license key Maybe we could try to find a match for it.
Glenn Vassallo
radheshyam
I'm not sure if I had the same problem as you. I was using MSFLXGRD.OCX, a data grid control from Microsoft, in my C++ program. In Visual Studio 6 and Studio 2003 builds, it worked fine. But in Studio 2005 something broke and it didn't work anymore.
There turned out to me a minor change down in the MFC code or AfxXXXX functions that Microsoft provides, which required a minor change to my code and then it ran fine again. Another patch involved creating the correct registry key to provide the license for the OCX control.
For a more detailed description of what I went through see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=228001&SiteID=1
See also http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=226477&SiteID=1
and http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=244044&SiteID=1