February 10, 201214 yr Hi,I am attempting to learn how to implement sounds (click with switches etc) into my C+ gauges. I had a successful solution using DirectSound that works in FS9 and works until you attempt to resize windowed panels(causes CTDs) in FSX.Anyways, I have discovered Doug's awesome dsd_sound_gauge package. In it is a source code for a sample gauge "SoundSample".I am unable to get it to compile successful and need some help to find what I might be doing wrong. I haven't modified the sample code at all. I am using Visual C++ 2008 Express edition.here is what I get as output from the compiler:1>Compiling...1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release1>SoundSample.cpp1>d:\fsx_design\panels_sdk\soundsample\dsd_sound_gauge_implicit_class_user.h(72) : warning C4091: '__declspec(dllimport)' : ignored on left of 'cGaugeSoundClass' when no variable is declared1>d:\fsx_design\panels_sdk\soundsample\dsd_sound_gauge_implicit_class_user.h(132) : error C2660: 'cGaugeSoundClass::GetVolumeVariable' : function does not take 0 arguments1>Build log was saved at "file://d:\FSX_Design\Panels_SDK\SoundSample\Release\BuildLog.htm"1>SoundSample - 1 error(s), 2 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========Any thoughts?PS: I am a novice/hobbist programmer. Learned everything I know from Dai Griffiths and the contributors to his Creating C+ gauges tutorial.Thanks to Mr. Dawson and Mr. Griffiths for all your efforts at teach us this hobby!Steve Steve W from Great White North i5-2500k, dual EVGA 470GTXs.
February 10, 201214 yr Edit: Think I found the problem. Flip me an e-mail, and I'll get you a revised gauge.Sorry about that. Looks like I'll have to get a revised version uploaded.Doug Edited February 10, 201214 yr by ddawson
February 15, 201214 yr Author Hi Doug,I sent a email to your Netscape account (didn't know those still existed! LOL) but not sure if it made it to you.thanks,Steve Steve W from Great White North i5-2500k, dual EVGA 470GTXs.
February 16, 201214 yr The netscape account is still valid, although I did not see anything from you.You can also tryddawson -at- webhart -dot- netDoug
Create an account or sign in to comment