API question

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
run
Posts: 10
Joined: Thu Jun 02, 2011 8:36 am

API question

Post by run »

There's something I've always been curious about in Bepu's API, when you go to an item's
page in the documentation, the syntax section has not only the C# syntax, but also syntax for C++ and VB.

Does that mean you can use Bepu in a C++ program, and if so, how do you go about doing that?

Thanks,

-Jeff
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: API question

Post by Norbo »

I've never done it so I lack the details, but it should be relatively easy with C++/CLI. Doing it with pure unmanaged C++ would be a bit gross; you'd need to work through COM or something.
run
Posts: 10
Joined: Thu Jun 02, 2011 8:36 am

Re: API question

Post by run »

Well after some googling I'd say 'easy' is definitely a relative term,
but this is really intriguing stuff and something I was completely unaware of.

If anyone else is interested here are a few links to some info

A video tutorial, it's a bit old so it's missing some newer things.
http://msdn.microsoft.com/en-us/vstudio/bb892742

The stackoverflow question were I found the above link
http://stackoverflow.com/questions/1329 ... li-and-ijw

Thanks again,

-Jeff
Post Reply