GSK Posted June 9, 2007 Posted June 9, 2007 All the deprecated stuff is because you're using the newer Platform SDK (there are new versions of stuff like strcpy, use strcpy_s instead). .\interface.cpp(56) : error C2065: 'VERSIONpath' : undeclared identifier Not sure on this one, you'd need to check out the source file and try to figure out what it's referring to. Maybe some environment variable or something? Dunno.
Ghozer Posted June 9, 2007 Author Posted June 9, 2007 ahh yeah, forgot about that, i can fix that one no issue... I restorred the original source - forgot about that 'bug' i fixed so the deprecated stuff is ok to ignore? lol.. LINK : fatal error LNK1181: cannot open input file 'User32.dll' - so i added the path to it in the includes setup.. and now i have a diff error, refresh the Build Log page
Ghozer Posted June 9, 2007 Author Posted June 9, 2007 w00t, that seemed to fix it... Thankies now to test it
GSK Posted June 9, 2007 Posted June 9, 2007 ok, thanks Geoffrey dude, works perfect No probs. The warning errors you mention, relating to the deprecated function calls, you can ignore if you like. There are however, a series of new calls, that have bounds checking built in, to prevent problems such as memory leaks etc. E.G. The old strcpy, just copies data from one string to another, but say you were copying in to a string you'd defined as .. char mystring[20] .. and you were copying a string of 40 chars in to that, using strcpy you'd just get memory leaks. The new strcpy_s for example, will incoporate the length of the destination string in to the copy fuction, so this just makes things more secure.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.