Commit for development environment setup
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.1.*")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
@@ -0,0 +1,58 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
//
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.1.*")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
||||
[assembly: AssemblyDelaySign(false)]
|
||||
[assembly: AssemblyKeyFile("E:\\proms.net\\Public Key\\vlnkey.snk")]
|
||||
[assembly: AssemblyKeyName("")]
|
@@ -0,0 +1,113 @@
|
||||
/*********************************************************************************************
|
||||
* Copyright 2004 - Volian Enterprises, Inc. All rights reserved.
|
||||
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||
* ------------------------------------------------------------------------------
|
||||
* $Workfile: VEMessage.cs $ $Revision: 1 $
|
||||
* $Author: Kathy $ $Date: 7/27/04 8:24a $
|
||||
*
|
||||
* $History: VEMessage.cs $
|
||||
*
|
||||
* ***************** Version 1 *****************
|
||||
* User: Kathy Date: 7/27/04 Time: 8:24a
|
||||
* Created in $/LibSource/VEMessage
|
||||
*********************************************************************************************/
|
||||
using System;
|
||||
using System.Collections.Specialized;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace VEMessageNS
|
||||
{
|
||||
// messages for communication between this app & vfw.
|
||||
public enum MessageOps
|
||||
{
|
||||
WM_USER = 0x0400,
|
||||
MSG_COMMAND_TERMINATE = WM_USER + 200 + 4,
|
||||
POSQUERY = WM_USER+0x015, //21,
|
||||
POSUPDATE = WM_USER+0x016, //22,
|
||||
GETANSWER = WM_USER+0x017, //23,
|
||||
RQSTATTACH = WM_USER+0x018, //24,
|
||||
RQSTFILEOFFSET = WM_USER+0x19, //25,
|
||||
RQSTFILEMODE = WM_USER+0x01a, //26,
|
||||
RQSTFILEOWNER = WM_USER+0x01b, //27,
|
||||
RQSTFILESEEK = WM_USER+0x01c, //28,
|
||||
RQSTFILECLOSE = WM_USER+0x01d, //29,
|
||||
RQSTFILEOPEN = WM_USER+0x01e, //30,
|
||||
RQSTFILEREAD = WM_USER+0x01f, //31,
|
||||
RQSTFILEWRITE = WM_USER+0x020, //32,
|
||||
RQSTPROCESSRECORD = WM_USER+0x021, //33,
|
||||
GETPROCESSREC = WM_USER+0x022, //34,
|
||||
SETLOCKBYUSER = WM_USER+0x023, // 35
|
||||
};
|
||||
|
||||
|
||||
public class Win32
|
||||
{
|
||||
[DllImport("wow32.dll")]
|
||||
public static extern Int16 WOWHandle16(IntPtr x, int xx);
|
||||
}
|
||||
|
||||
public class VEMessage
|
||||
{
|
||||
public HybridDictionary dicMessage;
|
||||
static int m_Handle_16bit;
|
||||
static IntPtr m_Handle_vfw;
|
||||
public VEMessage()
|
||||
{
|
||||
dicMessage = new HybridDictionary();
|
||||
dicMessage.Add(0x415,MessageOps.POSQUERY);
|
||||
dicMessage.Add(0x416,MessageOps.POSUPDATE);
|
||||
dicMessage.Add(0x417,MessageOps.GETANSWER);
|
||||
dicMessage.Add(0x418,MessageOps.RQSTATTACH);
|
||||
dicMessage.Add(0x419,MessageOps.RQSTFILEOFFSET);
|
||||
dicMessage.Add(0x41a,MessageOps.RQSTFILEMODE);
|
||||
dicMessage.Add(0x41b,MessageOps.RQSTFILEOWNER);
|
||||
dicMessage.Add(0x41c,MessageOps.RQSTFILESEEK);
|
||||
dicMessage.Add(0x41d,MessageOps.RQSTFILECLOSE);
|
||||
dicMessage.Add(0x41e,MessageOps.RQSTFILEOPEN);
|
||||
dicMessage.Add(0x41f,MessageOps.RQSTFILEREAD);
|
||||
dicMessage.Add(0x420,MessageOps.RQSTFILEWRITE);
|
||||
dicMessage.Add(0x421,MessageOps.RQSTPROCESSRECORD);
|
||||
dicMessage.Add(0x422,MessageOps.GETPROCESSREC);
|
||||
dicMessage.Add(0x423,MessageOps.SETLOCKBYUSER);
|
||||
}
|
||||
|
||||
public bool Exists(int msg)
|
||||
{
|
||||
return(dicMessage.Contains(msg));
|
||||
}
|
||||
public static int Handle_16bit
|
||||
{
|
||||
set
|
||||
{
|
||||
m_Handle_16bit=value;
|
||||
}
|
||||
get
|
||||
{
|
||||
return m_Handle_16bit;
|
||||
}
|
||||
}
|
||||
|
||||
public static IntPtr Handle_Vfw
|
||||
{
|
||||
set
|
||||
{
|
||||
m_Handle_vfw=value;
|
||||
}
|
||||
get
|
||||
{
|
||||
return m_Handle_vfw;
|
||||
}
|
||||
}
|
||||
|
||||
public int GetMessageOp(int m)
|
||||
{
|
||||
return ((int) dicMessage[m]);
|
||||
}
|
||||
|
||||
public void SetReceiveHandle(Message m)
|
||||
{
|
||||
Handle_Vfw = m.WParam;
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,105 @@
|
||||
<VisualStudioProject>
|
||||
<CSHARP
|
||||
ProjectType = "Local"
|
||||
ProductVersion = "7.10.3077"
|
||||
SchemaVersion = "2.0"
|
||||
ProjectGuid = "{D6084F16-AF86-4D6D-B53B-13BCA7B90CA0}"
|
||||
>
|
||||
<Build>
|
||||
<Settings
|
||||
ApplicationIcon = ""
|
||||
AssemblyKeyContainerName = ""
|
||||
AssemblyName = "VEMessage"
|
||||
AssemblyOriginatorKeyFile = ""
|
||||
DefaultClientScript = "JScript"
|
||||
DefaultHTMLPageLayout = "Grid"
|
||||
DefaultTargetSchema = "IE50"
|
||||
DelaySign = "false"
|
||||
OutputType = "Library"
|
||||
PreBuildEvent = ""
|
||||
PostBuildEvent = ""
|
||||
RootNamespace = "VEMessage"
|
||||
RunPostBuildEvent = "OnBuildSuccess"
|
||||
StartupObject = ""
|
||||
>
|
||||
<Config
|
||||
Name = "Debug"
|
||||
AllowUnsafeBlocks = "false"
|
||||
BaseAddress = "285212672"
|
||||
CheckForOverflowUnderflow = "false"
|
||||
ConfigurationOverrideFile = ""
|
||||
DefineConstants = "DEBUG;TRACE"
|
||||
DocumentationFile = ""
|
||||
DebugSymbols = "true"
|
||||
FileAlignment = "4096"
|
||||
IncrementalBuild = "false"
|
||||
NoStdLib = "false"
|
||||
NoWarn = ""
|
||||
Optimize = "false"
|
||||
OutputPath = "..\..\..\Ve-proms.net\BIN\"
|
||||
RegisterForComInterop = "false"
|
||||
RemoveIntegerChecks = "false"
|
||||
TreatWarningsAsErrors = "false"
|
||||
WarningLevel = "4"
|
||||
/>
|
||||
<Config
|
||||
Name = "Release"
|
||||
AllowUnsafeBlocks = "false"
|
||||
BaseAddress = "285212672"
|
||||
CheckForOverflowUnderflow = "false"
|
||||
ConfigurationOverrideFile = ""
|
||||
DefineConstants = "TRACE"
|
||||
DocumentationFile = ""
|
||||
DebugSymbols = "false"
|
||||
FileAlignment = "4096"
|
||||
IncrementalBuild = "false"
|
||||
NoStdLib = "false"
|
||||
NoWarn = ""
|
||||
Optimize = "true"
|
||||
OutputPath = "..\..\..\Ve-proms.net\BIN\"
|
||||
RegisterForComInterop = "false"
|
||||
RemoveIntegerChecks = "false"
|
||||
TreatWarningsAsErrors = "false"
|
||||
WarningLevel = "4"
|
||||
/>
|
||||
</Settings>
|
||||
<References>
|
||||
<Reference
|
||||
Name = "System"
|
||||
AssemblyName = "System"
|
||||
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
|
||||
/>
|
||||
<Reference
|
||||
Name = "System.Data"
|
||||
AssemblyName = "System.Data"
|
||||
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
|
||||
/>
|
||||
<Reference
|
||||
Name = "System.XML"
|
||||
AssemblyName = "System.Xml"
|
||||
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
|
||||
/>
|
||||
<Reference
|
||||
Name = "System.Windows.Forms"
|
||||
AssemblyName = "System.Windows.Forms"
|
||||
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Windows.Forms.dll"
|
||||
/>
|
||||
</References>
|
||||
</Build>
|
||||
<Files>
|
||||
<Include>
|
||||
<File
|
||||
RelPath = "AssemblyInfo.cs"
|
||||
SubType = "Code"
|
||||
BuildAction = "Compile"
|
||||
/>
|
||||
<File
|
||||
RelPath = "VEMessage.cs"
|
||||
SubType = "Code"
|
||||
BuildAction = "Compile"
|
||||
/>
|
||||
</Include>
|
||||
</Files>
|
||||
</CSHARP>
|
||||
</VisualStudioProject>
|
||||
|
@@ -0,0 +1,21 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VEMessage", "VEMessage.csproj", "{D6084F16-AF86-4D6D-B53B-13BCA7B90CA0}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
Debug = Debug
|
||||
Release = Release
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{D6084F16-AF86-4D6D-B53B-13BCA7B90CA0}.Debug.ActiveCfg = Debug|.NET
|
||||
{D6084F16-AF86-4D6D-B53B-13BCA7B90CA0}.Debug.Build.0 = Debug|.NET
|
||||
{D6084F16-AF86-4D6D-B53B-13BCA7B90CA0}.Release.ActiveCfg = Release|.NET
|
||||
{D6084F16-AF86-4D6D-B53B-13BCA7B90CA0}.Release.Build.0 = Release|.NET
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityAddIns) = postSolution
|
||||
EndGlobalSection
|
||||
EndGlobal
|
Reference in New Issue
Block a user