SFML community forums

Bindings - other languages => DotNet => Topic started by: Brendon on January 22, 2011, 10:16:06 pm

Title: Static linking with dotnet
Post by: Brendon on January 22, 2011, 10:16:06 pm
I dug around the forums regarding the ATI driver issue (http://www.sfml-dev.org/forum/viewtopic.php?t=3438), and it seems static linking SFML seems to be the solution.

But - it seems .net framework / Mono doesn't really support static linking; or at least I haven't been able to find how.  Anyone with more .net knowledge have any tips on this?
Title: Static linking with dotnet
Post by: Laurent on January 23, 2011, 11:14:18 am
I'm using P/Invoke, which consists of loading the wrapped functions from C DLLs. So static linking is not an option here.

The other solution to create a .Net binding is to use C++/CLI, and there you could probably use static linking, but as far as I know Mono doesn't support C++/CLI.

To get rid of this bug on .Net there's no choice but to solve it in the C++ API directly.
Title: Static linking with dotnet
Post by: Brendon on January 23, 2011, 07:03:16 pm
Okay, I understand now - thanks for the reply.

For what it's worth, I'm told everything works fine when drivers are rolled back to an older version (8.56.1.15). For the moment that's the workaround solution I'm using.