jamiegraziano
Programmer
Any help would be greatly appreciated! Thanks...
I have a cpp file with the following statements:
(SrCom.dll uses the RecordSet type, so SRCom.dll is dependent on msado15.dll)
When the project is compiled, these files are created automatically by the compiler:
msado15.tlh
msado15.tli
srcom.tlh
srcom.tli
[red]*****PROBLEM[/red]
The problem is that there are errors in the srcom.tlh and srcom.tli files. These files don't know what a RecordSet pointer is, which is defined in msado15.tlh!!!
Here's the errors from the compiler:
c:\projects\dialogicwin\debug\srcom.tlh(49) : error C2146: syntax error : missing ';' before identifier 'rsGetSRWithArea'
c:\projects\dialogicwin\debug\srcom.tlh(49) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
c:\projects\dialogicwin\debug\srcom.tli(21) : error C2143: syntax error : missing ';' before 'tag::id'
c:\projects\dialogicwin\debug\srcom.tli(21) : error C2433: '_RecordsetPtr' : 'inline' not permitted on data declarations
c:\projects\dialogicwin\debug\srcom.tli(21) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
c:\projects\dialogicwin\debug\srcom.tli(21) : fatal error C1004: unexpected end of file found
I have a cpp file with the following statements:
Code:
#import "c:\Program Files\Common Files\System\ADO\msado15.dll"
#import "c:\SRCom\SRCom.dll"
(SrCom.dll uses the RecordSet type, so SRCom.dll is dependent on msado15.dll)
When the project is compiled, these files are created automatically by the compiler:
msado15.tlh
msado15.tli
srcom.tlh
srcom.tli
[red]*****PROBLEM[/red]
The problem is that there are errors in the srcom.tlh and srcom.tli files. These files don't know what a RecordSet pointer is, which is defined in msado15.tlh!!!
Here's the errors from the compiler:
c:\projects\dialogicwin\debug\srcom.tlh(49) : error C2146: syntax error : missing ';' before identifier 'rsGetSRWithArea'
c:\projects\dialogicwin\debug\srcom.tlh(49) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
c:\projects\dialogicwin\debug\srcom.tli(21) : error C2143: syntax error : missing ';' before 'tag::id'
c:\projects\dialogicwin\debug\srcom.tli(21) : error C2433: '_RecordsetPtr' : 'inline' not permitted on data declarations
c:\projects\dialogicwin\debug\srcom.tli(21) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
c:\projects\dialogicwin\debug\srcom.tli(21) : fatal error C1004: unexpected end of file found