Switching between Express and Studio

Home › Forums › CodeSite › Switching between Express and Studio

Viewing 1 reply thread
  • Author
    Posts
    • #4551
      Hans Brand
      Participant

        Hi Ray,

        Recently I started using CodeSite Studio (the paid for version).
        So I changed all
        #pragma comment(lib, “CodeSiteExpressPkg”)
        to
        #pragma comment(lib, “CodeSiteLoggingPkg”)

        But now I need to share my C++ code with someone who does not have the Studio version.

        How can I make sure that my code still compiles and runs?
        Is it enough to use a #define to choose between the two packages?
        And of course do the same for functions not supported by Express.

        Kind regards,
        Hans Brand

      • #4556
        Ray Konopka
        Keymaster

          Hi Hans,

          Yes, using a #define to control which package/library gets linked in and doing the same for the methods that are only supported in the Studio version should be all that is necessary.

          Of course, you could always have your coworkers get a license to CodeSite Studio and then you wouldn’t have to worry about any of this 🙂

          Ray

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.