Convert DOS application(s) to Harbour <== LIB compatibility
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Sorry, I can't help you farther. It works fine here.
EMG
EMG
Re: Convert DOS application(s) to Harbour <== LIB compatibility
May I ask how did you test the DBF which I had sent you?
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Code: Select all
FUNCTION MAIN()
USE X_CT
? FIELD -> prv_email
INKEY( 0 )
RETURN NIL
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Found it!
It was the rddsys.prg I linked.
This gave me the problem:
It was the rddsys.prg I linked.
This gave me the problem:
Code: Select all
/***
*
* RddSys.prg
*
* This program is run each time your application is started to setup
* the proper default driver. You should modify a copy of this file
* if you wish to use a default RDD other than DBFNTX.
*
* Copyright (c) 1993, Computer Associates International, Inc.
* All rights reserved.
*
*/
ANNOUNCE RDDSYS // This line must not change
INIT PROCEDURE RddInit
REQUEST DBFCDX // Causes DBFNTX RDD to be linked in
rddSetDefault( "DBFCDX" ) // Set up DBFNTX as default driver
RETURN
// eof: rddsys.prg
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Thanks for (all) your help.
How do i tell the compiler only to compile the PRG I changed and not all PRGs?
How do i tell the compiler only to compile the PRG I changed and not all PRGs?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Convert DOS application(s) to Harbour <== LIB compatibility
You have to use a make file
Here you have an example:
http://forums.fivetechsupport.com/viewt ... =6&t=28919
Here you have an example:
http://forums.fivetechsupport.com/viewt ... =6&t=28919
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Thank you, I will take a look at it.
MemoEdit problem:
This seems not to work anymore? Getting error Undefined function: MemoControl()
Is there an example of how to use memoedit with user defined controls?
Maarten
MemoEdit problem:
Code: Select all
MemoEdit(tnmemo,11,3,24,76,.T.,'MemoControl()',73,3)
Is there an example of how to use memoedit with user defined controls?
Maarten
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Try this:elrosa wrote:Thank you, I will take a look at it.
MemoEdit problem:This seems not to work anymore? Getting error Undefined function: MemoControl()Code: Select all
MemoEdit(tnmemo,11,3,24,76,.T.,'MemoControl()',73,3)
Is there an example of how to use memoedit with user defined controls?
Maarten
Code: Select all
MemoEdit(tnmemo,11,3,24,76,.T.,'MemoControl',73,3)
EMG
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Also check that MemoControl() function is not STATIC. Ie:
not
EMG
Code: Select all
FUNCTION MemoControl()
Code: Select all
STATIC FUNCTION MemoControl()
Re: Convert DOS application(s) to Harbour <== LIB compatibility
<shame icon>
Eh, thank you... need a holiday.. 3 hours to go.
</shame icon>
Eh, thank you... need a holiday.. 3 hours to go.
</shame icon>
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Last question before my holiday: Is there a substitute for the EGA43() and VGA28() functions? So that you can swith to 43 lines and 28 Lines?
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Convert DOS application(s) to Harbour <== LIB compatibility
Try this:
EMG
Code: Select all
SetMode( <nRowCount>, <nColCount> ) --> lSuccess