|
GEOS SDK TechDocs
|
|
5 Directory Structure
If you are having trouble starting the simulation or attaching Swat, consult the table below. The most common known difficulties are listed.
-
GEOS window dies immediately.
-
Run the EC version and attach Swat. Does it die with the error LS_CANNOT_LOCATE_KERNEL?
The working directory of the
NT GEOS
window must be a target directory with an
.ini
file and device subdirectories.
Does Swat report FSHOF_SET_FILE_NAME_PASSED_TO_SKELETON_DRIVER, ATTEMPTED_TO_PERFORM_UNSUPPORTED_FUNCTION_
BEFORE_APPROPRIATE_IFS_DRIVER_WAS_LOADED, or TOO_MANY_PRIMARY_FSDs?
There is a problem with the file system driver. Check
.ini
file settings and
setver
listing, referring to NT Configuration
.
-
GEOS is not in a window.
-
It should have a title bar and look like a window.
Verify that you have a text loader (
loader{ec}.exe
).
Verify that
geosvdd.dll
is in your path.
Verify that you are using an
NT
video driver under
[screen 0]
in your
.ini
file (probably
simp4bi{t/e}
).
-
GEOS cannot launch, reporting:
Can't open named pipe
-
Are you already running NT GEOS?
Only one copy can run at a time.
-
Swat cannot connect, reporting:
Can't contact GEOS using the Named Pipe: \\.\pipe\swatpipe
-
Are you running the demo with a Swat stub (
s.bat
or
ss.bat
)? Did you immediately try to attach?
If you are running the correct demo, try to attach again. You may have attempted to attach before the Swat stub was ready.
-
The keyboard doesn't work.
-
Is the NT GEOS window active? It should have a blue title bar.
Click in the window to make it active.
-
GEOS isn't running a window.
-
Check your
.ini
file (and [paths] referents) for correct keyboard setting (or
pini keyboard
in swat); you must use the
gdikbd
keyboard driver.
-
The keyboard seems to fail suddenly.
-
Ctrl or Alt keys may be "stuck" in
GEOS
. Hit Ctrl, Alt, Caps Lock, and Shift a few times to clear them.
-
Extended-character-set dialog will not come up.
-
Verify that
altGr = true
under category
[GDI keyboard]
is set in your
.ini
file (or referent).
-
Swat's
srcwin
command fails, reporting:
Window too small
-
The default NT command-window size is too small for the default srcwin. There are two fixes:
(1) Reduce the srcwin buffer size to match your window size with the Swat command
srcwin 20.
(2) Restart Swat from a larger window. (Size changes during a session are not recognized by Swat.) Your default window size can be increased by changing the window-size property of your command windows, or just your Swat shortcut.
-
Swat does not set mouse-click breakpoints.
-
Make sure quick-edit mode is off in your Swat window.
-
GEOS hangs until Swat window selected.
-
Have foreground/background task priorities been set equal?
Check under the
System
module of the Control Panel.
-
GEOS hangs or
.ini
file corrupt.
-
Run the EC version and attach Swat. Is the
.ini
file corrupt?
Open and re-save it using
NT
or
DOS
edit
to restore
CR-LF
's.
-
GEOS does not emulate sounds.
-
To test sounds in your application, you must use an actual device. (Sound has been disabled entirely to avoid the spurious sounds produced by the
PC
-
DOS
driver, in your .
INI
files,
SOUND
=
OFF
under [
UI
].)
-
pmake
fails, reporting:
Couldn't find geos.mk.
-
Set environment variable
ROOT_DIR
(to
C:\PCGEOS
, e.g.).
-
pmake
fails, reporting:
Couldn't find stddef.h
-
Set environment variable
GOC_COMPILER_DIR
(to
C:\BC45
, e.g.).
|
GEOS SDK TechDocs
|
|
5 Directory Structure