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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Release and debug mixed?

Release and debug mixed?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++performancehelpannouncement
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.
  • M Offline
    M Offline
    Mukkie
    wrote on last edited by
    #1

    Hello! Context: - Release version of application (written in C++/MFC) is shipped to the users - Some users want to write plugins (dll's) for this application Problem: - memory allocator is different for debug version and release version Possible solutions: - Final application will ship in two versions: release, and release with debug parts - User will not be able to develop debug version of plugin, only release version Well, both above solutions are not so good (I do not know other solutions, maybe apart of rewriting everything to COM). But the question is, what should be set in release version of app to allow users to use debug version of it's own plugin? And, what is more important: what will be the impact of using debug components in release version? (This is not really matter of speed, but a matter of cracking the app) confused Thanks for some help...any help :)

    J 1 Reply Last reply
    0
    • M Mukkie

      Hello! Context: - Release version of application (written in C++/MFC) is shipped to the users - Some users want to write plugins (dll's) for this application Problem: - memory allocator is different for debug version and release version Possible solutions: - Final application will ship in two versions: release, and release with debug parts - User will not be able to develop debug version of plugin, only release version Well, both above solutions are not so good (I do not know other solutions, maybe apart of rewriting everything to COM). But the question is, what should be set in release version of app to allow users to use debug version of it's own plugin? And, what is more important: what will be the impact of using debug components in release version? (This is not really matter of speed, but a matter of cracking the app) confused Thanks for some help...any help :)

      J Offline
      J Offline
      John R Shaw
      wrote on last edited by
      #2

      Releasing a debug version of you app is a matter of trust, since it make it easer of cracker (reverse engineering) easer. If error checking is at a high enough level then users of your app who wish to develop plugins can use the release version of you app. How you allocate memory, in the debug version, is irrelevent to the development of a plugin. The only reasons for providing a debug version of your application is to provide more information to the plugin developer to help with debuging his/her code and or to get feed back as to why a bug in thier plugin caused a problem in your application (could be very usefull). I know you have a lot to think about, but weigh your decision carefully. If you can, place youself in the position of the plugin designer and try to develop a plugin for the release version. Write down what the plugin designer knows about the development of a plugin for your application and try to think from their perscpective (if they could not know it then put it out of your mind). This will not only help you get theit perspective on developing plugins for you application but help you determine what information that you need to release to make it easer for them. I do not know if any of this helped you. Just remember in order to help the other guy/girl you first must place youself in thier shoes. INTP

      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