Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Please Vote! Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

# Windows Native Code Files

This is a description of the files in the 'files\win' directory.

    AppUtilsMSVM.*	sehstubs.*

> These files contain the exported native methods. These routines convert their arguments to and from Java format, and call through to the S-Files to do most of the work.

> See AppUtilsMSVM.java for documentation on each of these methods.

> There is different behavior depending on whether 'DO_SEH' is defined or not:

> - if DO_SEH is not defined, sehstubs.* are not used, and 'AppUtilsMSVM.cpp' contains the exported native methods...
> - if DO_SEH is defined, sehstubs.cpp contains the exported native methods, which are just stub routines which call the routines in AppUtilsMSVM.cpp.
> This way, the code can be compiled with CW2, which doesn't support SEH.

> AppUtilsMSVM.h switches on the native selectors (DO_JNI, etc.), and includes the appropriate javah-generated header file.

    JDK10_AppUtilsMSVM.h
    JNI_AppUtilsMSVM.h
    RNI1_AppUtilsMSVM.h
    RNI2_AppUtilsMSVM.h

> These are the javah/msjavah-generated native method header files.

> Only one of these files is used when compiling; AppUtilsMSVM.h includes the appropriate file, depending on which native architecture is defined (i.e., whether DO_JNI, DO_RNI1, DO_RNI2, or DO_JRI is defined.)

    SVolumes.*
    SFileInfo.*
    SAppInfo.*
    SAppFinder.*
    SAliases.*
    SMonitors.*
    SFileIterate.*
    SVersionInfo.*
    SWebBrowser.*
    SIconInfo.*

> The 'S-Files', which are called from the native method layer to do most of the work.

    unicodeOn95.h

> Defines 'USING_UNICODE_ON_W95_FOR_TESTING_ONLY', which in most cases should be commented out. If not commented out, this allows you to test the WinNT version on Windows95. Since most WinAPI W routines don't work on 95, this offers limited functionality. Currently, this file is included in XToolkit.cpp and Debugger.cpp.

    AppData.h

> Contains the definition of the AppDataType used with Windows processes.

    utils.*

> Contains one routine, used to work around a CW2 problem.

    entry.cpp

> Contains RNIGetCompatibleVersion(); used only in RNI2 builds.

    CRegUtils.*
    CFileUtils.*
    CIconUtils.*
    CLinkFileUtils.*

> General utility routines, used mainly by the S-Files.

    XToolkit.*

> Contains wrappers around several WinAPI routines. Most of the WinAPI routines used by the DLLs which take string arguments, or which are available in A and W versions, are wrapped in this file. This is designed to shield the rest of the code from using the CStr getBuf()/getByteCapacity()/getCharCapacity() routines.

    W95trace.*

> Emulates OutputDebugString on Win95.

    icon1.ico
    resource.h
    Script1.aps
    Script1.rc

> Icon and version information for the DLLs

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.