Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page is inconsistent with what Visual Studio does. #1598

Closed
brianreinhold opened this issue Apr 12, 2019 — with docs.microsoft.com · 3 comments
Closed

Page is inconsistent with what Visual Studio does. #1598

brianreinhold opened this issue Apr 12, 2019 — with docs.microsoft.com · 3 comments
Assignees

Comments

Copy link

brianreinhold commented Apr 12, 2019

This page is already inconsistent with what Visual Studio give me when creating the project. I have no main.cpp; I have two cpp files, one called pch.cpp with a single entry, #include pch.h. Then I have Class.cpp which has some auto-generated class files in it as such
int32_t Class::MyProperty()
{
throw hresult_not_implemented();
}

void Class::MyProperty(int32_t /* value */)
{
    throw hresult_not_implemented();
}

Getting started is the hardest part. What's on this page is so different its going to be a lot of trial and error to get beyond the first step.

I would also add that there is an undiscussed concept in Visual Studio called an IDL file. It is, once again, another black box configuration files. These need to be clearly and thoroughly documented. Configuration files are not based upon logic; they just are. Get everything right to the most minute detail, or nothing works.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@stevewhims
Copy link
Member

Hi, @brianreinhold, there is a Windows Runtime Component (C++/WinRT) (my emphasis) project template, which does generate files and source code that are consistent with your report (including the presence of an IDL file). However, this Get started topic calls for a Windows Console Application (C++/WinRT) project. If you create one of those, then you'll see files and source code that match what the topic is describing. And there'll be no IDL file.

This particular topic doesn't cover IDL files. However, several of the others do, for example: https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/binding-property. That topic walks you through what you need to do with the IDL files for that particular topic. For a more general walkthrough and intro to the syntax of the IDL files that you use with C++/WinRT, see Introduction to MIDL 3.0.

Thanks!
~Steve

@brianreinhold
Copy link
Author

brianreinhold commented Apr 16, 2019 via email

@stevewhims
Copy link
Member

Sounds good, thanks for the update, @brianreinhold! I'll go ahead and close this issue. Thanks for evaluating C++/WinRT for your project, and for filing the issue. ~Steve

QuinnRadich pushed a commit that referenced this issue Jun 9, 2021
* Latest updates to docs for June

* Latest updates to docs for June

* updated date
dedavis6797 added a commit to dedavis6797/windows-uwp that referenced this issue Jun 25, 2021
commit 7b637bd
Merge: 11d6a09 6eab0af
Author: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com>
Date:   Tue Jun 22 09:22:46 2021 -0700

    Merge pull request MicrosoftDocs#3183 from asklar/patch-5

    Update host-standard-control-with-xaml-islands-cpp.md

commit 6eab0af
Author: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com>
Date:   Tue Jun 22 09:22:20 2021 -0700

    Another minor edit

commit 527ad0b
Author: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com>
Date:   Tue Jun 22 09:19:07 2021 -0700

    Minor edit

commit 11d6a09
Merge: 5e5beaf bf518c3
Author: KB <kbridge@microsoft.com>
Date:   Tue Jun 22 08:58:01 2021 -0700

    Merge pull request MicrosoftDocs#3182 from asklar/patch-4

    Update conditional-xaml.md

commit c825914
Author: Alexander Sklar <asklar@microsoft.com>
Date:   Tue Jun 22 08:46:07 2021 -0700

    Update host-standard-control-with-xaml-islands-cpp.md

commit bf518c3
Author: Alexander Sklar <asklar@microsoft.com>
Date:   Mon Jun 21 23:18:37 2021 -0700

    Update conditional-xaml.md

