Home - Forums-.NET - FlyGrid.Net (Windows Forms) - FlyGrid DLLs in 64 bit process

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

FlyGrid DLLs in 64 bit process
Link Posted: 18-May-2011 07:52
Do the NineRays.FlyGrid.*.dlls work from a 64 bit process?  I know that they will work on a 64 bit version of Windows if you are running from a 32 bit process (WOW64), but I need to know if they work from a native 64 bit process.
Link Posted: 18-May-2011 13:35
Yes. FlyGrid.Net assemblies are compiled in anyCPU configuration, so they will be native to a 64bit process.
Link Posted: 18-May-2011 14:57
Thank you for the fast response.  I just need a little further clarification since compiling with the Platform Target set to AnyCPU does not guarantee that the DLLs will work in a 64 bit process.  Are you are saying that the FlyGrid DLLs have been evaluated according to the guidelines laid out in this MSDN article about migrating from 32 bit to 64 bit: http://msdn.microsoft.com/en-us/library/ms973190.aspx ?

I ask, because a cursory glance at NineRays.FlyGrid.dll shows some potential incompatibilities.  For example, the DllImport of the SendMessage() method defined in user32.dll is imported with the wParam and lParam arguments as ints even though the corresponding C++ types are WPARAM and LPARAM which are of pointer size.  I don't think this will work in a 64 bit process?
Link Posted: 18-May-2011 15:56
Yes, we used MS recommendations. Don't worry about SendMessage, according to MS recommendations we used system defined int type, instead of System.Int32 or System.Int64. System defined int is scalable and native to both 32 and 64 bit environments (so in 64bit environment int will be 64bit).