How to write a sql dmo application in C++?

  • Hello all,

    I am trying to write a sample application which can backup the database using c++. I am not able to do so. If anybody can help with any sample application developed in C++ that would be of great help.

    Thanks for your time

    Prince

  • I cannot help you with C++, however, I can tell you that you probably want to use SMO rather than DMO.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • Hello there,

    Thanks for your infor... As I am working on a product which uses these SQL apis will support only DMOs so I need to live it with DMO only till they plan to extend to SMO.

    Thanks,

    Elavarasan.S

  • I do not believe that DMO will work with SQL Server 2005, will it?

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • prince0206 (3/19/2009)


    Hello there,

    Thanks for your infor... As I am working on a product which uses these SQL apis will support only DMOs so I need to live it with DMO only till they plan to extend to SMO.

    Actually, this does not make any sense to me. Unless you are saying that you are doing maintenance/support on the code for a SW product that was already written with DMO, is that it?

    And if it is, why would you need to write a new application in C++?

    Plus there is a forum specifically for DMO & SMO questions.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • Hello RBarryYoung,

    Yes you are write, we are supporting the s/w product developed in DMO. I got into a situation I have to narrow down the problem. In my product I get error with one MS API. I want to identify whether the problem is with MS API or the way we call this API from our product is wrong so only I need to develop a test module which can test only that MS API.

    Thanks,

    Prince

  • OK. Well, good luck then.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply