简体   繁体   English

Visual Studio 2019 是否支持 64 位自定义可视化工具?

[英]Does Visual Studio 2019 support 64 bit custom visualizer?

I have a special type to display but the type require a 64bit dll thus I have to compile the custom visualizer in x64.我有一个特殊类型要显示,但该类型需要 64 位 dll 因此我必须在 x64 中编译自定义可视化器。 However I got bad image error when viewing the variable.但是,查看变量时出现错误的图像错误。 Does visual studio 2019 support for visualizer compile in 64 bit mode? Visual Studio 2019 是否支持在 64 位模式下编译可视化工具? Or because VS is 32 bit program thus the visualizer also require to be 32 bit?还是因为 VS 是 32 位程序,因此可视化器也需要是 32 位的?

The Visual Studio IDE is 32bit (and because of the many existing extensions and the long history of the Visual Studio IDE this is not going to chance easily). Visual Studio IDE 是 32 位的(由于许多现有的扩展和 Visual Studio IDE 的悠久历史,这不会轻易发生)。

So any extensions, including custom visualisers, need to be 32bit.所以任何扩展,包括自定义可视化器,都需要是 32 位的。

If you cannot get a 32bit build of your dll, then you would need to have some kind of container process and then communicate with that (this is unlikely to be easy, because none of the internal APIs would be accessible to the helper process).如果您无法获得 dll 的 32 位版本,那么您将需要某种容器进程,然后与之通信(这不太容易,因为辅助进程无法访问任何内部 API)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM