Skip to content

Commit 93614d9

Browse files
author
Ognjen Sobajic
committed
Updates for Win32, WPF and WinForms sample apps from official/664m87.
Win32 builds and runs against 1.0.664.33-prerelease WPF and WinForms build and run against 1.0.664.33 (release version)
1 parent 86db5dc commit 93614d9

31 files changed

+89
-1256
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Debug/
2+
Release/
3+
S Debug/
4+
S Release/
5+
Win7 Debug/
6+
Win7 Release/
7+
ipch/
8+
x64/
9+
x86/
10+
ARM64/
11+
.vs/
12+
# Created by running event monitor
13+
enc_temp_folder/
14+
packages/
15+
16+
# Override root .gitignore to ensure we pick up changes for the sample app
17+
!*.sln
18+
!*.vcxproj
19+
!*.vcxproj.filters
20+
!*.props
21+
22+
# Ignore the binary generated version of the resource (.rc) file
23+
*.aps
24+
25+
# Ignore files generated by midl
26+
/HostObjectSample_h.h
27+
/HostObjectSample_i.c
28+
29+
# Make sure script debug config is checked in for vendor testing
30+
!.vscode

SampleApps/WebView2APISample/App.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
4242
DPI_AWARENESS_CONTEXT dpiAwarenessContext =
4343
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2;
4444
std::wstring appId(L"EBWebView.SampleApp");
45-
std::wstring initialUri;
45+
std::wstring initialUri(L"https://www.bing.com");
4646
DWORD creationModeId = IDM_CREATION_MODE_WINDOWED;
4747

4848
if (lpCmdLine && lpCmdLine[0])
@@ -81,7 +81,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
8181
}
8282
else if (NEXT_PARAM_CONTAINS(L"noinitialnavigation"))
8383
{
84-
initialUri = L"none";
84+
initialUri = L"";
8585
}
8686
else if (NEXT_PARAM_CONTAINS(L"appid="))
8787
{

SampleApps/WebView2APISample/AppStartPage.cpp

Lines changed: 0 additions & 109 deletions
This file was deleted.

SampleApps/WebView2APISample/AppStartPage.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

SampleApps/WebView2APISample/AppStartPage.html

Lines changed: 0 additions & 153 deletions
This file was deleted.

SampleApps/WebView2APISample/AppStartPage.js

Lines changed: 0 additions & 56 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)