Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1028810 Posts in 41320 Topics- by 32923 Members - Latest Member: DrDiamond

August 01, 2014, 07:55:15 AM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)SFML Window in C# Interface
Pages: [1]
Print
Author Topic: SFML Window in C# Interface  (Read 548 times)
Greemax
Level 0
**


Key word: Creation!


View Profile WWW Email
« on: April 01, 2013, 02:52:08 PM »

Hey Guys!

I would like to know how could I insert use a sfml (c++) window in an C# interface. I know it must be through a .dll, but I would like to know how to code it. My goal is to make an editor.

Logged

SuperDisk
Level 1
*



View Profile Email
« Reply #1 on: April 01, 2013, 03:05:12 PM »

I'm not really sure what you mean, but there's a .NET (which includes C#) binding on the SFML page.

Do you mean to combine already existing C++ stuff with C#?
Logged
Greemax
Level 0
**


Key word: Creation!


View Profile WWW Email
« Reply #2 on: April 02, 2013, 04:15:48 AM »

 My idea is to programme a MapEditor in C++ using SFML 2.0. I already started with it but I would like to make an interface to use on it and I would like to use C# windows forms. The question is: How can I embed my sfml window in the form?

Do something like this:

Logged

nikki
Level 10
*****


View Profile Email
« Reply #3 on: April 02, 2013, 12:16:51 PM »

do you mean like How to Integrate C# Window in C++ Project ?
Logged
SuperDisk
Level 1
*



View Profile Email
« Reply #4 on: April 02, 2013, 12:38:58 PM »

I think it's the other way around.
Logged
nikki
Level 10
*****


View Profile Email
« Reply #5 on: April 02, 2013, 12:40:42 PM »

so it's more like How can I embed an unmanaged C++ form into a .NET application? this ?
Logged
Greemax
Level 0
**


Key word: Creation!


View Profile WWW Email
« Reply #6 on: April 02, 2013, 03:58:06 PM »

It's the secound way ^^. I'll take a look and see what I can do. Thank you!
Logged

Noogai03
Level 6
*


WHOOPWHOOPWHOOPWHOOP


View Profile WWW Email
« Reply #7 on: April 05, 2013, 05:53:52 AM »

Since SFML already has a .NET binding (see earlier links), it surely wouldn't be too hard to port your code to C# - it's pretty similar...
Logged

So long and thanks for all the pi
Serapth
Level 2
**


View Profile
« Reply #8 on: April 05, 2013, 01:01:31 PM »

You want this, coupled with this.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic