alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Tomcat example source code file (libtcnative.rc)

This example Tomcat source code file (libtcnative.rc) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Tomcat tags/keywords

apache, begin, begin, block, end, end, fileversion, license, license, see, tcn_verison, value, value, you

The Tomcat libtcnative.rc source code

#include <windows.h>

LANGUAGE 0x9,0x1
1 11 logmessages.bin

#define TCN_COPYRIGHT "Licensed to the Apache Software Foundation (ASF) under " \
                      "one or more contributor license agreements.  See the " \
                      "NOTICE file distributed with this work for additional " \
                      "information regarding copyright ownership."

#define TCN_LICENSE  "The ASF licenses this file to You under the Apache " \
                     "License, Version 2.0 (the ""License""); you may not use " \
                     "this file except in compliance with the License.  You " \
                     "may obtain a copy of the License at\r\n\r\n" \
                     "http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n" \
                     "Unless required by applicable law or agreed to in " \
                     "writing, software distributed under the License is " \
                     "distributed on an ""AS IS"" BASIS, WITHOUT WARRANTIES " \
                     "OR CONDITIONS OF ANY KIND, either express or implied. " \
                     "See the License for the specific language governing " \
                     "permissions and limitations under the License."

#define TCN_VERISON "1.1.12"
1000 ICON "apache.ico"

1001 DIALOGEX 0, 0, 252, 51
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_CAPTION
CAPTION "Password prompt"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    ICON            1000,-1,8,6,21,20
    LTEXT           "Some of your private key files are encrypted for security reasons.\nIn order to read them you have to provide the pass phrases.",
                    -1,29,5,220,19
    LTEXT           "Enter password:",-1,7,28,75,8
    EDITTEXT        1002,67,27,174,12,ES_PASSWORD | ES_AUTOHSCROLL
END

1 VERSIONINFO
 FILEVERSION 1,1,12,0
 PRODUCTVERSION 1,1,12,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x40004L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments",  TCN_LICENSE "\0"
            VALUE "CompanyName", "Apache Software Foundation\0"
            VALUE "FileDescription", "Tomcat Native Java Library\0"
            VALUE "FileVersion", TCN_VERISON "\0"
            VALUE "InternalName", "libtcnative-1\0"
            VALUE "LegalCopyright", TCN_COPYRIGHT "\0"
            VALUE "OriginalFilename", "libtcnative-1.dll\0"
            VALUE "ProductName", "Tomcat Native Java Library\0"
            VALUE "ProductVersion", TCN_VERISON "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

Other Tomcat examples (source code examples)

Here is a short list of links related to this Tomcat libtcnative.rc source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.