Re: extended stored proc programming

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bonj (Bonj_at_discussions.microsoft.com)
Date: 10/08/04


Date: Fri, 8 Oct 2004 11:01:10 -0700

hey now that's a good idea.
I might have to learn how to do that.

Can I just add a managed class and as long as I do the #import <mscorlib>
thing and put, like "__gc class...{}" rather than just "class...{}" then
it'll be able to use the managed ADO.NET?

Thanks for that!

"Toby Herring" wrote:

> Depends on what version of C++.
>
> If it's MS C++ 6, then you can simply use the ADO libraries/objects. If
> it's C++.Net, then you can either use ADO with unmanaged C++, or you can
> write mixed managed/unmanaged code, and use ADO.Net libraries for data
> access.
>
> If you're using another version of C++, then you'll either have to use the
> ADO COM libraries or use whatever data access is built into the version of
> C++ you're using. (You can use the SQL API, but I wouldn't recommend that
> approach. It can be faster, but it's a royal PITA to write & troubleshoot,
> and it's nearly impossible to find decent documentation on its
> implementation.)
>
> If you were to write a front-end application that needed to access the
> database, and wrote it in C++, how would you access the database? It's the
> same method, no matter whether it's an executable or a dll or an xp.
>
> --
> Toby Herring
> MCDBA, MCSD, MCP+SB
> Need a Second Life?
> http://secondlife.com/ss/?u=03e0e5b303c234bf08e80ee40119a65e
>
>
> "Bonj" <Bonj@discussions.microsoft.com> wrote in message
> news:762BAA7F-A494-48F0-A8A8-BFAF15844FA2@microsoft.com...
> >
> > I'm afraid I insist. Can you please tell me how to read a table from
> > within
> > an XP, even if just to satisfy my own curiousity regarding testing how
> > fast
> > it actually will be?
> >
>
>
>



Relevant Pages

  • Re: extended stored proc programming
    ... hey now that's a good idea. ... Can I just add a managed class and as long as I do the #import ... and use ADO.Net libraries for data ... > ADO COM libraries or use whatever data access is built into the version of ...
    (microsoft.public.sqlserver.programming)
  • Re: Web client software factory
    ... I am as familiar with the web client software factory as I should be before commenting, but it soudns like foundation libraries are framework libraries. ... The models are stuck in data, even though they are really more business in many ways, as it creates a clean dependency tree. ... Data Access belongs in its own libraries. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What features would YOU want in a GUI design environment?
    ... Isn't that just "Pick Basic" for visual studio? ... mv.net (as well as many of the other libraries) provide Pick functionality - ... class library to provide me with "MV" functionality as well as custom MV ...
    (comp.databases.pick)
  • Re: looking for THE dc drive motor speed controller solution
    ... Hey that looks slick! ... I'm not crazy about being limited to .Net to ... I assume I can access/control everything regardless of libraries as ...
    (comp.robotics.misc)
  • Re: Allen Browne: Using Combo Box to Find Records
    ... Microsoft DAO 3.6 Object Library ... There's a table towards the bottom of this page explaining which libraries to use in each version of Access: ... Display the References dialog box, and then select the appropriate object ... References in Visual Basic and there was no "Data Access ...
    (microsoft.public.access.forms)