Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

WIP: Initial progress toward WPF support #236

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions winsdkfb/winsdkfb.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "winsdkfb", "winsdkfb", "{A5BE3147-4D21-457F-A11E-0D0B0C5A5ED8}"
EndProject
Expand All @@ -25,14 +25,21 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDKCppUnit.Windows", "..\sa
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDKCppUnit.WindowsPhone", "..\samples\SDKCppUnit\SDKCppUnit.WindowsPhone\SDKCppUnit.WindowsPhone.vcxproj", "{BA94BFB2-5F5D-4693-88F3-F866DA55EFD0}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winsdkfb_wpf", "winsdkfb_wpf\winsdkfb_wpf.vcxproj", "{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}"
ProjectSection(ProjectDependencies) = postProject
{418FC79B-AA0F-4951-A7D9-7DA89BDF8FB6} = {418FC79B-AA0F-4951-A7D9-7DA89BDF8FB6}
{F833B1E6-2866-4A47-89E2-C474983FE70F} = {F833B1E6-2866-4A47-89E2-C474983FE70F}
EndProjectSection
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
..\samples\SDKCppUnit\SDKCppUnit.Shared\SDKCppUnit.Shared.vcxitems*{19e70697-aa80-43af-b1e4-c49c5b402d48}*SharedItemsImports = 9
winsdkfb\winsdkfb.Shared\winsdkfb.Shared.vcxitems*{364f0bd6-4a53-44dd-83e2-d8c8d99913dc}*SharedItemsImports = 4
..\samples\SDKCppUnit\SDKCppUnit.Shared\SDKCppUnit.Shared.vcxitems*{382dc0b6-f27d-476b-888b-d4b40fe3490b}*SharedItemsImports = 4
winsdkfb\winsdkfb.Shared\winsdkfb.Shared.vcxitems*{418fc79b-aa0f-4951-a7d9-7da89bdf8fb6}*SharedItemsImports = 4
winsdkfb\winsdkfb.Shared\winsdkfb.Shared.vcxitems*{5c0b24d0-ba5f-490a-ab3e-71265d4a0a4b}*SharedItemsImports = 9
winsdkfb\winsdkfb.Shared\winsdkfb.Shared.vcxitems*{f833b1e6-2866-4a47-89e2-c474983fe70f}*SharedItemsImports = 4
..\samples\SDKCppUnit\SDKCppUnit.Shared\SDKCppUnit.Shared.vcxitems*{ba94bfb2-5f5d-4693-88f3-f866da55efd0}*SharedItemsImports = 4
..\samples\SDKCppUnit\SDKCppUnit.Shared\SDKCppUnit.Shared.vcxitems*{382dc0b6-f27d-476b-888b-d4b40fe3490b}*SharedItemsImports = 4
..\samples\SDKCppUnit\SDKCppUnit.Shared\SDKCppUnit.Shared.vcxitems*{19e70697-aa80-43af-b1e4-c49c5b402d48}*SharedItemsImports = 9
winsdkfb\winsdkfb.Shared\winsdkfb.Shared.vcxitems*{f833b1e6-2866-4a47-89e2-c474983fe70f}*SharedItemsImports = 4
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Expand Down Expand Up @@ -147,6 +154,16 @@ Global
{BA94BFB2-5F5D-4693-88F3-F866DA55EFD0}.Release|Win32.Build.0 = Release|Win32
{BA94BFB2-5F5D-4693-88F3-F866DA55EFD0}.Release|Win32.Deploy.0 = Release|Win32
{BA94BFB2-5F5D-4693-88F3-F866DA55EFD0}.Release|x64.ActiveCfg = Release|Win32
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Debug|ARM.ActiveCfg = Debug|Win32
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Debug|Win32.ActiveCfg = Debug|Win32
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Debug|Win32.Build.0 = Debug|Win32
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Debug|x64.ActiveCfg = Debug|x64
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Debug|x64.Build.0 = Debug|x64
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Release|ARM.ActiveCfg = Release|Win32
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Release|Win32.ActiveCfg = Release|Win32
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Release|Win32.Build.0 = Release|Win32
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Release|x64.ActiveCfg = Release|x64
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -159,5 +176,6 @@ Global
{19E70697-AA80-43AF-B1E4-C49C5B402D48} = {2FA47F0B-3633-430A-8717-B94CBFBD40FF}
{382DC0B6-F27D-476B-888B-D4B40FE3490B} = {2FA47F0B-3633-430A-8717-B94CBFBD40FF}
{BA94BFB2-5F5D-4693-88F3-F866DA55EFD0} = {2FA47F0B-3633-430A-8717-B94CBFBD40FF}
{364F0BD6-4A53-44DD-83E2-D8C8D99913DC} = {A5BE3147-4D21-457F-A11E-0D0B0C5A5ED8}
EndGlobalSection
EndGlobal
2 changes: 2 additions & 0 deletions winsdkfb/winsdkfb/winsdkfb.Shared/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
*/
#pragma once

#ifdef _WINRT_DLL
#include <collection.h>
#endif
#include <ppltasks.h>
#include "FBConstants.h"
#include "FacebookLoginButton.h"
Expand Down
48 changes: 48 additions & 0 deletions winsdkfb/winsdkfb_wpf/ReadMe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
========================================================================
DYNAMIC LINK LIBRARY : winsdkfb_wpf Project Overview
========================================================================

AppWizard has created this winsdkfb_wpf DLL for you.

This file contains a summary of what you will find in each of the files that
make up your winsdkfb_wpf application.


winsdkfb_wpf.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.

winsdkfb_wpf.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).

winsdkfb_wpf.cpp
This is the main DLL source file.

When created, this DLL does not export any symbols. As a result, it
will not produce a .lib file when it is built. If you wish this project
to be a project dependency of some other project, you will either need to
add code to export some symbols from the DLL so that an export library
will be produced, or you can set the Ignore Input Library property to Yes
on the General propert page of the Linker folder in the project's Property
Pages dialog box.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named winsdkfb_wpf.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.

/////////////////////////////////////////////////////////////////////////////
19 changes: 19 additions & 0 deletions winsdkfb/winsdkfb_wpf/dllmain.cpp
Original file line number Diff line number Diff line change
@@ -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;
}

14 changes: 14 additions & 0 deletions winsdkfb/winsdkfb_wpf/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by winsdkfb_wpf.rc

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
8 changes: 8 additions & 0 deletions winsdkfb/winsdkfb_wpf/stdafx.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// stdafx.cpp : source file that includes just the standard includes
// winsdkfb_wpf.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 changes: 16 additions & 0 deletions winsdkfb/winsdkfb_wpf/stdafx.h
Original file line number Diff line number Diff line change
@@ -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 changes: 8 additions & 0 deletions winsdkfb/winsdkfb_wpf/targetver.h
Original file line number Diff line number Diff line change
@@ -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 added winsdkfb/winsdkfb_wpf/winsdkfb_wpf.aps
Binary file not shown.
6 changes: 6 additions & 0 deletions winsdkfb/winsdkfb_wpf/winsdkfb_wpf.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// winsdkfb_wpf.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"


Binary file added winsdkfb/winsdkfb_wpf/winsdkfb_wpf.rc
Binary file not shown.
Loading