Skip to content

Commit

Permalink
EventDll sample
Browse files Browse the repository at this point in the history
  • Loading branch information
(no author) committed Apr 17, 2010
1 parent 48accaa commit e664594
Show file tree
Hide file tree
Showing 22 changed files with 1,011 additions and 20 deletions.
6 changes: 4 additions & 2 deletions cdiag/cdiag/cdiag.rc
Expand Up @@ -97,7 +97,7 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 6, 0, 3752
FILEVERSION 1, 7, 0, 3759
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
Expand All @@ -116,7 +116,7 @@ BEGIN
VALUE "Comments", "Cfix Diagnostics Library"
VALUE "CompanyName", "Johannes Passing"
VALUE "FileDescription", "Cfix Diagnostics Library"
VALUE "FileVersion", "1, 6, 0, 3752\0"
VALUE "FileVersion", "1, 7, 0, 3759\0"
VALUE "InternalName", "cdiag"
VALUE "LegalCopyright", "Copyright (C) 2007"
VALUE "OriginalFilename", "cdiag.dll"
Expand Down Expand Up @@ -363,6 +363,8 @@ END








6 changes: 4 additions & 2 deletions cfix/cfix/cfix.rc
Expand Up @@ -53,7 +53,7 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 6, 0, 3752
FILEVERSION 1, 7, 0, 3759
PRODUCTVERSION 1,1,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
Expand All @@ -71,7 +71,7 @@ BEGIN
BEGIN
VALUE "CompanyName", "Johannes Passing"
VALUE "FileDescription", "Cfix"
VALUE "FileVersion", "1, 6, 0, 3752\0"
VALUE "FileVersion", "1, 7, 0, 3759\0"
VALUE "InternalName", "Cfix"
VALUE "LegalCopyright", "Copyright (C) 2008 Johannes Passing"
VALUE "OriginalFilename", "Cfix"
Expand Down Expand Up @@ -330,6 +330,8 @@ END








8 changes: 8 additions & 0 deletions cfix/cfix/cfixmsg.mc
Expand Up @@ -260,3 +260,11 @@ SymbolicName = CFIX_E_LOADING_EVENTDLL_FAILED
Language = English
Loading Event DLL failed. Make sure that path and CPU architecture are correct.
.

MessageId = 0x801d
Severity = Warning
Facility = Interface
SymbolicName = CFIX_E_EVENTDLL_INVALID_OPTIONS
Language = English
Options passed to Event DLL are invalid.
.
6 changes: 4 additions & 2 deletions cfix/cfixcmd/runtest.rc
Expand Up @@ -53,7 +53,7 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 6, 0, 3752
FILEVERSION 1, 7, 0, 3759
PRODUCTVERSION 1,1,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
Expand All @@ -71,7 +71,7 @@ BEGIN
BEGIN
VALUE "CompanyName", "Johannes Passing"
VALUE "FileDescription", "Cfix"
VALUE "FileVersion", "1, 6, 0, 3752\0"
VALUE "FileVersion", "1, 7, 0, 3759\0"
VALUE "InternalName", "Cfix"
VALUE "LegalCopyright", "Copyright (C) 2008 Johannes Passing"
VALUE "OriginalFilename", "Cfix"
Expand Down Expand Up @@ -339,6 +339,8 @@ IDI_ICON1 ICON "icon.ico"








2 changes: 1 addition & 1 deletion cfix/cfixcons/cfixcons.def
@@ -1,5 +1,5 @@
; Copyright:
; 2008-2009, Johannes Passing (passing at users.sourceforge.net)
; 2008-2010, Johannes Passing (passing at users.sourceforge.net)
;
; This file is part of cfix.
;
Expand Down
6 changes: 4 additions & 2 deletions cfix/cfixemb/cfixemb.rc
Expand Up @@ -53,7 +53,7 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 6, 0, 3752
FILEVERSION 1, 7, 0, 3759
PRODUCTVERSION 1,1,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
Expand All @@ -71,7 +71,7 @@ BEGIN
BEGIN
VALUE "CompanyName", "Johannes Passing"
VALUE "FileDescription", "cfix Embedding Helper Library"
VALUE "FileVersion", "1, 6, 0, 3752\0"
VALUE "FileVersion", "1, 7, 0, 3759\0"
VALUE "InternalName", "cfix"
VALUE "LegalCopyright", "Copyright (C) 2008 Johannes Passing"
VALUE "OriginalFilename", "cfix"
Expand Down Expand Up @@ -329,6 +329,8 @@ END








