This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
newbie question: hellowin on Windows NT
- To: "'cygwin at sources dot redhat dot com'" <cygwin at sources dot redhat dot com>
- Subject: newbie question: hellowin on Windows NT
- From: "Quoß, Clemens" <clemens dot quoss at gzs dot de>
- Date: Wed, 25 Oct 2000 10:51:38 +0200
Hello,
I'm rather new to writing programs with Cygnus, so
I decided to start with the hellowin example
from C. Petzolds book 'Programming Windows'.
After some amendments to the source it
compiled cleanly. Having compiled with '-mwindows'
I have no problems to start it from the cygwin
bash command line. The windows starts nicely.
But compiling with '-mwindows -mno-cygwin' and
starting hellowin.exe directly from Windows NT explorer,
brings no result. There is a background task in the
task manager named 'hellowin.exe', but no window
is shown.
In Windows 98, it works. So it seems to be a problem
with the Windows NT version and cygwin.
I included the source 'hellowin.c' and the output of
'cygcheck -s -r -v hellowin.exe' after having compiled
with '-mno-cygwin' option.
Your help is very much appreciated.
TIA
Clemens Quoss
<<hellowin.c>> <<tocygwin.txt>>
hellowin.c
Found: .\hellowin.exe
.\hellowin.exe - os=4.0 img=1.0 sys=4.0
C:\WINNT\System32\crtdll.dll - os=4.0 img=4.0 sys=4.0
"CRTDLL.dll" v0.0 ts=1995/12/9 5:26
C:\WINNT\System32\KERNEL32.dll - os=4.0 img=4.0 sys=4.0
"KERNEL32.dll" v0.0 ts=1998/10/13 9:38
C:\WINNT\System32\ntdll.dll - os=4.0 img=4.0 sys=4.0
"ntdll.dll" v0.0 ts=1998/10/8 20:30
C:\WINNT\System32\GDI32.dll - os=4.0 img=4.0 sys=4.0
"GDI32.dll" v0.0 ts=1998/9/23 6:27
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll - os=4.0 img=4.0 sys=4.0
"USER32.dll" v0.0 ts=1998/10/13 9:39
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\GDI32.dll (recursive)
C:\WINNT\System32\ADVAPI32.dll - os=4.0 img=4.0 sys=4.0
"ADVAPI32.dll" v0.0 ts=1998/9/29 20:44
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (recursive)
C:\WINNT\System32\RPCRT4.dll - os=4.0 img=4.0 sys=4.0
"RPCRT4.dll" v0.0 ts=1998/10/9 20:19
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\ADVAPI32.dll (recursive)
C:\WINNT\System32\ADVAPI32.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (already done)
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Oct 25 08:33:21 2000
WinNT Ver 4.0 build 1381 Service Pack 4
Path: /usr/local/bin
/usr/bin
/usr/bin
/cygdrive/c/WINNT/system32
/cygdrive/c/WINNT
/cygdrive/c/BIN/ZNW/Office
/cygdrive/c/Programme/SNA/system
.
/cygdrive/c/DESIGN71
/cygdrive/t/AE/ADVANTAG/OTHER/DJGPP/BIN
/cygdrive/g/TOOLS
/cygdrive/g/READIBMW
/usr/bin
.
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
HOME = `/HOME/CLEMENS'
MAKE_MODE = `unix'
PWD = `/HOME/CLEMENS/src/hellowin'
USER = `clemens'
!C: = `C:\cygwin\bin'
COMPUTERNAME = `WS_51042'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DJGPP = `T:/AE/ADVANTAG/OTHER/DJGPP/DJGPP.ENV'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `WS_51042'
HOSTTYPE = `i686'
INSTSERVER1 = `GZS-SW-1'
INSTSERVER2 = `GZS-SW-2'
LM_LICENSE_FILE = `C:\bin\gans\license.dat'
LOCATION = `Desk'
LOGONSERVER = `\\GZS-CNODE-1'
MACHTYPE = `i686-pc-cygwin'
ND_LANG = `enusasc'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/HOME/CLEMENS/src'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin'
PATHEXT = `.COM;.EXE;.BAT;.CMD'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
RHIDEOPT = `-M'
RSX = `G:/RSX/BIN/RSX.EXE'
SHELL = `/bin/sh'
SHLVL = `1'
SNAROOT = `C:\Programme\SNA\system'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `/cygdrive/c/TEMP'
TERM = `cygwin'
USERDOMAIN = `GZS'
USERNAME = `i172cqu'
USERPROFILE = `C:\WINNT\Profiles\i172cqu'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 4110Mb 33% CP CS UN PA FC SYSTEM
f: net NTFS 52062Mb 56% CP CS UN PA FC DATEN5
g: net NTFS 208389Mb 75% CP CS UN PA FC Daten1
j: net CDFS 64Mb 50% JUKEMAN
r: net NTFS 104190Mb 65% CP CS UN PA FC DATEN2
s: net NTFS 121558Mb 59% CP CS UN PA FC DATEN3
t: net NTFS 121558Mb 59% CP CS UN PA FC DATEN3
v: net NTFS 1458Mb 41% CP CS UN PA FC WORK1
w: net NTFS 52062Mb 56% CP CS UN PA FC DATEN5
y: net NTFS 208389Mb 75% CP CS UN PA FC Daten1
c:\cygwin\bin /usr/bin system binmode
c:\cygwin\lib /usr/lib system binmode
c:\cygwin / system binmode
Found: c:\cygwin\bin\bash.exe
Found: c:\cygwin\bin\cat.exe
Found: c:\cygwin\bin\cpp.exe
Found: c:\cygwin\bin\find.exe
Found: c:\cygwin\bin\gcc.exe
Found: t:\AE\ADVANTAG\OTHER\DJGPP\BIN\gcc.exe
Warning: c:\cygwin\bin\gcc.exe hides t:\AE\ADVANTAG\OTHER\DJGPP\BIN\gcc.exe
Found: c:\cygwin\bin\gdb.exe
Found: c:\cygwin\bin\ld.exe
Found: t:\AE\ADVANTAG\OTHER\DJGPP\BIN\ld.exe
Warning: c:\cygwin\bin\ld.exe hides t:\AE\ADVANTAG\OTHER\DJGPP\BIN\ld.exe
Found: c:\cygwin\bin\ls.exe
Found: c:\cygwin\bin\make.exe
Found: t:\AE\ADVANTAG\OTHER\DJGPP\BIN\make.exe
Warning: c:\cygwin\bin\make.exe hides t:\AE\ADVANTAG\OTHER\DJGPP\BIN\make.exe
Found: c:\cygwin\bin\sh.exe
83k 2000/06/11 c:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000/6/11 3:34
35k 2000/06/11 c:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000/6/11 3:34
402k 2000/06/11 c:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000/6/11 3:30
5k 2000/06/11 c:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2000/06/11 c:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2000/6/11 3:30
639k 2000/06/11 c:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000/6/11 3:34
586k 2000/08/04 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2000/8/4 0:53
Cygwin DLL version info:
dll major: 1001
dll minor: 4
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
api major: 0
api minor: 26
shared data: 3
dll identifier: cygwin1
mount registry: 2
cygnus registry name: Cygnus Solutions
cygwin registry name: Cygwin
program options name: Program Options
cygwin mount registry name: mounts v2
build date: Thu Aug 3 20:53:46 EDT 2000
CVS tag: cygwin-1-1-4
shared id: cygwin1S3
Use -h to see help about each section
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com