How to solve build errors using VS 2010 Ultimate on 32-bit XP Sp3

The VS2010 Ultimate installed on my desktop workstation is the Dell Precision T3500 (64-bit Windows 7) and on my IBM ThinkPad R51 (Windows XP Sp3 32bit).

I'm having problems creating solutions on StinkPad, and I can’t understand why. As indicated below, the assembly output for the ADO library created by the compiler contains the following errors:

c: \ wpds \ debug \ msjro.tlh (196): error C2146: syntax error: missing ';' before the identifier "ConflictTables" c: \ wpds \ debug \ msjro.tlh (196): error C4430: missing type specifier - int. Note: C ++ does not support default-int c: \ wpds \ debug \ msjro.tlh (196): error C4430: there is no type specifier - int. Note: C ++ does not support default-int c: \ wpds \ debug \ msjro.tlh (224): error C2146: syntax error: missing ';' before the identifier "GetConflictTables" c: \ wpds \ debug \ msjro.tlh (224): error C4430: missing type specifier - int. Note: C ++ does not support default-int

I checked that all include, exe and libraries were correct for all projects and solutions. Any insight would be appreciated. thanks bill

+3
source share
2 answers

I encountered the same problem when compiling for the first time with the new version of msado15.dll. There are dependencies between msado15.dll and msjro.dll, as these lines at the top of msjro.tlb testify to:

// Cross-referenced type libraries:
//
//  #import "C:\Program Files (x86)\Common Files\System\ado\msado15.dll"
//

- , Windows 7, SP1 msado15.dll, Windows XP. , KB, dll msado , msjro.tlb . , msjro / msado ( , msado60_Backcompat.tlb, KB), CADODatabase, ado2.cpp ado2.h, Jet , ado2.h ado2.cpp, .
ado2.h:

//#import <MSJRO.DLL> no_namespace rename("ReplicaTypeEnum", "_ReplicaTypeEnum") 

# ifdef'd CJetEngine ado2.cpp, .

!

+2

. MSJRO.TLH, WinXP, Win7. WinXP

ADODB::_RecordsetPtr ...

Win7

_RecordsetPtr ...

, . MSADO15.TLH - "ADODB". :

using namespace ADODB;

Jet.

#import "MSJRO.DLL"

.

+1

Source: https://habr.com/ru/post/1766995/


All Articles