Using Win32 functions in Visual FoxPro Image Gallery
Shell Lightweight Utility APIs -- string functions
..msdn
ChrCmpI
StrCpy
StrDup
wnsprintf
Code examples:
StrDup returns a pointer to the duplicate of a source VFP string
StrCpy
..msdn    Add comment     W32 Constants      Translate this page
Copies one string to another.
Code examples:
StrDup returns a pointer to the duplicate of a source VFP string
Declaration:
LPTSTR StrCpy(
    LPTSTR psz1,
    LPCTSTR psz2
);
FoxPro declaration:
DECLARE INTEGER StrCpyW IN shlwapi AS StrCpy;
    STRING  @ psz1,;
    INTEGER   psz2
Parameters:
psz1
[out] Pointer to the destination string.

psz2
[in] Pointer to the null-terminated source string.
Return value:
Returns a pointer to psz1.
My comment:
MSDN suggests some security problems related to this function and recommends using StrCpyN instead.
Word Index links for the StrCpy :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-10-30 19:25:14
Modified: 2001-11-26 16:03:54
Visited in last 7 days: 9
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.86.177)
3 sec.Function: 'send'
6 sec.Function: 'SetTextColor'
9 sec.Function: 'RegOpenKeyEx'
11 sec.Function: 'UrlGetPart'
14 sec.Function: 'Shell_NotifyIcon'
17 sec.Function: 'StrToInt'
23 sec.Function: 'waveOutGetDevCaps'
34 sec.Function: 'SQLGetDiagRec'
48 sec.Function: 'SetTextCharacterExtra'
1.13 min.Function: 'SQLCreateDataSource'
Google
Advertise here!