commit 5e5beaf
Author: KB <kbridge@microsoft.com>
Date:   Sat Jun 19 11:16:14 2021 -0700

    gitissue-3179-link (MicrosoftDocs#1630)

commit c47981f
Author: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com>
Date:   Thu Jun 17 12:54:59 2021 -0700

    Updated program name (MicrosoftDocs#1621)

commit 1ee80a3
Merge: d7027ba 690b013
Author: Kristine Toliver <ktoliver@users.noreply.github.com>
Date:   Wed Jun 16 14:06:54 2021 -0700

    Merge pull request MicrosoftDocs#3165 from martingbrown/patch-1

    Update navigation-history-and-backwards-navigation.md

commit d7027ba
Merge: b2f642e d163650
Author: Kristine Toliver <ktoliver@users.noreply.github.com>
Date:   Wed Jun 16 10:02:20 2021 -0700

    Merge pull request MicrosoftDocs#3175 from nxtn/patch-1

    Update optimize-gridview-and-listview.md

commit d163650
Author: Next Turn <45985406+nxtn@users.noreply.github.com>
Date:   Wed Jun 16 17:10:44 2021 +0800

    Update optimize-gridview-and-listview.md

commit 690b013
Author: Martin Brown <5264795+martingbrown@users.noreply.github.com>
Date:   Tue Jun 15 21:44:32 2021 +0100

    Update navigation-history-and-backwards-navigation.md

    Removed the e.Handled check.

commit b2f642e
Author: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com>
Date:   Mon Jun 14 14:39:38 2021 -0700

    Doc updates for 0.8 RC (MicrosoftDocs#1588)

commit b51f3f6
Merge: 371024d 20c6546
Author: Kristine Toliver <ktoliver@users.noreply.github.com>
Date:   Thu Jun 10 11:44:39 2021 -0700

    Merge pull request MicrosoftDocs#3168 from martingbrown/patch-2

    Update commanding-basics.md

commit 371024d
Author: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com>
Date:   Thu Jun 10 11:41:36 2021 -0700

    Fixed warnings and suggestions (MicrosoftDocs#1602)

commit 2720968
Author: McLean Schofield <11544635+mcleanbyron@users.noreply.github.com>
Date:   Thu Jun 10 11:28:36 2021 -0700

    Added interop COM interface links (MicrosoftDocs#1601)

    * Added interop COM interface links

    * Removed spurious "instead" instances

commit 20c6546
Author: Martin Brown <5264795+martingbrown@users.noreply.github.com>
Date:   Thu Jun 10 18:58:08 2021 +0100

    Update commanding-basics.md

    Trivial grammar issue.

commit 4af42fb
Author: Steven White <stwhi@microsoft.com>
Date:   Wed Jun 9 17:09:12 2021 -0700

    updating links (MicrosoftDocs#1600)

commit 1d29d3a
Author: Matt Wojciakowski <mattwoj@microsoft.com>
Date:   Wed Jun 9 16:52:47 2021 -0700

    Add Win dev tool section (MicrosoftDocs#1599)

    * Add Win dev tool section

    * formatting

    * formatting 2

commit b257a6f
Author: John Kennedy <jken@microsoft.com>
Date:   Wed Jun 9 15:30:22 2021 -0700

    Jken whatsnewjune (MicrosoftDocs#1598)

    * Latest updates to docs for June

    * Latest updates to docs for June

    * updated date

commit 486b4eb
Author: John Kennedy <jken@microsoft.com>
Date:   Wed Jun 9 15:21:30 2021 -0700

    Latest updates to docs for June (MicrosoftDocs#1597)

    * Latest updates to docs for June

    * Latest updates to docs for June

commit eebde75
Merge: f2dacc2 cd0b6e3
Author: Dennis Rea <v-denrea@microsoft.com>
Date:   Wed Jun 9 12:33:57 2021 -0700

    Merge pull request MicrosoftDocs#1594 from v-kents/ks-linkfix-202106

    Linkfix: Windows UWP (2021-06)

commit d76dbb0
Author: Martin Brown <5264795+martingbrown@users.noreply.github.com>
Date:   Tue Jun 8 22:18:40 2021 +0100

    Update navigation-history-and-backwards-navigation.md

    Change the code examples for handling mouse back and forward buttons to move back and forward if the event has not already been handled.

commit f2dacc2
Merge: 2fa0d38 a90ce95
Author: Shannon Leavitt <V-SHLEAV@microsoft.com>
Date:   Tue Jun 8 14:37:09 2021 -0600

    Merge pull request MicrosoftDocs#1596 from atikmapari/FAQ-YML-Conversion-stwhi

    FAQ .md file converted into YML

commit 2fa0d38
Merge: 676080c cfee4e2
Author: QuinnRadich <quradic@microsoft.com>
Date:   Tue Jun 8 19:15:48 2021 +0000

    Merging changes synced from https://github.com/MicrosoftDocs/windows-uwp-pr (branch live)

commit cfee4e2
Merge: 477a42d 9d3a499
Author: Dennis Rea <v-denrea@microsoft.com>
Date:   Tue Jun 8 12:12:45 2021 -0700

    Merge pull request MicrosoftDocs#1583 from v-hearya/FAQ-YML-Conversion-kbridge

    FAQ converted into yml

commit a90ce95
Author: Atik Mapari (Lionbridge Technologies Inc) <v-atmapa@microsoft.com>
Date:   Wed Jun 9 00:01:26 2021 +0530

    changes fixed

commit 676080c
Merge: 477a42d 1bad06f
Author: Kristine Toliver <ktoliver@users.noreply.github.com>
Date:   Tue Jun 8 07:58:20 2021 -0700

    Merge pull request MicrosoftDocs#3160 from Jaiganeshkumaran/patch-1

    Update navigationview.md

commit cd0b6e3
Author: Kent Sharkey <v-kents@microsoft.com>
Date:   Mon Jun 7 14:13:04 2021 -0700

    Linkfix: Windows UWP (2021-06)

commit 1bad06f
Author: Jaiganesh Kumaran <Jaiganesh.kumaran@outlook.com>
Date:   Sun Jun 6 18:42:42 2021 +0530

    Update navigationview.md

commit 477a42d
Merge: 2a1f2f7 df03f58
Author: Matt Wojciakowski <mattwoj@microsoft.com>
Date:   Fri Jun 4 12:29:48 2021 -0700

    Merge pull request MicrosoftDocs#3134 from v-mepa/update_page_tittle_and_meta_tag

    SEO: Update_page_tittle_and_meta_tag

commit df03f58
Author: Matt Wojciakowski <mattwoj@microsoft.com>
Date:   Fri Jun 4 12:28:48 2021 -0700

    Title updates

commit 2a1f2f7
Merge: 139f62c d7354d6
Author: lastnameholiu <55564399+lastnameholiu@users.noreply.github.com>
Date:   Fri Jun 4 11:57:22 2021 -0700

    Merge pull request MicrosoftDocs#3147 from quentin987/patch-1

    Update launch-screen-snipping.md

commit 9d3a499
Author: v-hearya <v-hearya@microsoft.com>
Date:   Tue Jun 1 03:08:25 2021 +0530

    FAQ converted into yml

commit d7354d6
Author: Quentin Al-Timimi <27322516+quentin987@users.noreply.github.com>
Date:   Fri May 28 11:10:29 2021 -0700

    Update launch-screen-snipping.md

    Added support for new parameter recently, updating documentation to reflect it.

commit 12a38f7
Author: Meenal Patel (CSI Interfusion Inc) <v-meepa@microsoft.com>
Date:   Fri May 21 11:44:22 2021 -0700

    update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants