Missing msjro.dll

  • Thread starter Thread starter AngryBinary
  • Start date Start date
A

AngryBinary

Guest
Hello,

I have a pretty old project that was running fine on older windows versions (XP). This project uses odbc to connect to ms access data base. No the goal is to make it run on windows 10 without modifying it too much if possible.

I have Windows 10 1803 (X64), MS Access 2016 (16.0.4819 32 bit)

When I try to compile this project it gives me the following error when I try to build:

fatal error C1083: Cannot open type library file: 'msjro.dll': No such file or directory.

when I double click on this entry on output console iit takes me to this line:

#import <msjro.dll> rename("EOF", "adoEOF")

msjro.dll windows search gives: program files (x86)/common files/system/ado/msjro.dll

I added \Program Files (x86)\Common Files\system\ado to Additional include directories and then the following error pop upped:

<project path>\debug\msjro.tlh(198): error C3646: 'ConflictTables': unknown override specifier
<project path>\debug\msjro.tlh(198): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
<project path>\debug\msjro.tlh(226): error C3646: 'GetConflictTables': unknown override specifier
<project path>\debug\msjro.tlh(226): error C2059: syntax error: '('
<project path>\debug\msjro.tlh(226): error C2238: unexpected token(s) preceding ';'
<project path>\debug\msjro.tli(111): error C2039: 'GetConflictTables': is not a member of 'JRO::IReplica'
<project path>\debug\msjro.tlh(187): note: see declaration of 'JRO::IReplica'
<project path>\debug\msjro.tli(111): error C7525: inline variables require at least '/std:c++17'
<project path>\debug\msjro.tli(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
<project path>\debug\msjro.tli(111): error C2146: syntax error: missing ';' before identifier 'GetConflictTables'
<project path>\debug\msjro.tli(113): error C3861: 'get_ConflictTables': identifier not found
<project path>\debug\msjro.tli(114): error C2355: 'this': can only be referenced inside non-static member functions or non-static data member initializers
<project path>\debug\msjro.tli(114): error C2660: '_com_issue_errorex': function does not take 1 arguments
1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.16.27023\include\comdef.h(229): note: see declaration of '_com_issue_errorex'
<project path>\debug\msjro.tli(115): error C2064: term does not evaluate to a function taking 2 arguments
<project path>\debug\msjro.tli(115): warning C4508: 'JRO::GetConflictTables': function should return a value; 'void' return type assumed
<project path>\debug\msjro.tli(116): error C2617: 'JRO::GetConflictTables': inconsistent return statement
<project path>\debug\msjro.tli(111): note: see declaration of 'JRO::GetConflictTables'

Any ideas how to fix this?

Continue reading...
 
Back
Top