Solved

interface mismatch. engine version different

Posted on 2001-08-15
16
527 Views
Last Modified: 2010-04-06
Hi,
    Do anyone know why I am getting error 'Interface mismatch. engine version different' when I run my program on PC other than my laptop with Delphi installed. My program connect to SQL Server database. I configure the SQL Server using ODBC.
    Any advice?

Thanks.
0
Comment
Question by:swood34
  • 7
  • 3
  • 2
  • +3
16 Comments
 
LVL 4

Expert Comment

by:DMN
Comment Utility
Are you sure it's ODBC or SQL problem? Check version of JET on your laptop.
Does your application use TWebBrowser component? Then it's possible you have MSIE 3.0 installed on your laptop...  Use MSIE 4.01 and above then.
0
 

Author Comment

by:swood34
Comment Utility
yeah, it is not ODBC or SQL problem. it happened when I open a dialog. How to check JET?
0
 

Author Comment

by:swood34
Comment Utility
yeah, it is not ODBC or SQL problem. it happened when I open a dialog. How to check JET?
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
Comment Utility
Does the error happen before the dialog box is shown, during or after?  If it is before then you may have a version conflict with COMMDLG.DLL (windows\system dir).  If it is after the dialog is shown, then it maybe a coding problem (are you calling any D/COM objects?).

We've had a few compatibility issues with software written on Windows 2000.  The apps work OK on Win2K, but when they are run on 9x boxes we get problems.

I'd probably start by checking the version of the COMMDLG.DLL on your notebook, and then on each of the systems showing the error.  I must admit, if this is the case, it's the first I've heard of it ;)

Cheers,

Stu.
0
 
LVL 44

Accepted Solution

by:
CrazyOne earned 200 total points
Comment Utility
If you are using the BDE check that the version you compiled the project with matches the one on the other machine. The easiest way to check is to open the BDE Administrator look under "About". For example if your project was complied using BDE 5.01 and the BDE on the other machine has version number lower then this than this will cause the mismatch error.
0
 

Author Comment

by:swood34
Comment Utility
Hi,
    I get the error before the dialog box come out. I am using delphi 6. the other PC do not have BDE. Do I need to install BDE on all PC? Do I need to buy BDE lisense for all the PC?
0
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
if you use the bde, then you have to deploy the bde with your app.
you do not need a license for doing this
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
an easy way to deploy the bde is explained by simonet at
http://www.bhnet.com.br/~simonet/tipstricks/bdeinstcab.htm
0
 

Author Comment

by:swood34
Comment Utility
Hi,
    I get the error before the dialog box come out. I am using delphi 6. the other PC do not have BDE. Do I need to install BDE on all PC? Do I need to buy BDE lisense for all the PC?
0
 

Author Comment

by:swood34
Comment Utility
I don't know why my comment always appears twice. Anyone have idea?
0
 

Author Comment

by:swood34
Comment Utility
Hi,
    I checked the url above. it is for deploying database driver other then SQL Server but I am using SQL Server. How to deploy program with SQL Server?
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
I don't have D6 but prior versions of Delphi had InstallShield as part of the bundle. Does D6 have InstallSheild? If so use it to compile a setup routine for you. Based on the selections you make in InstallSheild it will bundle the drivers and setup them up on the clients machine.
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
Oops sorry for the reference to D6. hehehe I don't know where I got that thought from. So disregard the D6 reference but not the rest of the comment. :>)
0
 

Author Comment

by:swood34
Comment Utility
I never deploy using InstallShield before. can anyone teach me how to deploy bde using installshield?
0
 
LVL 26

Expert Comment

by:Russell Libby
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept CrazyOne's comment as answer

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Thank you,
Russell

EE Cleanup Volunteer
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now