Skip to content

Project source is too difficult to work out. #1006

@Gavin-Williams

Description

@Gavin-Williams

I would love to debug stuff in Win2d, but the way you've done it is just too complicated. If it was C# code or even just C++ code I could look at it. But the way it is with WinRT and projections it's just impossible for me to help you. It's an issue with the projections technology you're using and the way the project is structured. I wish you had a better way to write libraries for C#.

WinRT projections is a huge barrier IMO. I've looked at it in the past; it's not user friendly at all. I don't think I've ever actually gotten it to work. And when I look at this project - it's just an unintelligible mess.

Can you provide a project so that we can debug Win2d in a way that's approachable for regular people?

I do wonder if you even need to use projections. There are wrappers for DirectX that are very performant and much easier to understand and use. If this was written in C# using a Dx Wrapper, well, I think it's fair to say it would be many factors easier for people to help, people that use Win2d. As it is now, I just don't think many people are interested in giving up their time to understand WinRT projections. That's a fool's errand.

The way I like to debug a library is to reference the library project, and it's as simple as that. It's just the uncompiled dll. It runs first time, there is no complexity. The code steps in and that's it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions