#import "C:\Program Files\Common Files\System\ado\msado25.tlb"
#import "C:\Program Files\Common Files\System\ado\msadox.dll"
> >-----Original Message-----
> >Saroj Bono
> >if you have included the no_namespace option on the two
> imports, you will need
> >to remove them
> >roy fine
> >> Hi,
> so there should be no "nonamespace" on both #imports?
> Thank you. Please give me a sample snippet for the 2
> >> I have a project in which I use ADO. NOw I need some
> >> functionality as well. If I do #import msado25.tlb (for
> >> ADO) and #import msadox.dll for ADOX, I get multiple
> >> redefinition compile errors. Please advise me on what I
> >> need to do. I have to use the 25.tlb because my users
> >> mdac2.5, and my app wont run if I use msado15.dll
> >> Thanks,
> >> Saroj Bono