×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Incremental update programatically on OLAP Cube from VC++ application

Incremental update programatically on OLAP Cube from VC++ application

Incremental update programatically on OLAP Cube from VC++ application

(OP)
Hi,

I need to incremental update on OLAP cube from Visual c++ 6.0 application. Could you tell me if it's possible using DSO (msmddo.dll), ADO MD or another tools? How I do it?

On the other hand, if I import msmddo.dll from an Visual C++ 6.0 application an error ocurrs ("#import referenced a type from a missing type library; '__missing_type__' used as a placeholder").

What's about DTS OLAP Services Processing Task?

Did you know a book about this issues?

Thanks.
RL

RE: Incremental update programatically on OLAP Cube from VC++ application

It seems like you are the same boat at me.  However, my problem is a little bit different.  My problem is I don't know how I can access DSO from vc++ 6.0.  I try to search for sample code that how to use DSO, but I can't find them.  However, I did found a documment that may solve your problem, please see attach below.  If you don't mind please share your souce code that how you access DSO from VC++.
Please email to me as this address: ngon@ecs.csus.edu
Thanks,
NN

PS. Hope this help you a bit

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
*** Proble Description ***
How can you access DSO from VC++? WHen I try it, I get an error similar to the
following:



error C2772: #import referenced a type from a missing type library;
'__missing_type__' used as a placeholder

fatal error C1084: Cannot read type library file: 'c:\\program files\\olap
services\\bin\\msmddo.dll': Error loading type library/DLL.

Error executing cl.exe.




<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

*** Resolution *** 10/18/99 01:44:47 PM ninasa
With the released version of OLAP Server, DSO could not have been used from
VC++. Msmddo.dll that came with the released version of OLAP Server had the
type lib info included in it, but it did not work.



Good news is, DSO can be used from VC starting sp1. In SP1, we stripped typelib
off of msmddo.dll and have msmddo.tlb. To sucessfully use DSO from VC++, you
need:



1. msmddo.dll (by default it is installed in C:\Program Files\OLAP
Services\bin)

2. msmddo.tlb (the typelib)

3. msmdint.dll (by default it is installed in C:\Program Files\Common
Files\System\ole db)



Basically you need the following lines in your cpp file:



#import "c:\\program files\\common files\\system\\ole db\\msmdint.dll"
named_guids  no_namespace

#import "c:\\program files\\olap services\\bin\\msmddo.tlb" named_guids
no_namespace





However the problem is we never shipped the msmddo.tlb with sp1. It is
available on http://msolap/samples/dsoc/msmddo.tlb and I suppose can be sent
to the customer.

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

RE: Incremental update programatically on OLAP Cube from VC++ application

(OP)
Thank you very much for your help!

I'll try to help you, because y supose that I have an VC++ sample but I must find it. Now I'm devoloping other project that nothing to do with OLAP, but I'm very intresting to continue with OLAP because I'll need it in the next project.

I'll send an e-mail to your private mail box.

Bye!
RL

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close