Help - Search - Members - Calendar
Full Version: using vs2005 and 0.8 sdk?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
flagger
Hi, creating a plugin for my the logitech g15 keyboard that will link to foobar. However, my production environment is visual studio 2005 pro. i tried opening the default workspace in the sdk, and tried to convert all the subprojects, but about half failed. and of course doing a build after that failed.

so I created a blank workspace, and just added pfc (as it is stated it has no dependancy), made the target a DLL, and just tried compiling that. however i got 3 errors. i can recode the errors so it works, but there is also ~10 deprecated warning messages.

anyone got any tips? cheers
Zastai
QUOTE(flagger @ Jan 4 2006, 09:53 PM)
Hi, creating a plugin for my the logitech g15 keyboard that will link to foobar. However, my production environment is visual studio 2005 pro. i tried opening the default workspace in the sdk, and tried to convert all the subprojects, but about half failed. and of course doing a build after that failed.

so I created a blank workspace, and just added pfc  (as it is stated it has no dependancy), made the target a DLL, and just tried compiling that. however i got 3 errors. i can recode the errors so it works, but there is also ~10 deprecated warning messages.

anyone got any tips? cheers
*



The deprecations they added are a damn pain in the posterior (especially for people like me who like builds to be warning-free). I recommend just adding _CRT_SECURE_NO_DEPRECATE (for the warnings about things like printf) and/or _CRT_NONSTDC_NO_DEPRECATE (for the other deprecation warnings) to the each project's preprocessor defines.
Skurmedel
Oh nice, I'm thinking of coding a G15 app talking to the Foobar too.
hunted
QUOTE(Zastai @ Jan 7 2006, 02:36 AM)
QUOTE(flagger @ Jan 4 2006, 09:53 PM)
Hi, creating a plugin for my the logitech g15 keyboard that will link to foobar. However, my production environment is visual studio 2005 pro. i tried opening the default workspace in the sdk, and tried to convert all the subprojects, but about half failed. and of course doing a build after that failed.

so I created a blank workspace, and just added pfc  (as it is stated it has no dependancy), made the target a DLL, and just tried compiling that. however i got 3 errors. i can recode the errors so it works, but there is also ~10 deprecated warning messages.

anyone got any tips? cheers
*



The deprecations they added are a damn pain in the posterior (especially for people like me who like builds to be warning-free). I recommend just adding _CRT_SECURE_NO_DEPRECATE (for the warnings about things like printf) and/or _CRT_NONSTDC_NO_DEPRECATE (for the other deprecation warnings) to the each project's preprocessor defines.
*


It is actually easier to just select all the projects in the solution explorer, and then goto their properties, then goto Configuration Properties, C/C++, Advanced, and put in the error numbers in "Disable specific warnings", I only have 4996 in there right now.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.