OLEDB

Discussion in 'C++' started by Roland groenvynck, Apr 13, 2004.

  1. I use MS Visual studio 6 , SP 3 installated. I start a windows
    application with the application wizard for a oledb database . I
    select one of the tables in the access database. That is all ok.
    Problems arrive if i try to implement another database table. I can't
    use the application wizard. I have to (?) use ATL . So I add a new ATL
    Object. The first time I receive a message "Sorry! An error occured
    while generating the object". If I select the OK-button and do that a
    second time I can select a Consumer. But if I try to build the
    application I get the error:
    error C2371: '_Module' : redefinition; different basic types

    Could somebody help me , please. many thanks!
     
    Roland groenvynck, Apr 13, 2004
    #1
    1. Advertising

  2. Roland groenvynck <> spoke thus:

    > I use MS Visual studio 6 , SP 3 installated. I start a windows
    > application with the application wizard for a oledb database . I
    > select one of the tables in the access database. That is all ok.
    > Problems arrive if i try to implement another database table. I can't
    > use the application wizard. I have to (?) use ATL . So I add a new ATL
    > Object. The first time I receive a message "Sorry! An error occured
    > while generating the object". If I select the OK-button and do that a
    > second time I can select a Consumer. But if I try to build the
    > application I get the error:
    > error C2371: '_Module' : redefinition; different basic types


    Your post is off-topic for comp.lang.c++. Please visit

    http://www.slack.net/~shiva/welcome.txt
    http://www.parashift.com/c -faq-lite/

    for posting guidelines and frequently asked questions. Thank you.

    --
    Christopher Benson-Manica | I *should* know what I'm talking about - if I
    ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
     
    Christopher Benson-Manica, Apr 13, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eitan

    Error in OLEDB Transaction

    Eitan, Apr 6, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    2,004
    Tad Marshall
    Apr 10, 2005
  2. Aurelio
    Replies:
    0
    Views:
    2,770
    Aurelio
    Jan 2, 2006
  3. Yangtsi River
    Replies:
    0
    Views:
    417
    Yangtsi River
    Jul 2, 2003
  4. Giuseppe D'Elia

    Error with ASP.NET opening OleDb/ODBC database

    Giuseppe D'Elia, Jul 15, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    1,494
    John Toop
    Jul 25, 2003
  5. Robert Hanson
    Replies:
    4
    Views:
    585
    Tu-Thach
    Jul 22, 2003
Loading...

Share This Page