* windows
@ 1997-09-30 0:57 Mojo
1997-09-30 12:44 ` windows Keresztfalvi Gábor 97b
1997-09-30 15:51 ` windows J Russell Smyth
0 siblings, 2 replies; 5+ messages in thread
From: Mojo @ 1997-09-30 0:57 UTC (permalink / raw)
To: gnu-win32
hi! I've recently downloaded r18 but I came up with a problem with
MS windows programs, such as this tiny one:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL,
"TEST"
"You can exit now", MB_OK|MB_ICONASTERISK);
return(0);
}
First of all, I didn't know where to find the library with MessageBox().
After a grep, I find it in libglaux.a; ok, I linked it with the program.
It compiles ok, butwhen executing windowsasks me glaux.dll; I've tried
to build it, but itseems it doesn't work.
I need some help :)
.al
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: windows
1997-09-30 0:57 windows Mojo
@ 1997-09-30 12:44 ` Keresztfalvi Gábor 97b
1997-09-30 15:51 ` windows J Russell Smyth
1 sibling, 0 replies; 5+ messages in thread
From: Keresztfalvi Gábor 97b @ 1997-09-30 12:44 UTC (permalink / raw)
To: gnu-win32
On 30 Sep 1997 Mojo@majorbbs.grn.es wrote:
> hi! I've recently downloaded r18 but I came up with a problem with
> MS windows programs, such as this tiny one:
>
> #include <windows.h>
> int WINAPI WinMain(HINSTANCE hInstance,
> HINSTANCE hPrevInstance,
> LPSTR lpCmdLine, int nCmdShow)
> {
> MessageBox(NULL,
> "TEST"
> "You can exit now", MB_OK|MB_ICONASTERISK);
> return(0);
> }
>
> First of all, I didn't know where to find the library with MessageBox().
> After a grep, I find it in libglaux.a; ok, I linked it with the program.
> It compiles ok, butwhen executing windowsasks me glaux.dll; I've tried
> to build it, but itseems it doesn't work.
> I need some help :)
>
> .al
Hi!
I don't remember exactly, but you should link to your program the
libuser32.a library.
I hope this will help.
Keresztg
+-----------------------------------------------------------------------------+
| Keresztfalvi Gabor Budapesti Piarista Gimnazium |
| Web Page: http://www.piar.hu/~keresztg/ |
| E-Mail: keresztg@podolin.piar.hu :-) |
| keresztg@goliat.eik.bme.hu Budapesti Muszaki Egyetem |
+---------- This message was transmitted on 100% recycled electrons ----------+
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: windows
1997-09-30 0:57 windows Mojo
1997-09-30 12:44 ` windows Keresztfalvi Gábor 97b
@ 1997-09-30 15:51 ` J Russell Smyth
1 sibling, 0 replies; 5+ messages in thread
From: J Russell Smyth @ 1997-09-30 15:51 UTC (permalink / raw)
To: gnu-win32
Mojo@majorbbs.grn.es wrote:
> hi! I've recently downloaded r18 but I came up with a problem with
> MS windows programs, such as this tiny one:
>
> #include <windows.h>
> int WINAPI WinMain(HINSTANCE hInstance,
> HINSTANCE hPrevInstance,
> LPSTR lpCmdLine, int nCmdShow)
> {
> MessageBox(NULL,
> "TEST"
> "You can exit now", MB_OK|MB_ICONASTERISK);
> return(0);
> }
>
> First of all, I didn't know where to find the library with
> MessageBox().
> After a grep, I find it in libglaux.a; ok, I linked it with the
> program.
> It compiles ok, butwhen executing windowsasks me glaux.dll; I've tried
>
> to build it, but itseems it doesn't work.
> I need some help :)
>
> .al
> -
> For help on using this list (especially unsubscribing), send a message
> to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
MessageBox is in libuser32.a/user32.dll
Russ Smyth
jrussell@voicenet.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: JNI functions under g++
@ 1998-10-28 22:22 Mumit Khan
1998-10-29 18:12 ` Windows sdr
0 siblings, 1 reply; 5+ messages in thread
From: Mumit Khan @ 1998-10-28 22:22 UTC (permalink / raw)
To: JAMES DOYLE; +Cc: Gnu Win32 Mailing List
On Fri, 23 Oct 1998, JAMES DOYLE wrote:
> Hi,
> I've been using Gnu tools for years, but only
> recently needed to use them under Win32. The reason I wanted
> to try using the Win32 port is that I'm having mystifying problems
> under Microsoft Visual C++. I've been able to use VC++ in the past
> to do JNI functions where I use malloc/free, but recently I've
> needed to access C++ libraries that use new/delete, and under VC++
> this is causing me problems. Since things run fine on Solaris
> with g++, I figured I'd try g++ on Windows.
Fyi, with the latest changes I've submitted to cygwin, it's now possible
to build both C and C++ JNI DLLs with cygwin GCC. I only tried the most
trivial JNI DLLs, so let's see what more bugs are hiding. The test cases
did include memory allocation (both malloc and new families) and standard
I/O (both printf and iostreams).
I don't know if the changes will be accepted however (that depends on
the quality of the patch, and Geoffrey will have to decide if it's
ok).
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Windows
1998-10-28 22:22 JNI functions under g++ Mumit Khan
@ 1998-10-29 18:12 ` sdr
1998-10-31 8:05 ` Windows Jan Tomasek
0 siblings, 1 reply; 5+ messages in thread
From: sdr @ 1998-10-29 18:12 UTC (permalink / raw)
To: gnu-win32
Hi,
I am running WIndows 95 on my system and am using beta 19 of
gnu-win32. When I try to run the program, it says out of environment
space. Sorry if this message has been posted more than one time, but have
been having mail domain errors.
Thank you,
Scott
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Windows
1998-10-29 18:12 ` Windows sdr
@ 1998-10-31 8:05 ` Jan Tomasek
0 siblings, 0 replies; 5+ messages in thread
From: Jan Tomasek @ 1998-10-31 8:05 UTC (permalink / raw)
To: sdr, gnu-win32
Hi Scott,
read mail archives, this was discused many times before. For correct
run of B19 you will to install USP patch and about environment out
of space ...
SHELL=C:\COMMAND.COM /E:8192
This will set memory for e. to 8kB - put line into config.sys
Bye Jan
> I am running WIndows 95 on my system and am using beta 19 of
> gnu-win32. When I try to run the program, it says out of environment
> space. Sorry if this message has been posted more than one time, but have
> been having mail domain errors.
>
> Thank you,
--
Jan Tomasek, student FEL-CVUT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
e-mail: xtomasej@fel.cvut.cz
www: http://mujweb.cz/web/tomasek
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~H~
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-10-31 8:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-30 0:57 windows Mojo
1997-09-30 12:44 ` windows Keresztfalvi Gábor 97b
1997-09-30 15:51 ` windows J Russell Smyth
1998-10-28 22:22 JNI functions under g++ Mumit Khan
1998-10-29 18:12 ` Windows sdr
1998-10-31 8:05 ` Windows Jan Tomasek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).