Merge pull request #2274 from esdrubal/udpclientreceive
[mono.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / XplatUICarbon.cs
index 7a568b4c09ec7656cdfd3416b7ce566eaf1d649a..e1937a1fc52e0281283b0f77689a36a3c7a62125 100644 (file)
@@ -202,6 +202,9 @@ namespace System.Windows.Forms {
                }
 
                internal void Initialize () {
+                       if (Marshal.SizeOf<IntPtr> () == 8){
+                               Console.Error.WriteLine ("WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all");
+                       }
                        // Initialize the event handlers        
                        Carbon.EventHandler.Driver = this;
                        ApplicationHandler = new Carbon.ApplicationHandler (this);