Notifications
Clear all

[Closed] Visual C++ Express and SDK

Hi,

Does the free Microsoft Visual C++ Express edition work with the 3D Studio Max 9 SDK?

27 Replies

Yes, it works. But the official development platform is Visual Studio 2005 Pro.
Also, there isn’t a resource/dialog editor in the express version.

Yannick

Well… it’s not easy to setup for sure… I have Platform SDK installed, I’ve added the directories etc etc, including the Platform SDK MFC one, which was giving a linking error… but now… more errors Damn it, the same thing happened to me when trying to compile mr shaders… could do that also… it would be great for a compreensive tutorial on installing and configurating Max SDK + MR Shaders + VC ++ Express…

What is the link error you’re having ?

I get this error for example when linking the viewfile sample that comes with the SDK.

[size=1]1>viewfile.obj : error LNK2019: unresolved external symbol imp__MessageBoxA@16 referenced in function “public: void thiscall ViewFile::View(struct HWND *)” (?View@ViewFile@@QAEXPAUHWND@@@Z)

1>viewfile.obj : error LNK2019: unresolved external symbol imp__wsprintfA referenced in function “public: void thiscall ViewFile::View(struct HWND *)” (?View@ViewFile@@QAEXPAUHWND@@@Z)

1>viewfile.obj : error LNK2019: unresolved external symbol imp__SetCursor@4 referenced in function “public: void thiscall ViewFile::View(struct HWND *)” (?View@ViewFile@@QAEXPAUHWND@@@Z)

1>viewfile.obj : error LNK2019: unresolved external symbol imp__LoadCursorA@8 referenced in function “public: void thiscall ViewFile::View(struct HWND *)” (?View@ViewFile@@QAEXPAUHWND@@@Z)

1>viewfile.obj : error LNK2019: unresolved external symbol imp__LoadStringA@16 referenced in function “public: void thiscall ViewFile::View(struct HWND *)” (?View@ViewFile@@QAEXPAUHWND@@@Z)

1>…\maxsdk\plugin\viewfile.dll : fatal error LNK1120: 5 unresolved externals

[/size]

Ok, all these symbols comes from the win32 API. You need to link user32.lib to the plugin.

But I already have PlatformSDK\Lib in my VC++ Directories… user32.lib is there… strange no? I’m going to try it…

edit: Ok, I’ve just added user32.lib to the additional dependencies and it worked!!! But it’s a strange error no? Care to explain a little bit ? Thank you very very much!

The Windows Platform SDK isn’t included in Visual Studio 2005 Express. The dependencies by default are not set to link with Win32 libs : http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

Thanks for the link!!! But now another question… how about compiling for 64 bit’s? Express edition doesnt have the compilers/linkers for 64 bit but it seems PSDK has them included, how can I do 64 bit projects? Thanks once again.

I’ve never tried that (I use Professional Edition). Read this page and the first note : http://msdn2.microsoft.com/en-us/library/9yb4317s(VS.80).aspx

Page 1 / 3