OLEDB

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roland groenvynck

    OLEDB

    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!
  • Christopher Benson-Manica

    #2
    Re: OLEDB

    Roland groenvynck <SNT_Roland@hot mail.com> spoke thus:
    [color=blue]
    > 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[/color]

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




    for posting guidelines and frequently asked questions. Thank you.

    --
    Christopher Benson-Manica | I *should* know what I'm talking about - if I
    ataru(at)cybers pace.org | don't, I need to know. Flames welcome.

    Comment

    Working...