473,765 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Studio is a platform Independent??

I am new to vc++. Whether Visual Studio is a platform independent?

Is there any chance of using my application created by vc in MAC or
Linux.

udhay

Mar 27 '07 #1
12 5458
Udhay wrote:
I am new to vc++. Whether Visual Studio is a platform independent?
Nope.
Is there any chance of using my application created by vc in MAC or
Linux.
Not unless you use wine for linux.

Regards,
Stuart
Mar 27 '07 #2
"Udhay" <ud*********@gm ail.comwrote in message
news:11******** **************@ n59g2000hsh.goo glegroups.com.. .
:I am new to vc++. Whether Visual Studio is a platform independent?
:
: Is there any chance of using my application created by vc in MAC or
: Linux.

You cannot use Visual Studio to compile applications for other
desktop platforms.
If you write your source code carefully, and only use standard
C++ and cross-platform libraries, the code that you write
with Visual Studio can be compiled and used on another platform.

-Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Mar 27 '07 #3
On Mar 27, 12:34 pm, "Udhay" <udhyakum...@gm ail.comwrote:
Is there any chance of using my application created by vc in MAC or
Linux.
If you are looking for a platform independent C++ frame work, Qt is a
good option

-Sunil

Mar 27 '07 #4
On Mar 27, 1:54 pm, "Sunil Thaha" <sunil.th...@gm ail.comwrote:
On Mar 27, 12:34 pm, "Udhay" <udhyakum...@gm ail.comwrote:
Is there any chance of using my application created by vc in MAC or
Linux.

If you are looking for a platform independent C++ frame work, Qt is a
good option

-Sunil
to built interoperable apps for linux, mac and win, you can use qt
library that provides rich gui, database access,
xml read/write and whatnot. you will hovewer need to recompile for
linux and mac from outside vc, but the code is
like 100% reusable for those three platforms.

Mar 27 '07 #5
On Mar 27, 11:30 pm, pawel.ku...@gma il.com wrote:
On Mar 27, 1:54 pm, "Sunil Thaha" <sunil.th...@gm ail.comwrote:
On Mar 27, 12:34 pm, "Udhay" <udhyakum...@gm ail.comwrote:
Is there any chance of using my application created by vc in MAC or
Linux.
If you are looking for a platform independent C++ frame work, Qt is a
good option
-Sunil

to built interoperable apps for linux, mac and win, you can use qt
library that provides rich gui, database access,
xml read/write and whatnot. you will hovewer need to recompile for
linux and mac from outside vc, but the code is
like 100% reusable for those three platforms.
An alternative to Qt is wxWidgets (www.widgets.org), which is free of
charge even for commercial applications.


Mar 28 '07 #6
On Mar 28, 11:53 am, "pretus" <vinicius.lobo. ..@gmail.comwro te:
On Mar 27, 11:30 pm, pawel.ku...@gma il.com wrote:
On Mar 27, 1:54 pm, "Sunil Thaha" <sunil.th...@gm ail.comwrote:
On Mar 27, 12:34 pm, "Udhay" <udhyakum...@gm ail.comwrote:
Is there any chance of using my application created by vc in MAC or
Linux.
If you are looking for a platform independent C++ frame work, Qt is a
good option
-Sunil
to built interoperable apps for linux, mac and win, you can use qt
library that provides rich gui, database access,
xml read/write and whatnot. you will hovewer need to recompile for
linux and mac from outside vc, but the code is
like 100% reusable for those three platforms.

An alternative to Qt is wxWidgets (www.widgets.org), which is free of
charge even for commercial applications.
I mean www.wxwidgets.org, sorry.

/Vinicius

Mar 28 '07 #7

"Sunil Thaha" <su*********@gm ail.comschrieb im Newsbeitrag
news:11******** **************@ n59g2000hsh.goo glegroups.com.. .
On Mar 27, 12:34 pm, "Udhay" <udhyakum...@gm ail.comwrote:
>Is there any chance of using my application created by vc in MAC or
Linux.

