Search found 169 matches: extern

Return to advanced search

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: 25444

Re: Pregunta sobre PHB_ITEM (Para A. Linares)

Manu, Tienes que usar: extern PHB_ITEM hb_gcGripGet( PHB_ITEM pItem ); extern void hb_gcGripDrop( PHB_ITEM pItem ); Fijate que pertenecen a la categoria "gc" (garbage collector), ya que de lo que se trata es de indicarle al ...
by Antonio Linares
Tue Dec 29, 2015 7:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta sobre PHB_ITEM (Para A. Linares)
Replies: 7
Views: 1587

Re: Cursor a BMP

... fIcon; public int xHotspot; public int yHotspot; public IntPtr hbmMask; public IntPtr hbmColor; } [DllImport("user32")] private static extern bool GetIconInfo(IntPtr hIcon, out ICONINFO pIconInfo); [DllImport("user32.dll")] private static extern IntPtr LoadCursorFromFile(string ...
by cuatecatl82
Tue Nov 24, 2015 1:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cursor a BMP
Replies: 8
Views: 1211

Re: Mejoras para scintilla

Victor,

Para poder usar TFolderEx has de incluir en fivedit.prg:

extern TFolderEx

asi para cualquier otra clase ó función que quieras usar y que no use Fivedit.prg
by Antonio Linares
Thu Aug 27, 2015 6:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 850772

Re: Buzzer en CE 5.0

... -W3 -c /DARM /DUNICODE /I%hdir%\include /I%fwppc%\include icm.c me da estos warning icm.c icm.prg(74) : warning C4013: 'IF' undefined; assuming extern returning int icm.prg(74) : warning C4047: 'function' : 'const unsigned short *' differs in levels of indirection from 'int ' icm.prg(74) : warning ...
by gmart1
Tue Jul 28, 2015 8:53 am
 
Forum: FiveWin para Pocket PC
Topic: Buzzer en CE 5.0
Replies: 14
Views: 6796

Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE

... METHOD Commit(cWhere) METHOD AppendBlank() INLINE ::lAppend:=.T. METHOD InsertInto() METHOD HandleEvent(nMsg, nWParam, nLParam ) EXTERN ; WndHandleEvent( Self, nMsg, nWParam, nLParam ) METHOD End() ENDCLASS METHOD New( cSql,lLoad, oDataBase) CLASS Ttable DEFAULT lLoad:=.T. ::oDatabase:=oDataBase ...
by jnavas
Mon Mar 09, 2015 7:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TTABLE insertar Registros en Tablas SQL Lexico XBASE
Replies: 15
Views: 3690

Re: Instalar el sistema completo desde cero en Linux

Hola a todos. Bueno, tras instalar en debian el paquete harbour_3.0.0-1_i386_ubu_10.04-2.deb, he conseguido compilar el famoso "hola.prg", que tiene este contenido: function main() ? "Hola Mundo" return(nil) tras compilar con la orden "harbour hola.prg", se crea el fich...
by fjdise
Sun Jan 11, 2015 1:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Instalar el sistema completo desde cero en Linux
Replies: 30
Views: 7309

Re: Migrando de FWH 32 a FWH 64 - windows.h

Antonio,
Para poder usar hb_fsOpen en vez de fopen en el código C hace falta incluir algo más porque da el error:
warning C4013: 'hb_fsOpen' undefined; assuming extern returning int
by Verhoven
Sun Jan 04, 2015 9:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrando de FWH 32 a FWH 64 - windows.h
Replies: 79
Views: 19177

Re: Help for Pickcolor

Perhaps erase the extern combo and insert it on dialog pick ..refreshing a colors array....
by Silvio.Falconi
Tue Dec 09, 2014 4:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for Pickcolor
Replies: 13
Views: 4214

Problem compiling testtool.prg

... #include <c:\fwh\include\ClipApi.h> #ifndef __FLAT__ #include <c:\fwh\include\ToolHelp.h> #define PCLIPVAR void * #endif extern HINSTANCE GetInstance( void ); static void far PASCAL _export IntCallBack( void ); static far FARPROC lpfnCallBack = 0; #ifndef __FLAT__ static ...
by Massimo Linossi
Fri Sep 19, 2014 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem compiling testtool.prg
Replies: 0
Views: 504

Tengo un mensqje de error en bcc582

... #endif #endif // DUMMYUNIONNAME #ifdef _WIN64 #include <pshpack8.h> #else #include <pshpack4.h> #endif #ifdef __cplusplus extern "C" { #endif #ifndef SNDMSG #ifdef __cplusplus #ifndef _MAC #define SNDMSG ::SendMessage #else #define SNDMSG ::AfxSendMessage #endif ...
by Armando Picon
Thu Aug 14, 2014 12:08 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Tengo un mensqje de error en bcc582
Replies: 2
Views: 1564

Re: Calculator revisited

Antonio, yes of course, But I not Know How I must make to run also extern functions... :)
by Silvio.Falconi
Tue Jun 03, 2014 6:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculator revisited
Replies: 33
Views: 18884

Re: SKype and other

... there are on get this http://img844.imageshack.us/img844/8559/7fa1.png and the app no use dll extern but when I select skype and it not found it the app call NetMeeting of Widows The first time, then a setup of Netmeeting, the app give you the ...
by Silvio.Falconi
Mon Nov 18, 2013 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SKype and other
Replies: 2
Views: 753

Re: To Daniel : test of Tlayout

Silvio

the Layout is a way to order you controls by sections and adjust automatically when resizes it...

in yours image you can set a 4 "extern" sections and each section you can build a subsections

Image
by Daniel Garcia-Gil
Wed Nov 13, 2013 1:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Daniel : test of Tlayout
Replies: 7
Views: 2456

fwstrings lang

... Configuración de su impresora." )             ENDMENU   ENDMENURETURN oMenu  I have only modified the possibility to load astrings from extern file function FWLoadStrings( cFileName )   local cLine:="", n := 1   DEFAULT cFileName := cFilePath( GetModuleFileName( ...
by Silvio.Falconi
Sat Oct 12, 2013 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwstrings lang
Replies: 1
Views: 827
PreviousNext

Return to advanced search