[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

TADOConnection EOleException

Posted on 2004-04-29
5
Medium Priority
?
1,213 Views
Last Modified: 2011-09-20
I’m trying to connect to Microsoft SQL 8.0 from Delphi 7 using a TADOConnection object.  When I pass a command-line parameter to the application I get this error.

Project boats.exe raised exception class EOleException with message '%1
could not be found'

0
Comment
Question by:paul_kilday
3 Comments
 
LVL 23

Expert Comment

by:Ferruccio Accalai
ID: 10952316
it seems a syntax error in the parameter passing...

How do you pass this %1 ?

You can also test your parameter from ide choosing Parameters from Run tab and writing the parameter in parameter box....
0
 

Author Comment

by:paul_kilday
ID: 10952647
sorry, but I found the problem
I was using ParamStr(0), it sould have been ParamStr(1).
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13323173
PAQed with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

873 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