question

Evan avatar image
Evan asked

MultitypeVar::readFromValue for string value (Windows SDK, C++)

Pretty sure this is a bug:

    else if (obj.IsString())
    {
        mType = MultitypeNumber;
        mString = obj.GetString();
    }

You guys don't want reports like this on github instead, right?

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1807605288 avatar image 1807605288 ♦ commented ·

Good catch! The utility of MultitypeVar is pretty low since it can only handle a few primitive types, and only gets used by a few APIs which try to return an arbitrary result.

We're working on Windows/C++ SDK in a big way right now, so this bug should be addressed in the next release.

1 Like 1 ·
Evan avatar image Evan 1807605288 ♦ commented ·

That's great to hear, is the next release going to include VS 2015 support too by chance?

0 Likes 0 ·
1807605288 avatar image 1807605288 ♦ Evan commented ·

Yes, that is the primary goal when I say "in a big way". Achieving that is harder than expected though.

No useful details yet, because we're still in the "experiment and [try not to] break everything" phase. We'll do a blog post, upgrade guide, and all of that once we finish. Keep an eye out for a blog over the next few weeks as that will be your first indication that it's coming.

0 Likes 0 ·
Show more comments

1 Answer

·
brendan avatar image
brendan answered

You can submit them either way, though if you have a specific code change you'd like to recommend, please do use a pull request in GitHub. Thanks for the report - we'll have the tools team review this.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.