delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/30/01:12:28

From: Mojo AT majorbbs DOT grn DOT es
Subject: windows
30 Sep 1997 01:12:28 -0700 :
Message-ID: <199709300956.JAA20317.cygnus.gnu-win32@t1000.grn.es>
To: gnu-win32 AT cygnus DOT com
X-Unparseable-Date: 30 Sep 1997 10:02:52 MET+1

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019