Undocumented AFX function : AfxGetClassIDFromString

CAbsWordMngt::CAbsWordMngt() { CString strVersion; CLSID clsid; CoInitialize(NULL); m_Version = 9; if ( AfxGetClassIDFromString("Word.Application.9", &clsid) ) { m_Version = 8; if ( AfxGetClassIDFromString("Word.Application.8", &clsid) ) { m_Version = 0; AfxMessageBox("WinWord version 8 or 9 not installed ..."); return; } } }


Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • The impact of a data loss event can be significant. Real-time data is essential to remaining competitive. Many companies can no longer afford to rely on a truck arriving each day to take backup tapes offsite. For most companies, a cloud backup and recovery solution will eliminate, or significantly reduce, IT resources related to the mundane task of backup and allow your resources to be redeployed to more strategic projects. The cloud - can now be comfortable for you – with 100% recovery from anywhere all …

  • You probably have several goals for your patient portal of choice. Is "community" one of them? With a bevy of vendors offering portal solutions, it can be challenging for a hospital to know where to start. Fortunately, YourCareCommunity helps ease the decision-making process. Read this white paper to learn more. "3 Ways Clinicians can Leverage a Patient Portal to Craft a Healthcare Community" is a published document owned by www.medhost.com

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds