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. Managed C++/CLI
  4. calling function in unmanaged dll with paramter char**

calling function in unmanaged dll with paramter char**

Scheduled Pinned Locked Moved Managed C++/CLI
questionc++performancehelp
1 Posts 1 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.
  • G Offline
    G Offline
    guestcat
    wrote on last edited by
    #1

    hi all, i need to call a function in an unmanaged dll say ERR_CODE MyUnmanagedFn( char** param); the memory of the param is managed by the dll itself. the unmanaged code to use this is char* XX = NULL; MyUnmanagedFn(&XX); // this is working fine. this memory is allocated and released sometime later automatically by the dll. now, i an facing some problem calling this function from Managed c++. the ERR_CODE returned is NULL_PARAMETER. ideally means that the paramter is NULL. what is the equivalent MC++ code for this? ^-^ @|@ - redCat

    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