Print Thread
Page 2 of 2 1 2
Re: Console App in Kylix
#6135 03/05/04 10:23 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
I'm not sure if this is standard behavior.

To remove all dependencies with X, you would need to recompile the Direct Oracle Access package with the NONVISUAL compiler directive set. This requires the sourcecode though.


Marco Kalter
Allround Automations
Re: Console App in Kylix
#6136 03/10/04 02:17 PM
Joined: Feb 2004
Posts: 7
G
Garby Offline OP
Member
OP Offline
Member
G
Joined: Feb 2004
Posts: 7
Hi,
it is not possible for me to compile the Package.
there are too many ErrorMessages.

I am Using DOA 4.0.3.0

Garby

Re: Console App in Kylix
#6137 03/10/04 09:47 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
Such as?


Marco Kalter
Allround Automations
Re: Console App in Kylix
#6138 03/18/04 04:18 AM
Joined: Mar 2004
Posts: 6
J
Member
Offline
Member
J
Joined: Mar 2004
Posts: 6
Hi,

The errors I received when trying to recompile using the NONVISUAL conditional define were:-
- [Error] OracleNavigator.pas(577): Incompatible types: 'OracleVisual.TMsgDlgBtn' and 'QDialogs.TMsgDlgBtn'
- [Error] OracleNavigator.pas(625): Duplicate case label

Thanks

Jeff

Re: Console App in Kylix
#6139 03/18/04 04:23 AM
Joined: Mar 2004
Posts: 6
J
Member
Offline
Member
J
Joined: Mar 2004
Posts: 6
I am using DOA 4.0.0.0

Jeff

Re: Console App in Kylix
#6140 03/18/04 06:28 AM
Joined: Mar 2004
Posts: 6
J
Member
Offline
Member
J
Joined: Mar 2004
Posts: 6
I have just downloaded v4.0.3 and I get the same errors as above when compiling with Kylix3.

Jeff

Re: Console App in Kylix
#6141 03/18/04 10:58 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
OracleNavigator.pas should not be compiled. It is not referenced in any of the other Direct Oracle Access unit, and should not be referenced in your application either.

I just noticed that you tried to compile the Direct Oracle Access package. You should not do so. The package should stay as it is, NONVISUAL should be defined in your project, and the Direct Oracle Access source files should be included in the search path of the project.


Marco Kalter
Allround Automations
Re: Console App in Kylix
#6142 03/22/04 03:37 AM
Joined: Mar 2004
Posts: 6
J
Member
Offline
Member
J
Joined: Mar 2004
Posts: 6
You're dead right, I was trying to recompile the Direct Oracle Access package. It all makes sense now.

I have now put NONVISUAL as a conditional define in my project and included the oracle source dir in my search path and everything works fine now.

Thanks

Jeff

Page 2 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.151s Queries: 15 (0.053s) Memory: 2.5444 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-05-03 18:02:32 UTC
Valid HTML 5 and Valid CSS