Message 1 of 2
Problem linking managed/unmanaged .dll using MaxSDK
Not applicable
04-05-2010
02:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to write a helper .dll using a mix of managed and unmanaged c++ code, but am unable to get the .dll to link once I include the <max.h> SDK header. I need to use that to gain access to the unmanaged side of the SDK, but as soon as I include the header I get this error:
error LNK2001: unresolved external symbol "public: virtual short __thiscall FPInterface::FindFn(wchar_t *)" (?FindFn@FPInterface@@UAEFPA_W@Z)
I'm including all the libraries that the plugin wizard adds to the dependency list (which is more than the librareis that the SceneExplorerExtension uses) but for some reason this project will not link but the the SceneExplorerExtension will link. I can't find anything useful in the very sparse .NET SDK or the MaxSDK documentation about what the problem could be.
I'm assuming I'm missing a library I should include, but heck if I can figure out which one. Has anybody seen this problem before or know how to solve it?
Thanks!
Here are the libraries I'm currently linking against:
menus.lib menuman.lib odbc32.lib odbccp32.lib comctl32.lib bmm.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib gup.lib paramblk2.lib mnmath.lib
error LNK2001: unresolved external symbol "public: virtual short __thiscall FPInterface::FindFn(wchar_t *)" (?FindFn@FPInterface@@UAEFPA_W@Z)
I'm including all the libraries that the plugin wizard adds to the dependency list (which is more than the librareis that the SceneExplorerExtension uses) but for some reason this project will not link but the the SceneExplorerExtension will link. I can't find anything useful in the very sparse .NET SDK or the MaxSDK documentation about what the problem could be.
I'm assuming I'm missing a library I should include, but heck if I can figure out which one. Has anybody seen this problem before or know how to solve it?
Thanks!
Here are the libraries I'm currently linking against:
menus.lib menuman.lib odbc32.lib odbccp32.lib comctl32.lib bmm.lib core.lib geom.lib gfx.lib mesh.lib maxutil.lib maxscrpt.lib gup.lib paramblk2.lib mnmath.lib