Search found 26 matches: stdout

Return to advanced search

Using free AI power from our Harbour apps !!!

... python code of GPT4All dev team I realized (I saw and debugged the code) that they just were creating a process with the EXE and routing stdin and stdout, so I thought it is a perfect ocassion to use the great processes functions developed by Przemek! Next we are going to use it as a process from ...
by Antonio Linares
Fri Mar 31, 2023 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using free AI power from our Harbour apps !!!
Replies: 20
Views: 1674

Re: Comportamiento ultima version Harbour (r2101261627)

I confirm the bug. It seems that the output of the compiler is not to the stdout anymore.

EMG
by Enrico Maria Giordano
Mon Feb 22, 2021 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Comportamiento ultima version Harbour (r2101261627) SOLVED
Replies: 12
Views: 1042

Re: Posteingang bei Outlook auslesen

... wird. In diesem Fall wird eine Definition nur ein einziges mal in die Ausgabe geschrieben. /o:Dateiname Standardmäßig wird die Ausgabe nach StdOut geleitet. Wenn diese Option angegeben ist, dann erfolgt die Ausgabe in die neu erzeugte Datei Dateiname . /t:Typenbibliothek Typenbibliothek ...
by Jimmy
Sat Sep 07, 2019 11:26 am
 
Forum: All products support
Topic: Posteingang bei Outlook auslesen
Replies: 1
Views: 1730

Hacking Android (pipes) stdout and stderr redirection

https://codelab.wordpress.com/2014/11/03/how-to-use-standard-output-streams-for-logging-in-android-apps/ https://www.bignerdranch.com/blog/hijacking-for-fun-and-profit/ I have found this great code from Oscar Hernández Suárez: https://groups.google.com/d/msg/harb...
by Antonio Linares
Mon Mar 04, 2019 7:23 am
 
Forum: Utilities / Utilidades
Topic: Hacking Android (pipes) stdout and stderr redirection
Replies: 0
Views: 525

Mis programas FW hablan

... output device by name -c : use text from clipboard -t <text> : use text from command line -i : use text from stdin -o : write sound data to stdout -s <integer> : speed of speech (from -10 to 10) -p <integer> : pitch of speech (from -10 to 10) -v <integer> : volume of speech ...
by Busmatic_wpb
Sat Oct 27, 2018 5:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mis programas FW hablan
Replies: 7
Views: 2807

Re: MSVC 2017 Try

... 64 bits, en vez de usar hb_parnl() hemos de usar hb_parnll() y en vez de hb_retnl() usar hb_retnll() Modifica esta línea: FILE * _iob[] = { stdin, stdout, stderr }; asi: static FILE * _iob[] = { stdin, stdout, stderr };
by Antonio Linares
Sat Apr 15, 2017 6:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVC 2017 Try
Replies: 67
Views: 7781

Re: Funciones propias en una lib (Solucionado)

... from library /e extract module without removal /u update module in library /x extract module and remove it from library /L write listfile to stdout /N disable support of command syntax /O enable support of command syntax /A write GNU AR format archive with ELF objs /C case-sensitive library ...
by MarioG
Fri Feb 03, 2017 8:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones propias en una lib (Solucionado)
Replies: 48
Views: 9820

Re: C wrapper help

... 1999-2005 Syntax: xCC [options] srcfile{.C|.ASM} Options: /D<name>[=<text>] Define a preprocessor symbol /E Preprocess only (to stdout) /Fo<outfile> Name the output file /Gd Use __cdecl as default calling convention (default) /Gh Enable hook function call /Gm Don't decorate ...
by Antonio Linares
Thu Oct 20, 2016 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: C wrapper help
Replies: 16
Views: 3218

Re: FWH 16.03 32 BIT

Try it this way:

FILE * _iob[ 3 ];

_iob[ 0 ] = stdin;
_iob[ 1 ] = stdout;
_iob[ 2 ] = stderr;
by Antonio Linares
Fri May 06, 2016 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.03 32 BIT
Replies: 118
Views: 25400

Re: FWH 16.03 32 BIT

This may work:

#pragma BEGINDUMP

#include <Windows.h>

extern "C" {
FILE * _iob[] = { stdin, stdout, stderr };

FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}
}

#pragma ENDDUMP
by Antonio Linares
Sun Apr 10, 2016 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.03 32 BIT
Replies: 118
Views: 25400

Re: FWH 16.03 32 BIT

This seems the right version:

#pragma BEGINDUMP

#include <Windows.h>

FILE * _iob[] = { stdin, stdout, stderr };

FILE * __iob_func( void )
{
return ( FILE * ) _iob;
}

#pragma ENDDUMP
by Antonio Linares
Sun Apr 10, 2016 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.03 32 BIT
Replies: 118
Views: 25400

Re: FWH 16.03 32 BIT

Hakan,

Please try to add this code to your main PRG:

#pragma BEGINDUMP

#include <Windows.h>

FILE * __iob_func( void )
{
return { * stdin, * stdout, * stderr };
}

#pragma ENDDUMP
by Antonio Linares
Sun Apr 10, 2016 10:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.03 32 BIT
Replies: 118
Views: 25400

Unresolved external '__pcre_version'

fwh1507+bcc582+xharbour123 Executando: c:\BCC582\bin\ilink32.exe @C:\Users\Qbex\AppData\Local\Temp\maker_d2huxr.lnk O processo retornou 2 ---- STDOUT ---- Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '__pcre_version' referenced from C:\BCC582\LIB\CW32.LIB|_pver
by MGA
Wed Sep 09, 2015 8:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unresolved external '__pcre_version'
Replies: 1
Views: 374

__pcre_version error fwh1507+bcc582+xharbour123

Executando: c:\BCC582\bin\ilink32.exe @C:\Users\Qbex\AppData\Local\Temp\maker_d2huxr.lnk
O processo retornou 2
---- STDOUT ----
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '__pcre_version' referenced from C:\BCC582\LIB\CW32.LIB|_pver
by MGA
Wed Sep 09, 2015 8:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: __pcre_version error fwh1507+bcc582+xharbour123
Replies: 1
Views: 349

Re: Introducing FiveTech's fivedit

... myapp.prg /n > comp.log 2> warnings.log Notice the use of ">" and "2> " to redirect both outputs channels: stdout and stderr
by Antonio Linares
Thu Jan 29, 2015 1:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Introducing FiveTech's fivedit
Replies: 560
Views: 107719
Next

Return to advanced search