Translate Source Code; Software Requirements; Preparing The Translation; Compiler Flags - Siemens 7 Developer's Manual

Multiplexer driver
Hide thumbs Also See for 7:
Table of Contents

Advertisement

Multiplexer Driver Developer's Guide

6 Translate Source Code

6
Translate Source Code
6.1

Software Requirements

The WinMux build environment has been designed to work together with a Microsoft Visual Studio 6.0 SP3 or
higher and the Microsoft Windows XP SP1 DDK. It is possible to use a Windows 2000 DDK as well, but in this
case adaptations to the different build control files might be necessary.
6.2

Preparing the Translation

Create the environment variables "WINMUXVSTUDIOROOT" and "WINMUXDDKROOT" containing the path
1
to the root of your Visual Studio and Windows DDK installation. Alternatively you can edit the file
"driver\dir_env.cmd" and enter the correct paths to the DDK and the VC 6.0 there.
Open the workspace sermux in the root directory. Select batch build.
2
The executable files can be found under lib\wdm\[fre|chk] _wxp_x86\i386.
3
Note: The DDK is a software tool for Windows driver development.
6.3

Compiler Flags

There is only one compiler flag "MUX_MANUAL" for a conditional compile of the driver. With this compiler flag
set the driver can be compiled in a special manual version where opening and closing of the multiplexer can be
controlled via special DeviceIoControl() commands instead of automatic control via the opened virtual channels.
This manual version is used for internal automated module testing and is not relevant for usual driver operation.
Mux_Drv_DevGuide_v07
Confidential / Released
Page 26 of 36
s
2006-9-27

Advertisement

Table of Contents
loading

Table of Contents