We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC & Discord main room

If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Author Topic: C++/CLI Wrapper  (Read 635 times)

0 Members and 1 Guest are viewing this topic.

Offline rowan_futurerave

  • Full User
  • Disabled shoutbox mode
  • Restricted (shoutbox)
  • Join Date: Aug 2018
  • Location:
  • Posts: 29
  • Post Rating Ratio: +0/-0
    • rowanmedhurst
    • Futurerave
  • Gender: Male
C++/CLI Wrapper
« on: September 18, 2018, 02:32:19 pm »
Hi
I want to convert an old C++Builder project to using Visual Studio 2017, and have come across the following problem - because I want the project to be in C# - C# does not support certain library-specific routines - for example for DirectX, and others. So I want to do this.....

Make C++/CLI wrappers for that stuff, which can be accessed from within C#. Does anyone here have any experience of that? @Juju I recall you have some experience with C# - anything like this??

Ok thanks  :thumbsup:


  • Calculators owned: TI-84 Plus CE-T, CASIO fx-CG50

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3265
  • Post Rating Ratio: +39/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: C++/CLI Wrapper
« Reply #1 on: September 18, 2018, 08:17:43 pm »
Been a while, but I remember you can just link a project with the DLL of your choice and you can use it straight in your code.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline rowan_futurerave

  • Full User
  • Disabled shoutbox mode
  • Restricted (shoutbox)
  • Join Date: Aug 2018
  • Location:
  • Posts: 29
  • Post Rating Ratio: +0/-0
    • rowanmedhurst
    • Futurerave
  • Gender: Male
Re: C++/CLI Wrapper
« Reply #2 on: September 18, 2018, 09:14:51 pm »
If I remember, doing that in C++ was hideous. Are you sure Juju lol
  • Calculators owned: TI-84 Plus CE-T, CASIO fx-CG50

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games