none
Developing Cross-Platform for Linux software with Visual C++ 2008 Express

    General discussion

  • I have developed Visual C++ 2008 code that runs in Windows.  I have made it cross platform also so that it runs under Linux.

    I am greatly concerned about distributing source code and even just libraries that Linux users can link to.

    I have used CMake and Code::Blocks (only in Linux) but it was still developed using Visual Studio 2008 for most development.

    The license looked similar for the professional version and the express version.  Let me know if binaries can be released to run under Linux and also if it is okay to open source the entire project.  I am pretty far into this project.  Maybe it should have been done entirely in Linux.

    I am also interested to jump to another Windows compiler such as MinGW in addition because of the Visual Studio licensing restrictions.  Is this the path that cross platform programs are usually created or can they be created primarily with the professional or express Visual Studio compilers.

    If all is good, can I also use Visual Studio Desktop 2013 Express instead?

    Monday, November 3, 2014 9:46 PM

All replies

  • Hi Ed,

    Thank you for posting in the MSDN forum.

    To make this issue clearly, if possible, please share us more information about this issue.

    As you said that you develop this app in Visual C++ 2008 version, if so, is it the express version or others?

    >>The license looked similar for the professional version and the express version.

    Which VS version’ license issue did you see/meet, VS2008 or VS2013?

    As far as I know, generally the VS express versions are free, but for VS2013 express version, we need a Microsoft Account and it is free. But the professional version is the paid version.

    In addition, if you develop this app in VS2008 express version which support the VC++ app, as my understanding, generally you could develop it with VS2013 express version which also supports the VC++ language.

    But if you develop it in professional version (VS2008), now you want to know that whether you could develop it in express version (VS2008 or VS2013), you know that they are free versions, not all projects are supported in these version, maybe you could get more information about express version here(VS2013).

    http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx

    You could select the correct express version and test it in your side.

    In addition, if you met the license issue for your VS, actually we didn’t support it, and it would be related to the place where you buy it.

    Maybe you can call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist, and you can get more detail information from there. You can also visit the following site for more information and support on licensing issues:

    http://www.microsoft.com/licensing/mplahome.mspx

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, November 5, 2014 7:11 AM
  • >> As you said that you develop this app in Visual C++ 2008 version, if so, is it the express version or others?

    I am using Visual C++ 2008 express (not the professional version).

    >> Which VS version’ license issue did you see/meet, VS2008 or VS2013?

    I am looking at the license that I clicked accept on in the Visual C++ 2008 express installer.

    >>For any Distributable Code you distribute, you must:
    >>>>Under Distribution Restrictions.  You may not
    >>>> - distribute Distributable Code to run on a platform other than Microsoft operating systems, run-time technologies, or application platforms;
    >>>> - others have the right to modify it.

    It looks like open source on another platform is not possible.  Is closed source okay and have *.lib and *.h files that I share and also have closed source code for Linux that has libraries and header files distributed?

    >> Maybe you can call 1-800-426-9400

    I'd prefer a reply here rather than go on the phone because on the phone I don't have a record of it.  I talked to the Professional Support Department the other day and pointed me to support.microsoft.com/oas and MSDN.microsoft.com. You seem very knowledgeable.

    Wednesday, November 5, 2014 7:59 PM
  • Hi Ed,

    Thanks for your friendly response.

    I doubt that I misunderstood this issue, just to make this issue cleraly:

    If you mean that you have developed a VC++ app with VS2008 express version, now you want to know that whether you could develop a similar VC++ APP with the VS2008 pro version or VS2013 express version, as my understanding, generally you could create it. Of course, the VS2013 express have several versions, you would select the version which support your project type.

    But if it is VC++ language development issue, you could post this issue to the VC++ forum, and there you would get dedicated support.

    For example, if you mean that you want to run your previous project/develop the same app in Linux, I’m afraid that you would discuss it with the VC++ Expert even if your projects works well in windows like this kind of case here.

    The VC++ Forum:

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=vcgeneral

    I doubt that these cases are related to your issue.

    http://stackoverflow.com/questions/6341903/compiling-visual-c-code-in-linux

    http://stackoverflow.com/questions/802970/how-to-build-a-visual-c-project-for-linux

    The phone number in my previous reply is about the VS setup license. It seems that your issue is not the VS Installion product key/license issue.

    If I have misunderstood this issue, please feel free to let me know.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, November 7, 2014 6:01 AM
  • I want to mention that I found a similar post:

    Visual C++ Express Edition 2008 may used to edit Linux OS & Appl. after download source from web ?

    The answer says yes to this question.

    They didn't say no so this makes me think that I'm all set to develop at least closed source code but I need to know for sure.

    The stack exchange post you gave me told me that I can only have open source the code for Windows:

    >> You can release your code as OpenSource for Windows only

    I am using CMake already, which easily generates project files for each OS.  I am using wxWidgets and CodeBlocks also so it isn't a matter of getting it to run.  I need to know now if closed source projects are ok.  So far, my understanding is that they are.

    The section in the license about distributable code makes me think that distributing libraries and headers are okay but source code is not.  If you know the answer then please let me know.  Thanks.

    Friday, November 7, 2014 10:33 PM
  • Will anyone please answer my question?  Thanks.
    Thursday, November 20, 2014 6:16 PM
  • Hi Ed,

    Actually this forum is to discuss:

    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    To help you find a more appropriate forum, I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.

    If you mean that you got some message here:

    https://social.msdn.microsoft.com/Forums/en-US/9cd2e07a-a0e7-4d8a-9dd5-1fcb74f5b7c3/visual-c-express-edition-2008-may-used-to-edit-linux-os-appl-after-download-source-from-web-?forum=Vsexpressvc

    Like the “Announcement” in that forum:

    This forum has been locked; it is still available for review in the Archived Forums folder. Any future posts on this topic should be put in the Visual C++ forum.

    Sincerely,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, November 21, 2014 3:14 AM
  • Maybe this helps?

    http://blogs.msdn.com/b/somasegar/archive/2014/11/12/opening-up-visual-studio-and-net-to-every-developer-any-application-net-server-core-open-source-and-cross-platform-visual-studio-community-2013-and-preview-of-visual-studio-2015-and-net-2015.aspx

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Friday, November 21, 2014 3:24 AM
    Moderator