SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2001
    Location
    Portland, OR, USA
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    C Wrappers for C++ DLLs

    Does anyone have an example of how to write a wrapper in C for dlls written in C++?

    ------------------
    Bill Hull
    QA Engineer
    Timberline Software
    www.timberline.com
    Bill Hull
    QA Engineer
    Timberline Software
    www.timberline.com

  2. #2
    Senior Member
    Join Date
    Jun 1999
    Location
    Fremont, CA, USA
    Posts
    355
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: C Wrappers for C++ DLLs

    If you search the web, there are several examples out there. I was looking for how to do it for a Visual Basic DLL and found tons on how to export C++ functions (nothing on exporting VB functions, other than some half-backed, $$$, programs that will put a wrapper around it)

    Basically, I think it is simply proceeding the function with 'extern "C"'.


    ------------------
    David Genrich
    david@e2Open.com
    david_kim@usa.net

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:41 PM.

Copyright BetaSoft Inc.