6 changes: 4 additions & 2 deletions cfixkern/cfixkl/cfixkl.rc
Expand Up @@ -53,7 +53,7 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 6, 0, 3752
FILEVERSION 1, 7, 0, 3759
PRODUCTVERSION 1,1,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
Expand All @@ -71,7 +71,7 @@ BEGIN
BEGIN
VALUE "CompanyName", "Johannes Passing"
VALUE "FileDescription", "Cfix Kernel Layer DLL"
VALUE "FileVersion", "1, 6, 0, 3752\0"
VALUE "FileVersion", "1, 7, 0, 3759\0"
VALUE "InternalName", "Cfixkl"
VALUE "LegalCopyright", "Copyright (C) 2008 Johannes Passing"
VALUE "OriginalFilename", "Cfixkl"
Expand Down Expand Up @@ -325,6 +325,8 @@ END








6 changes: 4 additions & 2 deletions cfixkern/cfixkr/cfixkr.rc
Expand Up @@ -53,7 +53,7 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 6, 0, 3752
FILEVERSION 1, 7, 0, 3759
PRODUCTVERSION 1,1,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
Expand All @@ -71,7 +71,7 @@ BEGIN
BEGIN
VALUE "CompanyName", "Johannes Passing"
VALUE "FileDescription", "Cfix Kernel Reflector"
VALUE "FileVersion", "1, 6, 0, 3752\0"
VALUE "FileVersion", "1, 7, 0, 3759\0"
VALUE "InternalName", "Cfixkr"
VALUE "LegalCopyright", "Copyright (C) 2008 Johannes Passing"
VALUE "OriginalFilename", "Cfixkr"
Expand Down Expand Up @@ -324,6 +324,8 @@ END








2 changes: 1 addition & 1 deletion doc/__buildnum.inc
@@ -1,3 +1,3 @@
BUILDNUMBER = 3752
BUILDNUMBER = 3759


2 changes: 1 addition & 1 deletion doc/docbook/book.xml
Expand Up @@ -39,7 +39,7 @@
<title>cfix</title>

<bookinfo>
<releaseinfo>Release 1.6</releaseinfo>
<releaseinfo>Release 1.7</releaseinfo>
<author>Johannes Passing</author>
</bookinfo>

Expand Down
9 changes: 9 additions & 0 deletions include/cfixmsg.h
Expand Up @@ -301,3 +301,12 @@
//
#define CFIX_E_LOADING_EVENTDLL_FAILED ((HRESULT)0x8004801CL)

//
// MessageId: CFIX_E_EVENTDLL_INVALID_OPTIONS
//
// MessageText:
//
// Options passed to Event DLL are invalid.
//
#define CFIX_E_EVENTDLL_INVALID_OPTIONS ((HRESULT)0x8004801DL)

