Search found 38 matches: strcpy

Return to advanced search

Re: Connection to XPlane Flight Simulator

sock.port = hb_parvni( 1, 1 );
strcpy( sock.xpIP , hb_parvc( 1, 2 ) ) ;
sock.xpPort = hb_parvni( 1, 3 );
sock.sock = hb_parvni( 1, 4 );
by Antonio Linares
Mon Jun 05, 2023 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 995

Re: Concatenar 2 string en MSVC

... y vamos a meterle 14 bytes más, pues al menos deberiamos declarar: char destino[ 23 ]; ahora incializariamos esa cadena con su contenido inicial: strcpy( destino, "Saludos " ); asi ya tenemos "Saludos " dentro de esa variable y además tenemos espacio para lo que le vamos a ...
by Antonio Linares
Fri Jul 08, 2022 10:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Concatenar 2 string en MSVC
Replies: 3
Views: 340

Problem x:\fwh\samples\dshow.prg

hi, i like to run Demo Sample for DSHOW but i got a lot of Error when compile in CMD Box of x:\fwh\samples i type  Build.Bat Dshow and this i got as Result Lines 5167, Functions/Procedures 2 Generating C source output to 'dshow.c'... Done. Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embar...
by Jimmy
Sat Nov 30, 2019 10:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem x:\fwh\samples\dshow.prg
Replies: 7
Views: 1412

Saber Ip Publico

... char *GetIP(); bool IsLanOrModem(); //-----------------------------------// HB_FUNC( IPPUBLIC ) { char *pszChar = ""; strcpy( pszChar, GetIP() ); hb_retc( pszChar ); } //-----------------------------------// char *GetIP() { char szPath[256], szRead[128], szRet[256]; ...
by Busmatic_wpb
Fri Dec 07, 2018 2:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Ip Publico
Replies: 1
Views: 607

Collegare una DLL con C Struttura

... { char TerminalId[8+1]; char AcquirerId[11+1]; char TransactionType[3+1]; char TransactionResult[2+1]; } TPOSData; TETHParameters ETHParameters; strcpy(ETHParameters.IPAddress, “192.168.1.2”); ETHParameters.Port = 1234; IAE17AX_InitEth(&ETHParameters); TECRData ECRData; TPOSData POSData; ...
by a.tixi@htech.it
Tue Mar 21, 2017 4:11 pm
 
Forum: All products support
Topic: Collegare una DLL con C Struttura
Replies: 7
Views: 2790

Re: Windows Toast notifications - second try

... 428: Redefinition of 'StrCatA' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h 431: Redefinition of 'StrCpyA' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h 439: Redefinition of 'StrCatN' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h ...
by Enrico Maria Giordano
Tue Apr 26, 2016 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows Toast notifications - second try
Replies: 86
Views: 23516

Re: Windows Toast notifications - second try

... 428: Redefinition of 'StrCatA' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h 431: Redefinition of 'StrCpyA' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h 439: Redefinition of 'StrCatN' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h ...
by Antonio Linares
Tue Apr 26, 2016 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows Toast notifications - second try
Replies: 86
Views: 23516

Re: Windows Toast notifications - second try

... 428: Redefinition of 'StrCatA' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h 431: Redefinition of 'StrCpyA' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h 439: Redefinition of 'StrCatN' is not identical Warning W8017 c:\bcc7\include\windows\sdk\shlwapi.h ...
by Antonio Linares
Tue Apr 26, 2016 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows Toast notifications - second try
Replies: 86
Views: 23516

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

En vez de strcpy() añade este prototipo al comienzo de tu fichero en C:

char * fw_strcpy( char * s1, const char * s2 );

y cambia strcpy() por fw_strcpy()
by Antonio Linares
Sun Jan 04, 2015 10:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrando de FWH 32 a FWH 64 - windows.h
Replies: 79
Views: 19117

Re: New FWH 14.09

... undefined reference to `fw_s trchr' c:/fwh/lib/fivehgc.lib(MSGS.o):MSGS.C:(.text+0x202): undefined reference to `fw_ strcpy' c:/fwh/lib/fivehgc.lib(MSGS.o):MSGS.C:(.text+0x24e): undefined reference to `fw_ strcpy' c:/fwh/lib/fivehgc.lib(MSGS.o):MSGS.C:(.text+0x2da): ...
by Gross
Tue Oct 28, 2014 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 14.09
Replies: 55
Views: 8612

New FTDN september 2014 (FWH 14.09)

October 2014 (Included in FWH 14.09 ) ============ * Fix: Class TBtnBmp still required some fixes on the methods PaintCaption() and PaintBitmap() * Fix: In prv2pdf.prg removed the "¿" for non spanish languages * Enhancement: Minor improvement on Class TReport Method EndGroup() thanks to Da...
by Antonio Linares
Tue Oct 21, 2014 4:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN september 2014 (FWH 14.09)
Replies: 0
Views: 1111

Problem compiling testtool.prg

... short __cdecl function(char *)' expected 'unsigned int __cdecl function(const char *)'. c:\fwh\include\ClipApi.h(464): error: Redeclaration of 'strcpy' previously declared at C:\xHB\c_include\string.h(27): found 'void __cdecl function(unsigned char *, unsigned char *)' expected 'char * __cdecl ...
by Massimo Linossi
Fri Sep 19, 2014 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem compiling testtool.prg
Replies: 0
Views: 504

Re: Embedding a 3rd party .dll

Gilbert,

This line:

aXMLInfoStruct.ConvertFile = ( char * ) hb_parc( 1, 2 );

has to be changed this way:

strcpy( aXMLInfoStruct.ConvertFile, ( char * ) hb_parc( 1, 2 ) );
by Antonio Linares
Tue Sep 24, 2013 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Embedding a 3rd party .dll
Replies: 34
Views: 8287

Re: fallo en hb_xfree

Otra forma más sencilla:

strcpy( ( char * ) cadena, ( char * ) hb_parc( 1 ) );
by Antonio Linares
Fri Jul 26, 2013 6:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: fallo en hb_xfree
Replies: 18
Views: 2329

Re: Compile tbfuncs.c

... function(const char *)' but found 'unsigned int __cdecl function(char *)'. C:\fw21\FWH_8\include\ClipApi.h(464): error #2120: Redeclaration of 'strcpy', previously declared at C:\fw21\xHarbourinc\XHB Set 08\xHB\c_include\string.h(27); expected 'char * __cdecl function(char *, const char *)' ...
by AHF
Fri Feb 10, 2012 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compile tbfuncs.c
Replies: 9
Views: 2683
Next

Return to advanced search