[Gtk-sharp-list] DOS-box on Windows
Simon Bain
sibain at tendotzero.com
Sat Apr 1 11:58:29 EST 2006
Hi,
What I found when doing GTK# when using VS 2003 was that it is better to
create a new winform project. Delete all but the solution files and then
import the GTK# code files.
By doing this I am garunteed to get a "real" win app. (what ever that
is!!!). And it does not stop the code recompilling on my Linux box.
Of course if the project is starting as new on the Win box then you could
create a new GTK# project in VS.
Cheers
Simon
--
Simon Bain
TENdotZERO
Mobile: 07793 769 846
Office: 0845 056 3377 - 44 (0) 1234 359090
Fax: 44 (0) 208 882 9411
<quote who="Michael Hutchinson">
> On 4/1/06, Finn Gruwier Larsen <finn at gruwier.dk> wrote:
>> Hi,
>>
>> I'm working on an application that is going to run on both Linux and
>> Windows, using Gtk# for the GUI. On Windows I don't use Mono, but only
>> the Gtk# runtime on top of .NET 1.1.
>>
>> Until now it runs fine on both platforms, with no recompiling nessecary
>> at all. The only thing that I find a bit annoying is that on Windows I
>> always get an empty "Dos-box" when I run the application.
>>
>> Why is this, and is there any way to avoid it?
>
> Which platform did you compile it on? I think mcs defaults to
> compiling normal exes rather than 'winforms' exes, which which on
> Windows will get you a 'DOS window'. If that's true then you'd want
> -target:winexe. I could be way off base here though ;-)
>
>
> Michael
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
More information about the Gtk-sharp-list
mailing list