Re: visual c

2002-01-01 Thread Erik Steffl
Francois Gouget wrote:
 
 On Sat, 29 Dec 2001, Erik Steffl wrote:
 [...]
there is also a number of other libraries (for GUI), I don't think you
  have to use ms libs, you can use e.g. wxwindows, qt etc..., also, if the
  application doesn't have complicated gui the porting might be fairly
  easy... (it also depends on how well the app is designed, if the gui is
  farily independent of back-end it's much easier to port it).
 
Without knowing anything about his application it's hard to say, but
 it is easy to end up using MS specific things when coding on Windows.
 And it's not just about the GUI: it's also about ReadFileEx,
 CreateMutex, CreateProcess, registry APIs, ACL management, asynchronous
 file operations, COM/DCOM, ...

  I guess generally speaking you're right, unless the program was
written with portability in mind (and wizard were avoided) it probably
doesn't really resemble c++ much...

erik




Re: visual c

2001-12-31 Thread Francois Gouget
On Sat, 29 Dec 2001, Erik Steffl wrote:
[...]
   there is also a number of other libraries (for GUI), I don't think you
 have to use ms libs, you can use e.g. wxwindows, qt etc..., also, if the
 application doesn't have complicated gui the porting might be fairly
 easy... (it also depends on how well the app is designed, if the gui is
 farily independent of back-end it's much easier to port it).

   Without knowing anything about his application it's hard to say, but
it is easy to end up using MS specific things when coding on Windows.
And it's not just about the GUI: it's also about ReadFileEx,
CreateMutex, CreateProcess, registry APIs, ACL management, asynchronous
file operations, COM/DCOM, ...



--
Francois Gouget [EMAIL PROTECTED]http://fgouget.free.fr/
  In a world without fences who needs Gates?




Re: visual c

2001-12-29 Thread Francois Gouget
On Fri, 28 Dec 2001, Erik Steffl wrote:

  Ing. Luis Chávez Romo wrote:
  
  I am tired of been a windows user. Let me know if there is an easy way
  to move
  an aplication developed in visual c to linux.
 
   it depends on libraries used, if the libraries are not available for
 linux than it might be quite hard.
 
   Another option is to have not entirely native application and use wine
 (kinda ugly but it might help the transition).

   Unless your application only uses the C library, your only solution
to port it to Linux is to use either Wine, then you run the .exe using
Wine, or Winelib, i.e. recompiling it against the Wine libraries.
   The Winelib way requires a bit more work, but will allow you to also
call Unix APIs (may allow for a better integration) and to progressively
migrate your application to a more portable API (although the transition
may not be easy, porting to a new API never is).

To learn more about Wine see the WineHQ web site:

   http://www.winehq.com/
 

--
Francois Gouget [EMAIL PROTECTED]http://fgouget.free.fr/
 Avoid the Gates of Hell - use Linux.




Re: visual c

2001-12-29 Thread Erik Steffl
Francois Gouget wrote:
 
 On Fri, 28 Dec 2001, Erik Steffl wrote:
 
   Ing. Luis Chávez Romo wrote:
  
   I am tired of been a windows user. Let me know if there is an easy way
   to move
   an aplication developed in visual c to linux.
 
it depends on libraries used, if the libraries are not available for
  linux than it might be quite hard.
 
Another option is to have not entirely native application and use wine
  (kinda ugly but it might help the transition).
 
Unless your application only uses the C library, your only solution
 to port it to Linux is to use either Wine, then you run the .exe using
 Wine, or Winelib, i.e. recompiling it against the Wine libraries.
The Winelib way requires a bit more work, but will allow you to also
 call Unix APIs (may allow for a better integration) and to progressively
 migrate your application to a more portable API (although the transition
 may not be easy, porting to a new API never is).
 
 To learn more about Wine see the WineHQ web site:
 
http://www.winehq.com/

  there is also a number of other libraries (for GUI), I don't think you
have to use ms libs, you can use e.g. wxwindows, qt etc..., also, if the
application doesn't have complicated gui the porting might be fairly
easy... (it also depends on how well the app is designed, if the gui is
farily independent of back-end it's much easier to port it).

erik




Re: visual c

2001-12-28 Thread Erik Steffl
 Ing. Luis Chávez Romo wrote:
 
 I am tired of been a windows user. Let me know if there is an easy way
 to move
 an aplication developed in visual c to linux.

  it depends on libraries used, if the libraries are not available for
linux than it might be quite hard.

  Another option is to have not entirely native application and use wine
(kinda ugly but it might help the transition).

erik