Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Alerts, printf statements, asserts
No permission to create posts
October 13, 2013
10:07 pm
Forum Posts: 12
Member Since:
September 28, 2013
sp_UserOfflineSmall Offline

I'm using VC++ 2010 Express. Is there a way I can get printf statements to show up in the Output window? Or a way to log errors or warnings to the Error list window? Or a popup alert window with some info? I'm guessing that since the DLLs are being hosted by RackFX, that RackFX is eating the output. Have you considered adding an output window to RackFX? Short of that, how do I get printf-like output for debugging?

How do other using RackFX get this info?

I have the debugger working just fine. But sometimes printf debugging is more expedient.

October 14, 2013
1:23 am
Forum Posts: 12
Member Since:
September 28, 2013
sp_UserOfflineSmall Offline

The one thing I have been able to do along these lines. Not as easy as a printf...

if (!m_MessageBoxSuppress) {
sprintf(m_MessageBoxBuffer, "uNumInputChannels: %d uNumOutputChannels %d uBufferSize: %d\nPress Cancel to supress these messages.", uNumInputChannels, uNumOutputChannels, uBufferSize);
if (MessageBox(0, m_MessageBoxBuffer, "processRackAFXAudioBuffer", MB_OKCANCEL) == IDOK) {
// Clicked OK
} else {
m_MessageBoxSuppress = true;
// Clicked Cancel
October 15, 2013
2:03 am
W Pirkle
Forum Posts: 259
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline


First, no RackAFX doesn't eat the output window of the compiler; Visual Studio is in control of the Output window.

And, RackAFX already has a built-in status window for debugging.

See the thread here


It also has a link to a stackoverflow message on adding your own TRACE command (which is missing from the Express versions of VS).

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 55

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

JimmyM: 30

TheSmile: 28

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 525

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 550

Posts: 2158

Newest Members:

LamebrainEddy, SteveThackery, rawbirdtoe, Bill, hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman

Moderators: W Pirkle: 259

Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 259