If you are looking for a platform independent C++ frame work, Qt is
a
good option
If you prefer a LGPL solutino, that is C++ only, but features the
exact same, gtkmm is the way.
Mar 28 '07 #8
Dnia Tue, 27 Mar 2007 10:02:11 +0200, Ivan Vecerina napisa³(a):
You cannot use Visual Studio to compile applications for other
desktop platforms.
If you write your source code carefully, and only use standard
C++ and cross-platform libraries, the code that you write
with Visual Studio can be compiled and used on another platform.
But what about C++ runtime and C++ implementation? What about
executable formats? Portable libraries isn't enough. Is VS linker
able to produce executables for Linux? [ELF] Is it able to use
other runtime C++ implementations than "MSVCRT & Co."?

I think better for OP is to use GCC, because of its port for
Windows platform [MinGW and Win32 binutils]. Even on Linux
it's impossible to use one compiler front-end to generate code
for Windows - one have to have separate binutils, compiler
front-end and rutime library for Windows to generate Windows
executables on Linux [it's called "cross-compiling"].

I doubt MSVS could cross-compile for other platforms than Windows.

--
SasQ
Mar 28 '07 #9
Is there any chance of using my application created by vc in MAC or
Linux.
You might be able to port "managed C++" applications using Mono. Mono
implements the .NET framework on Linux and Mac.

--
EventStudio 4.0 - http://www.EventHelix.com/EventStudio
Model in Plain Text; Generate Sequence Diagrams in PDF/Word

Mar 29 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6177
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with itself. Everything you need is available at no costs (except download hassle and installation time). Once your system is set up properly its just a matter of running 'python setup.py build'. No longer waiting for someone else to build binaries and a...
1
1759
by: Craig Skrabacz | last post by:
I originally had VB.Net standard installed on my computer. I have subsequently installed Visual Studio .Net 2002 on my computer. I have not uninstalled VB.Net. When I look in my Add/Remove programs - there are two entries - one for VB.Net and the other for Visual Studio .Net. Both entries are over 1 GB in size. My question is whether the VB.Net is redundant information
63
5932
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy in Visual Studio to create reports and labels as it's in Access?` The advantage of VS.net is that not every user needs Access, right? And that would eliminate the Access version problem as well I guess.
11
6822
by: olle | last post by:
Hi everyone. I am an Access developer having worked with Access-dev. projects for many years on Sql server databases and Access. For the internet I have been using traditional asp. But now I have tried asp.net and this tool seemes great to me. Haven't tried Vb for Visual Studio net, but hope to do that in the very future. Hope that this version of vb goes well together with asp.net although I don't know how.
32
1834
by: noid droid | last post by:
Hi. I've not used C# yet but just ran across a premonition from 2 years ago saying that C# would render C++ obsolete by this time. Has it? Have most corporate developers migrated to C#? Is C++ used for new development or just legacy apps? What about non corporate developers? Microsoft really likes to hype the hell out of their stuff and often they let it fall by the wayside. Like MFC.
3
2642
by: Allan | last post by:
I work for a company that has UDB 8.1 which is currently used to access DB2 databases on Z/OS mainframe and also distributed DB2 databases on Unix platform. We are moving some of the application software from mainframe platform (Cobol) to Visual Studio .Net (C#). The mainframe DB2 will be moved to distributed DB2. I have read some about the "IBM DB2 Development Add-Ins for Visual Studio". I was able to dowload a version of this from...
3
1700
by: robin9876 | last post by:
Is it possible to install Visual Studio 2003 and 2005 on the same pc?
123
4290
by: Lane Straatman | last post by:
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <complex.h> /* double complex z1, z2, z3; bool flag; z1 = .4 + .7I; z2 = cpow(z1, 2.0); z3 = z1 * z1;
0
6682
by: marathoner | last post by:
I am currently migrating my Visual C++ 6.0 applications to Visual Studio 2005. I am getting compiler errors involving the VS2005's platform SDK. When I removed directory references to that SDK, and started using the Microsoft Platform SDK for XP SP2, the errors disappeared, but I am now getting numerous warnings (macro redefinitions) as follows: StdAfx.cpp WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) C:\Program...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.