mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-14 19:00:01 +01:00
plugin filters now working in windows
This commit is contained in:
@@ -80,13 +80,13 @@ bool Plugin::loadPlugin(const std::string &text) {
|
|||||||
|
|
||||||
pixel_function = (pixel) library->resolve("pixel");
|
pixel_function = (pixel) library->resolve("pixel");
|
||||||
if(!pixel_function) {
|
if(!pixel_function) {
|
||||||
QMessageBox::information(0, "Could not find pixel function", text.c_str());
|
QMessageBox::information(0, text.c_str(), "Could not find pixel function");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
complete_function = (complete) library->resolve("complete");
|
complete_function = (complete) library->resolve("complete");
|
||||||
if(!complete_function) {
|
if(!complete_function) {
|
||||||
QMessageBox::information(0, "Could not find complete function", text.c_str());
|
QMessageBox::information(0, text.c_str(), "Could not find complete function");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
mod_name = text;
|
mod_name = text;
|
||||||
|
|||||||
BIN
src/plugins/.DS_Store
vendored
Normal file
BIN
src/plugins/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
src/plugins/basic/.DS_Store
vendored
Normal file
BIN
src/plugins/basic/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter.dll
Executable file
BIN
src/plugins/basic/BasicFilter.dll
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/.DS_Store
vendored
Normal file
BIN
src/plugins/basic/BasicFilter/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter.opensdf
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter.opensdf
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter.sdf
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter.sdf
Executable file
Binary file not shown.
22
src/plugins/basic/BasicFilter/BasicFilter.sln
Executable file
22
src/plugins/basic/BasicFilter/BasicFilter.sln
Executable file
@@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 2013
|
||||||
|
VisualStudioVersion = 12.0.21005.1
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BasicFilter", "BasicFilter\BasicFilter.vcxproj", "{9991B5C6-E407-43B6-8F68-08BA8179360C}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{9991B5C6-E407-43B6-8F68-08BA8179360C}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{9991B5C6-E407-43B6-8F68-08BA8179360C}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{9991B5C6-E407-43B6-8F68-08BA8179360C}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{9991B5C6-E407-43B6-8F68-08BA8179360C}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
BIN
src/plugins/basic/BasicFilter/BasicFilter.v12.suo
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter.v12.suo
Executable file
Binary file not shown.
12
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.cpp
Executable file
12
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.cpp
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
#include "stdafx.h"
|
||||||
|
#include "BasicFilter.h"
|
||||||
|
|
||||||
|
BASICFILTER_API void pixel(int x, int y, unsigned char *rgb)
|
||||||
|
{
|
||||||
|
rgb[0] = rgb[1] = rgb[2] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BASICFILTER_API void complete() {
|
||||||
|
|
||||||
|
}
|
||||||
15
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.h
Executable file
15
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.h
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
// The following ifdef block is the standard way of creating macros which make exporting
|
||||||
|
// from a DLL simpler. All files within this DLL are compiled with the BASICFILTER_EXPORTS
|
||||||
|
// symbol defined on the command line. This symbol should not be defined on any project
|
||||||
|
// that uses this DLL. This way any other project whose source files include this file see
|
||||||
|
// BASICFILTER_API functions as being imported from a DLL, whereas this DLL sees symbols
|
||||||
|
// defined with this macro as being exported.
|
||||||
|
#ifdef BASICFILTER_EXPORTS
|
||||||
|
#define BASICFILTER_API __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define BASICFILTER_API __declspec(dllimport)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
extern "C" BASICFILTER_API void pixel(int x, int y, unsigned char *rgb);
|
||||||
|
extern "C" BASICFILTER_API void complete();
|
||||||
104
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.vcxproj
Executable file
104
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.vcxproj
Executable file
@@ -0,0 +1,104 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{9991B5C6-E407-43B6-8F68-08BA8179360C}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>BasicFilter</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v120</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;BASICFILTER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;BASICFILTER_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Text Include="ReadMe.txt" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="BasicFilter.h" />
|
||||||
|
<ClInclude Include="stdafx.h" />
|
||||||
|
<ClInclude Include="targetver.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="BasicFilter.cpp" />
|
||||||
|
<ClCompile Include="dllmain.cpp">
|
||||||
|
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="stdafx.cpp">
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
42
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.vcxproj.filters
Executable file
42
src/plugins/basic/BasicFilter/BasicFilter/BasicFilter.vcxproj.filters
Executable file
@@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Text Include="ReadMe.txt" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="stdafx.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="targetver.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="BasicFilter.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="stdafx.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="BasicFilter.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="dllmain.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
18
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.log
Executable file
18
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.log
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
Build started 2/14/2017 7:24:42 AM.
|
||||||
|
1>Project "c:\Users\Jared\documents\visual studio 2013\Projects\BasicFilter\BasicFilter\BasicFilter.vcxproj" on node 2 (Build target(s)).
|
||||||
|
1>ClCompile:
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D BASICFILTER_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Debug\BasicFilter.pch" /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt BasicFilter.cpp
|
||||||
|
BasicFilter.cpp
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D BASICFILTER_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt dllmain.cpp
|
||||||
|
dllmain.cpp
|
||||||
|
Link:
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Debug\BasicFilter.dll" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Debug\BasicFilter.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Debug\BasicFilter.lib" /MACHINE:X86 /DLL Debug\BasicFilter.obj
|
||||||
|
Debug\dllmain.obj
|
||||||
|
Debug\stdafx.obj
|
||||||
|
Creating library c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Debug\BasicFilter.lib and object c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Debug\BasicFilter.exp
|
||||||
|
BasicFilter.vcxproj -> c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Debug\BasicFilter.dll
|
||||||
|
1>Done Building Project "c:\Users\Jared\documents\visual studio 2013\Projects\BasicFilter\BasicFilter\BasicFilter.vcxproj" (Build target(s)).
|
||||||
|
|
||||||
|
Build succeeded.
|
||||||
|
|
||||||
|
Time Elapsed 00:00:02.12
|
||||||
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.obj
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.obj
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.pch
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.pch
Executable file
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
|
||||||
|
Debug|Win32|c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\|
|
||||||
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.tlog/CL.read.1.tlog
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.tlog/CL.read.1.tlog
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.tlog/CL.write.1.tlog
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/BasicFilter.tlog/CL.write.1.tlog
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/dllmain.obj
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/dllmain.obj
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/stdafx.obj
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/stdafx.obj
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/vc120.idb
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/vc120.idb
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/vc120.pdb
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Debug/vc120.pdb
Executable file
Binary file not shown.
40
src/plugins/basic/BasicFilter/BasicFilter/ReadMe.txt
Executable file
40
src/plugins/basic/BasicFilter/BasicFilter/ReadMe.txt
Executable file
@@ -0,0 +1,40 @@
|
|||||||
|
========================================================================
|
||||||
|
DYNAMIC LINK LIBRARY : BasicFilter Project Overview
|
||||||
|
========================================================================
|
||||||
|
|
||||||
|
AppWizard has created this BasicFilter DLL for you.
|
||||||
|
|
||||||
|
This file contains a summary of what you will find in each of the files that
|
||||||
|
make up your BasicFilter application.
|
||||||
|
|
||||||
|
|
||||||
|
BasicFilter.vcxproj
|
||||||
|
This is the main project file for VC++ projects generated using an Application Wizard.
|
||||||
|
It contains information about the version of Visual C++ that generated the file, and
|
||||||
|
information about the platforms, configurations, and project features selected with the
|
||||||
|
Application Wizard.
|
||||||
|
|
||||||
|
BasicFilter.vcxproj.filters
|
||||||
|
This is the filters file for VC++ projects generated using an Application Wizard.
|
||||||
|
It contains information about the association between the files in your project
|
||||||
|
and the filters. This association is used in the IDE to show grouping of files with
|
||||||
|
similar extensions under a specific node (for e.g. ".cpp" files are associated with the
|
||||||
|
"Source Files" filter).
|
||||||
|
|
||||||
|
BasicFilter.cpp
|
||||||
|
This is the main DLL source file.
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
Other standard files:
|
||||||
|
|
||||||
|
StdAfx.h, StdAfx.cpp
|
||||||
|
These files are used to build a precompiled header (PCH) file
|
||||||
|
named BasicFilter.pch and a precompiled types file named StdAfx.obj.
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
Other notes:
|
||||||
|
|
||||||
|
AppWizard uses "TODO:" comments to indicate parts of the source code you
|
||||||
|
should add to or customize.
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
22
src/plugins/basic/BasicFilter/BasicFilter/Release/BasicFilter.log
Executable file
22
src/plugins/basic/BasicFilter/BasicFilter/Release/BasicFilter.log
Executable file
@@ -0,0 +1,22 @@
|
|||||||
|
Build started 2/14/2017 7:24:49 AM.
|
||||||
|
1>Project "c:\Users\Jared\documents\visual studio 2013\Projects\BasicFilter\BasicFilter\BasicFilter.vcxproj" on node 2 (Build target(s)).
|
||||||
|
1>ClCompile:
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /nologo /W3 /WX- /sdl /O2 /Oi /Oy- /GL /D WIN32 /D NDEBUG /D _WINDOWS /D _USRDLL /D BASICFILTER_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Yc"stdafx.h" /Fp"Release\BasicFilter.pch" /Fo"Release\\" /Fd"Release\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt stdafx.cpp
|
||||||
|
stdafx.cpp
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /nologo /W3 /WX- /sdl /O2 /Oi /Oy- /GL /D WIN32 /D NDEBUG /D _WINDOWS /D _USRDLL /D BASICFILTER_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp"Release\BasicFilter.pch" /Fo"Release\\" /Fd"Release\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt BasicFilter.cpp
|
||||||
|
BasicFilter.cpp
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /nologo /W3 /WX- /sdl /O2 /Oi /Oy- /GL /D WIN32 /D NDEBUG /D _WINDOWS /D _USRDLL /D BASICFILTER_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Release\\" /Fd"Release\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt dllmain.cpp
|
||||||
|
dllmain.cpp
|
||||||
|
Link:
|
||||||
|
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Release\BasicFilter.dll" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Release\BasicFilter.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Release\BasicFilter.lib" /MACHINE:X86 /SAFESEH /DLL Release\BasicFilter.obj
|
||||||
|
Release\dllmain.obj
|
||||||
|
Release\stdafx.obj
|
||||||
|
Creating library c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Release\BasicFilter.lib and object c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Release\BasicFilter.exp
|
||||||
|
Generating code
|
||||||
|
Finished generating code
|
||||||
|
BasicFilter.vcxproj -> c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\Release\BasicFilter.dll
|
||||||
|
1>Done Building Project "c:\Users\Jared\documents\visual studio 2013\Projects\BasicFilter\BasicFilter\BasicFilter.vcxproj" (Build target(s)).
|
||||||
|
|
||||||
|
Build succeeded.
|
||||||
|
|
||||||
|
Time Elapsed 00:00:01.96
|
||||||
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/BasicFilter.obj
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/BasicFilter.obj
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/BasicFilter.pch
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/BasicFilter.pch
Executable file
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
|
||||||
|
Release|Win32|c:\users\jared\documents\visual studio 2013\Projects\BasicFilter\|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/dllmain.obj
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/dllmain.obj
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/stdafx.obj
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/stdafx.obj
Executable file
Binary file not shown.
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/vc120.pdb
Executable file
BIN
src/plugins/basic/BasicFilter/BasicFilter/Release/vc120.pdb
Executable file
Binary file not shown.
19
src/plugins/basic/BasicFilter/BasicFilter/dllmain.cpp
Executable file
19
src/plugins/basic/BasicFilter/BasicFilter/dllmain.cpp
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
// dllmain.cpp : Defines the entry point for the DLL application.
|
||||||
|
#include "stdafx.h"
|
||||||
|
|
||||||
|
BOOL APIENTRY DllMain( HMODULE hModule,
|
||||||
|
DWORD ul_reason_for_call,
|
||||||
|
LPVOID lpReserved
|
||||||
|
)
|
||||||
|
{
|
||||||
|
switch (ul_reason_for_call)
|
||||||
|
{
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
case DLL_THREAD_ATTACH:
|
||||||
|
case DLL_THREAD_DETACH:
|
||||||
|
case DLL_PROCESS_DETACH:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
8
src/plugins/basic/BasicFilter/BasicFilter/stdafx.cpp
Executable file
8
src/plugins/basic/BasicFilter/BasicFilter/stdafx.cpp
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
// stdafx.cpp : source file that includes just the standard includes
|
||||||
|
// BasicFilter.pch will be the pre-compiled header
|
||||||
|
// stdafx.obj will contain the pre-compiled type information
|
||||||
|
|
||||||
|
#include "stdafx.h"
|
||||||
|
|
||||||
|
// TODO: reference any additional headers you need in STDAFX.H
|
||||||
|
// and not in this file
|
||||||
16
src/plugins/basic/BasicFilter/BasicFilter/stdafx.h
Executable file
16
src/plugins/basic/BasicFilter/BasicFilter/stdafx.h
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
// stdafx.h : include file for standard system include files,
|
||||||
|
// or project specific include files that are used frequently, but
|
||||||
|
// are changed infrequently
|
||||||
|
//
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "targetver.h"
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||||
|
// Windows Header Files:
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// TODO: reference additional headers your program requires here
|
||||||
8
src/plugins/basic/BasicFilter/BasicFilter/targetver.h
Executable file
8
src/plugins/basic/BasicFilter/BasicFilter/targetver.h
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
// Including SDKDDKVer.h defines the highest available Windows platform.
|
||||||
|
|
||||||
|
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
|
||||||
|
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
|
||||||
|
|
||||||
|
#include <SDKDDKVer.h>
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,14 +1,19 @@
|
|||||||
#include<iostream>
|
#include<iostream>
|
||||||
|
|
||||||
|
#if defined(__linux__) || defined(__APPLE__)
|
||||||
|
#define EXPORT_FUNC
|
||||||
|
#define CDECL
|
||||||
|
#else
|
||||||
|
#define EXPORT_FUNC __declspec(dllexport)
|
||||||
|
#define CDECL __cdecl
|
||||||
|
#endif
|
||||||
|
|
||||||
extern "C" void pixel(int x, int y, unsigned char *rgb);
|
extern "C" EXPORT_FUNC void CDECL pixel(int x, int y, unsigned char *rgb) {
|
||||||
extern "C" void complete();
|
rgb[0] = rgb[1] = rgb[2] = 0;
|
||||||
|
|
||||||
|
|
||||||
void pixel(int x, int y, unsigned char *rgb) {
|
|
||||||
rgb[0] = rgb[1] = rgb[2] = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void complete() {
|
extern "C" EXPORT_FUNC void CDECL complete() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user