Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Modulable programming

Modulable programming

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lord Kixdemp
    wrote on last edited by
    #1

    Hello everyone! I'm making a program that I would like to have a plug-in interface. I thought of using something like Lua, but I would like them to be written in C or C++. I know I can use DLL's, but I want this to be cross-platform. What's the most common method? I really don't want to use an external library, but I will if I'm too lazy to do it myself. :laugh: Thanks in advance!

    Windows Calculator told me I will die at 28. :(

    M 1 Reply Last reply
    0
    • L Lord Kixdemp

      Hello everyone! I'm making a program that I would like to have a plug-in interface. I thought of using something like Lua, but I would like them to be written in C or C++. I know I can use DLL's, but I want this to be cross-platform. What's the most common method? I really don't want to use an external library, but I will if I'm too lazy to do it myself. :laugh: Thanks in advance!

      Windows Calculator told me I will die at 28. :(

      M Offline
      M Offline
      Matthew Faithfull
      wrote on last edited by
      #2

      Lord Kixdemp wrote:

      I want this to be cross-platform.

      Not asking for the moon or anything then :) . With the current state of technology if you want it to be really cross platform you'll need to ship it as source and that source will need to be dependent on the C++ standard library, (no exotic features) and absolutely nothing else. Otherwise I would recommend going for a statically linked library built with GCC/g++ under MingW or Cygwin on Windows and from the same source using a similar version of GCC/g++ on your Linux flavour of choice. If you can achieve that with genuinely shared source then a. you're a star b. please let me know the detaisl so I can do it to. :)

      Nothing is exactly what it seems but everything with seems can be unpicked.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups