Leopard + Extensions
It seems that the move to Leopard may have broken Tao on OS X.
I get the exception
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Tao.OpenGl.Delegates ---} System.NotSupportedException: Unknown platform - cannot get function pointer.
at Tao.OpenGl.Gl.GetFunctionPointerForExtensionMethod (System.String name) [0x00000]
at Tao.OpenGl.Gl.GetDelegateForExtensionMethod (System.String name, System.Type signature) [0x00000]
at Tao.OpenGl.Delegates..cctor () [0x00000] --- End of inner exception stack trace ---
at [0x00000] [unknown method]
This appears to indicate that either aglGetProcAddress could not be found, or the platform discovery code is broken.
This occurs whether or not I've Macpacked the assembly into a Cocoa# bundle.
Hopefully it's a fault on my end. Thanks in advance.

This appears to indicate
This appears to indicate that either aglGetProcAddress could not be found, or the platform discovery code is broken.
It's the latter. Easy to fix, provided there is an easy way to detect the underlying platform through Mono. Working on it.
------
OpenTK
Thanks for the quick reply
Thanks for the quick reply -- I will have to get the latest release from SVN when you are done with the patch. I'm just running the stock v2.0.0 installation now.
Committed a simple fix to
Committed a simple fix to SVN: call "uname" to get the name of the underlying kernel (for now, detects "Unix", "Linux" or "Darwin") and select the correct extension loading mechanism. Works on Ubuntu 7.10 - ravuya can you please test that this works on Mac OS X, too?
SVN address: https://taoframework.svn.sourceforge.net/svnroot/taoframework/trunk
------
OpenTK
Seems to be fixed now; I
Seems to be fixed now; I haven't tested the extension mechanism but it doesn't crash loading up a fresh GL context.
Thanks for the quick response and patch.
Example Use Code? Thanks as
Example Use Code?
Thanks as well.
Can you please post some example use code? I've come across the same error. And i can't locate changelog or readme documentation from the trunk that covers the use. I assume by 'uname' you are referring to the command line 'uname'. But I don't know what the 'correct extension loading mechanism' refers to.
Thanks! And Happy New Year.
Happy new year! The change
Happy new year! The change is internal - if you download the latest code from SVN extensions will just work.
------
OpenTK