Results 1 to 3 of 3

Thread: Mixing C and C++ code in a Lianja extension

  1. #1
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22

    Mixing C and C++ code in a Lianja extension

    The following article describes how to mix C and C++ code when you are developing a Lianja extension using the SDK.
    https://isocpp.org/wiki/faq/mixing-c-and-cpp#call-cpp
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #2
    Hi Barry,

    Is it possible to use a shared DLL compiled in C only and load it via LoadLibrary()?

    Thanks.

    Herb

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,159
    Blog Entries
    22
    Hi Herb,

    Yes.

    loadLibrary() can used to load .js, .php, .py or .dll files.

    If you SET DEBUG ON and it fails to load the appropriate error message will be written to the debug.txt file in \lianja\debug.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us