Recommended Posts

Hi, I have a problem, and some questions.
I'm using MSVC++ 6.0, and have just realized that my include files are from 1998, which is what came with the compiler. I was trying to implement something, found that the function SetWindowLong has been superceded by SetWindowLongPtr, but I don't have the new version. I require updated headers and DLLs.
So, I guess I'm looking for an SDK update, and so is this it? It says it's for a server, so I'm not sure.
I think the short solution is to update my compiler to .net, but I don't want to spend $100 if I don't have to, and I do rather like my compiler the way it is.
Any pointers will be appreciated!

0

Share this post

Link to post

Share on other sites

another option is to use the free VC++ 2003 Toolkit availible from MSFTwith your current Visual Studio 6.0 IDE, one draw-back is that the integrateddebuger in the IDE will no longer work (due to updated debug-database formats)but you can still use the WinDbg tool provided by MSFT

Share this post

Link to post

Share on other sites

thanks silvermace, already tried the sp6 update, just did the toolkit, but no luck. I need new headers and DLLs. That seems to me to be an SDK issue, and microsoft has no obvious downloads there as far as I can tell. Does microsoft really expect me to buy a new compiler for this issue? I shouldn't have to.

I'm not really sure what to do right now. Help?

0

Share this post

Link to post

Share on other sites

If you want the Windows platform SDK, you can get it here The one you linked too is for Windows Server 2003, unless that is your os, you will need to use the WinXP SP2 [wink] Also, technically you can still use SetWindowLong without a problem, it's just made obsolete now. As said on the site, "To write code that is compatible with both 32-bit and 64-bit versions of Microsoft Windows, use the SetWindowLongPtr function.", so the function will still work as it has on 32-bit versions.

0

Share this post

Link to post

Share on other sites

Thanks Drew, downloading those SDK files now, to see if they help any. My concern is not with that particular function per se, but rather, how much more 'Windows modernity' am I missing? It would be nice to just update the files, and have full use of the MSDN guidance. I am by the way running Windows XP home, not server 2003 :) It is all a bit silly, having to use files from 1998 in this case.