4 changes: 2 additions & 2 deletions include/cfixutil.h
Expand Up @@ -88,11 +88,11 @@ EXTERN_C HRESULT CFIXCALLTYPE CfixutilSearch(
Parameters:
DllPath - Name/path of DLL.
Flags - CFIX_EVENT_SINK_FLAG_*.
Flags - CFIX_EVENT_SINK_FLAG_*.
Options - Options to pass to event DLL.
Sink - Result.
--*/
HRESULT CfixutilLoadEventSinkFromDll(
EXTERN_C HRESULT CfixutilLoadEventSinkFromDll(
__in PCWSTR DllPath,
__in ULONG Flags,
__in_opt PCWSTR Options,
Expand Down
18 changes: 18 additions & 0 deletions installer/cfix.wxs
Expand Up @@ -360,6 +360,23 @@
<?include cfix_samples_usercc.wxs?>
</Component>
</Directory>
<Directory Id="DirSamplesEventDll" Name="EventDll">
<Directory Id="DirSamplesEventDllLogfile" Name="Logfile">
<Component Id="CompSamplesEventDllLogfile" DiskId="1" Guid="7aeb80ec-0741-4dab-94c0-7798f4d4753b">
<Registry
Id="CompSamplesEventDllLogfileComponent"
Root="HKCU"
Key="Software\cfix\cfix\1.4\Components"
Name="CompSamplesEventDllLogfileComponent"
Type="integer"
KeyPath="yes"
Value="1" />
<RemoveFolder Id="RemoveDirSamplesEventDllLogfile" On="uninstall"/>

<?include cfix_samples_eventdll.wxs?>
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="DirInclude" Name="include">
<Component Id="CompIncludes" DiskId="1" Guid="c988cb16-f49a-452e-9901-2c660fecd35e">
Expand Down Expand Up @@ -456,6 +473,7 @@
<ComponentRef Id="CompSamplesKernel"/>
<ComponentRef Id="CompSamplesUser"/>
<ComponentRef Id="CompSamplesUserCc"/>
<ComponentRef Id="CompSamplesEventDllLogfile"/>
</Feature>

<Feature Id="FeatureWinunit" Title="WinUnit Compatibility" Level="2" AllowAdvertise="no" Description="WinUnit Compatibility">
Expand Down
8 changes: 8 additions & 0 deletions installer/cfix_samples_eventdll.wxs
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<Include>
<File Id="FileSamplesEventDllLogfileCpp" Name="Logfile.cpp" Source="$(var.CFIX_TREE)\samples\EventDll\Logfile\Logfile.cpp" />
<File Id="FileSamplesEventDllLogfileDef" Name="Logfile.def" Source="$(var.CFIX_TREE)\samples\EventDll\Logfile\Logfile.def" />
<File Id="FileSamplesEventDllLogfileSln" Name="Logfile.sln" Source="$(var.CFIX_TREE)\samples\EventDll\Logfile\Logfile.sln" />
<File Id="FileSamplesEventDllLogfileVcproj" Name="Logfile.vcp" LongName="Logfile.vcproj" Source="$(var.CFIX_TREE)\samples\EventDll\Logfile\Logfile.vcproj" />
<File Id="FileSamplesEventDllKtestLogfileSOURCES" Name="SOURCES" Source="$(var.CFIX_TREE)\samples\EventDll\Logfile\SOURCES" />
</Include>
2 changes: 1 addition & 1 deletion installer/makefile
Expand Up @@ -4,7 +4,7 @@ WIXBINPATH=D:\prog\wix\wix-2.0.5805.0-binaries
!ENDIF
!INCLUDE __buildnum.inc

VERSION = 1.6.0.$(BUILDNUMBER)
VERSION = 1.7.0.$(BUILDNUMBER)

#----------------------------------------------------------------------
#
Expand Down
2 changes: 1 addition & 1 deletion makefile.cfix
Expand Up @@ -28,7 +28,7 @@
!ENDIF
!INCLUDE __buildnum.inc

VERSION=1.6.0.$(BUILDNUMBER)
VERSION=1.7.0.$(BUILDNUMBER)
CUSTOMSYMSTORE=D:\XSYMBOLS\Custom
CFIX_CLAGS=-f -z -kern

Expand Down
2 changes: 1 addition & 1 deletion samples/DIRS
@@ -1 +1 @@
DIRS=UserCc UserC Kernel
DIRS=UserCc UserC Kernel EventDll

0 comments on commit e664594

Please sign in to comment.