Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Port Access

, 17 Aug 2004
A way to access parallel port in Windows XP
userport.zip
UserPort.mak
UserPort.mdp
PortAccess.sys
UserPort.001
UserPort.clw
UserPort.dsp
UserPort.dsw
UserPort.ico
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Swedish resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_SVE)
#ifdef _WIN32
LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_USERPORT DIALOG DISCARDABLE  0, 0, 229, 98
STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | 
    WS_CAPTION | WS_SYSMENU
CAPTION "Port Access"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Printer port",IDC_STATIC,117,59,104,34
    PUSHBUTTON      "Open Port",IDC_BUTTON_START,125,72,38,14
    PUSHBUTTON      "Close Port",IDC_BUTTON_STOP,173,72,38,14
    CONTROL         "",IDC_CHECKOUTPUT1,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,92,23,8,8
    CONTROL         "",IDC_CHECKOUTPUT2,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,82,23,8,8
    CONTROL         "",IDC_CHECKOUTPUT3,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,72,23,8,8
    CONTROL         "",IDC_CHECKOUTPUT4,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,62,23,8,8
    CONTROL         "",IDC_CHECKOUTPUT5,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,52,23,8,8
    CONTROL         "",IDC_CHECKOUTPUT6,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,42,23,8,8
    CONTROL         "",IDC_CHECKOUTPUT7,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,32,23,8,8
    CONTROL         "",IDC_CHECKOUTPUT8,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,22,23,8,8
    GROUPBOX        "Output Data",IDC_STATIC,7,4,105,51
    PUSHBUTTON      "Output",IDC_BUTTON_OUTPUT_DATA,44,36,38,14,WS_DISABLED
    CONTROL         "",IDC_CHECKINPUT1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    201,23,8,8
    CONTROL         "",IDC_CHECKINPUT2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    191,23,8,8
    CONTROL         "",IDC_CHECKINPUT3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    181,23,8,8
    CONTROL         "",IDC_CHECKINPUT4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    171,23,8,8
    CONTROL         "",IDC_CHECKINPUT5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    161,23,8,8
    CONTROL         "",IDC_CHECKINPUT6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    151,23,8,8
    CONTROL         "",IDC_CHECKINPUT7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    141,23,8,8
    CONTROL         "",IDC_CHECKINPUT8,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
                    131,23,8,8
    GROUPBOX        "Input Data",IDC_STATIC,117,4,105,51
    PUSHBUTTON      "Input",IDC_BUTTON_INPUT_DATA,152,36,38,14,WS_DISABLED
    LTEXT           "1",IDC_STATIC,94,14,8,8
    LTEXT           "2",IDC_STATIC,84,14,8,8
    LTEXT           "3",IDC_STATIC,74,14,8,8
    LTEXT           "4",IDC_STATIC,64,14,8,8
    LTEXT           "5",IDC_STATIC,54,14,8,8
    LTEXT           "6",IDC_STATIC,44,14,8,8
    LTEXT           "7",IDC_STATIC,34,14,8,8
    LTEXT           "8",IDC_STATIC,24,14,8,8
    LTEXT           "1",IDC_STATIC,203,14,8,8
    LTEXT           "2",IDC_STATIC,193,14,8,8
    LTEXT           "3",IDC_STATIC,183,14,8,8
    LTEXT           "4",IDC_STATIC,173,14,8,8
    LTEXT           "5",IDC_STATIC,163,14,8,8
    LTEXT           "6",IDC_STATIC,153,14,8,8
    LTEXT           "7",IDC_STATIC,143,14,8,8
    LTEXT           "8",IDC_STATIC,133,14,8,8
    GROUPBOX        "Port Address",IDC_STATIC,7,59,106,34
    LISTBOX         IDC_AUMP_LIST_GRANTS,52,73,53,11,LBS_NOINTEGRALHEIGHT | 
                    WS_TABSTOP
    LTEXT           "From - To :",IDC_STATIC,12,74,35,8
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_USERPORT, DIALOG
    BEGIN
        RIGHTMARGIN, 227
        BOTTOMMARGIN, 95
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_APP                 ICON    DISCARDABLE     "UserPort.ico"
#endif    // Swedish resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

asef
Web Developer
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
I live in Iran . I started hardware programming when I was young. I designed and built some ISA cards for attaching to PC.like ocsiloscope and signal generator. Now I am working for a engineering company and Manager of some project.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150129.1 | Last Updated 18 Aug 2004
Article Copyright 2004 by asef
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid