devxlogo

April 6, 2002

Adding C++ Specific Code into IDL Files

When you write an IDL file and need to add specific C++ code in the header file created after MIDL compilation, you can use the the cpp_quote(” “) IDL construct.

Avoid Nesting Errors

There are two very annoying–yet completely avoidable–nesting errors that occur in C/C++ programming.1) This one typically happens toward the end of the day, thereby making the day longer: for (int