|||||||| ADO : problem with msado15.tlh file in MFC Exetension DLL |||||||| 
Author Message
 |||||||| ADO : problem with msado15.tlh file in MFC Exetension DLL ||||||||

Hi everybody!

I want to use an MFC Extension DLL (Using shared MFC DLL).
I have two files ConnectBDD.cpp and ConnectBDD.h , witch contains header
declaration like this :

#import "C:\Program Files\Common Files\System\ADO\msado15.dll" \
    no_namespace rename("EOF", "EndOfFile")
#include <oledb.h>
#include <conio.h>
#include "icrsint.h"

When i  try to Rebuild all, the following errors messages are display :

.......\debug\msado15.tlh(143) : error C2011: 'LockTypeEnum' : 'enum' type
redefinition
.......\debug\msado15.tlh(184) : error C2011: 'DataTypeEnum' : 'enum' type
redefinition
.......\debug\msado15.tlh(228) : error C2011: 'FieldAttribu{*filter*}um' : 'enum'
type redefinition
.......\debug\msado15.tlh(245) : error C2011: 'EditModeEnum' : 'enum' type
redefinition
.......\debug\msado15.tlh(253) : error C2011: 'RecordStatusEnum' : 'enum'
type redefinition
.......\debug\msado15.tlh(432) : error C2011: 'ParameterDirectionEnum' :
'enum' type redefinition

Can anobody help me?

Thanks in advance,




Sun, 27 Oct 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. |||||||| ADO : Problem with msado15.tlh file in MFC Extension DLL ||||||||

2. problem getting header file for the COM dll that uses msado15.dll

3. MSADO15.TLH

4. ADO : #import <msado15.dll> statement

5. Problems with #import generated tlh file

6. import msado15.dll problem

7. Problems importing msado15.dll

8. Problems with ADO in an MFC dll

9. Problem importing msado15.dll

10. ado and arx problems in MFC DLL.

11. msado15.dll problem

12. Problem with #import msado15.dll :enum type redefinition

 

 
Powered by phpBB® Forum Software