Home > database >  VC configured in the access problem! Urgent ~
VC configured in the access problem! Urgent ~

Time:10-01

In stdafx. H (between the last two endif, don't ask me why add here, online said so)
# import "C: \ Program Files \ Common Files \ System \ ADO \ msado15 DLL" no_namespace rename (" EOF ", "adoEOF") writes generated when an error: unable to open the type library file
The # import "C: \ Program Files \ Common Files \ System \ ADO \ msado15 DLL" rename (" EOF ", "adoEOF"), rename (" BOF, "" adoBOF") such a normal generated, why is this?
Link the database and write program compile time also complains, rookie I write is the problem of crazy!

CodePudding user response:

# import "c: \ program files \ common files \ system \ ado \ msado15 DLL" \
No_namespace \
Rename (" EOF ", "adoEOF") \
Rename (" DataTypeEnum adoDataTypeEnum ", ""),
Rename (" FieldAttributeEnum adoFielAttributeEnum ", ""),
Rename (" EditModeEnum adoEditModeEnum ", ""),
Rename (" LockTypeEnum adoLockTypeEnum ", ""),
Rename (" RecordStatusEnum adoRecordStatusEnum ", ""),
Rename (" ParameterDirectionEnum adoParameterDirectionEnum ", "")

http://blog.csdn.net/top_sc/article/details/52823758

CodePudding user response:

# import "c: \ program files \ common files \ system \ ado \ msado15 DLL" \
No_namespace \
Rename (" EOF ", "adoEOF") \
Rename (" DataTypeEnum adoDataTypeEnum ", ""),
Rename (" FieldAttributeEnum adoFielAttributeEnum ", ""),
Rename (" EditModeEnum adoEditModeEnum ", ""),
Rename (" LockTypeEnum adoLockTypeEnum ", ""),
Rename (" RecordStatusEnum adoRecordStatusEnum ", ""),
Rename (" ParameterDirectionEnum adoParameterDirectionEnum ", "")
  • Related