3ds max 4插件开发设置vc6

发布于 2024-12-19 14:33:21 字数 558 浏览 4 评论 0原文

我正在尝试为 3ds max 4.2 重建一些旧的 3ds max 插件。 代码全部编译,但我只是得到“.....dll> 初始化失败”对话框,因为我正在构建的每个插件的 max 都会启动。

我在一些地方读到过需要特定的代码生成设置,特别是关于内存分配等,以应对构建 dll 的调试版本时发布和调试分配之间的差异。

我发现特别提到的任何特定设置都是采用标准调试构建设置并从“调试多线程 DLL”切换到“多线程 DLL”。我找不到任何有关其他任何内容所需的编译器/代码生成设置的具体信息。

我正在运行 XP 和 Vc6 的虚拟机上运行和构建插件。我尝试在虚拟机上的 maxs 插件目录中安装插件。 我尝试了发布和调试(使用上面进行的多线程更改)并得到相同的结果。

我以前从未与 max 插件有任何关系,所以我想这是一种烈火的洗礼,但如果有人知道任何陷阱和/或注意事项,我将非常感激。

顺便说一句,我知道这些插件曾经工作过一次,并且我知道它们适用于 Max 4 sdk,因为项目设置中已经有几个地方引用了这些插件并包含路径等。

还有关于如何调试初始化的任何建议的插件将不胜感激。

提前致谢

I am trying to rebuild some old 3ds max plugins for 3ds max 4.2.
The code all compiles but I simply get the ".....dll> failed to initialize" dialogue as max starts up for each and every one of the plugins I am building.

I have read in a few places about needing specific code generation settings espectially regarding memory allocation etc to cope with the differences between release and debug allocation when you build debug versions of the dlls.

All I have found that specifically mentions any particular setting is taking standard debug build settings and switching to "Multithreaded DLL" from the "Debug multithreaded DLL". I can find nothing specific about necessary compiler/code generation settings for anything else.

I am running and building the plugins on a virtual machine running XP and Vc6. I have tried installing the plugins in maxs plugin directory on the virtual machine.
I have tried both release and debug(with the multi-threading change above made) and get the same result.

I have never had anything to do with max plugins before so I guess this is a sort of baptism by fire but if anyone out there knows any gotchas and/or dos and donts I would be extremely grateful.

As an aside I know that these plugins did work once upon a time and I know they are meant for Max 4 sdk as this is referenced in several places already in the projects settings and include paths etc.

Also any advice on how to debug the initialization of the plugins would be much appreciated.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文