Microsoft KB Archive/247690

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 13:50, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


FILE: OLAP_DSO.exe: OLAP DSO Type Library, Header and Interface DLL for Use in C++

Article ID: 247690

Article Last Modified on 8/9/2004



APPLIES TO

  • Microsoft SQL Server OLAP Services



This article was previously published under Q247690

SUMMARY

OLAP_DSO.exe is a self-extracting executable that contains three files for developing C++ applications that use Microsoft Decision Support Objects (DSO) to perform administrative and processing functions in Microsoft SQL Server OLAP Services. To extract the three files run OLAP_DSO.exe. The default location for the extracted files is the TEMP directory for the current user. However, you may specify another directory when you extract the files.

C++ applications that use DSO must import the type library for the DSO DLL (Msmddo.dll file). The type library for DSO, Msmddo.tlb, was not shipped on the CD-ROM with OLAP Services or with the OLAP Services Service Packs but is extracted as part of OLAP_DSO.exe. To use DSO, the OLAP Services driver interfaces (Msmdint.dll) must also be registered and is included in OLAP_DSO.exe. In addition, the included header file, msmd.h, which is included, defines several OLAP constants that are useful when building C++ OLAP programs.

For details on the steps required to register and use these files in a C++ program see the "More Information" section of this article.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:


Release Date: APR-24-2000


For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How To Obtain Microsoft Support Files from Online Services


Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

The OLAP_DSO.exe file contains the following files:

File Name Size
Msmd.h 4,455
Msmdint.dll 61,440
Msmddo.tlb 96,568



Before you attempt to import the DSO type library in your C++ program you need to register the Msmdint.dll with Regsvr32.exe as follows:

regsvr32 "msmdint.dll"


To import the type library, the lines that follow should be included in your source file. You need to modify the paths to the DLLs to work with your installation:

#import "c:\program files\common files\system\ole db\msmdint.dll" named_guids  no_namespace
#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename( "EOF", "adoEOF" )
#import "C:\WINNT\system32\MSVBVM60.DLL" no_namespace rename ("_Collection", "_VBCollection") , rename ( "EOF", "VBEOF" ), rename ( "RGB", "VBRGB" )
#import "c:\program files\olap services\bin\msmddo.tlb" rename ("_Collection", "_VBCollection")
                


Additional query words: DSO, MSMDDO, OLAP

Keywords: kbinfo kbdownload kbfile KB247690