This small CPConvert.dll (on MS VC++ 6.0) [as ATL COM-componet] contains only one method Convert(nCPFrom As Integer, nCPTo As Integer, strExpr As String) As String, permitting to convert of string datas from one CODE PAGE to other (similarly functions CPCONVERT() in VFP)... To exclude repeated reallocation of memory, in case of cyclic use one instance of object, you can reset properties BufferLength or/and BufferIncrement according to yours datas before the beginning cycle of transformations...  

Also, the difference consists that it's capable to transformations for all pairs of files c_*.nls from C:\WINNT\system32\ *, that cannot be told about CPCONVERT() from VFP, in particularly the last is inaccessible the code page 20866 (koi8-r), widely used in MAPI in Russia.

Before use need call regsvr32.exe [FullPath]CPConvert.dll, certainly

In file cpcnvcom.zip include source code
 
Best regards.
Michael Drozdov, ICS Soft, Perm, Russia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mailto:Drozdov@ics.perm.su 
My Page: http://vfpdmur.narod.ru/
ICS Page: http://ics.perm.ru/ [on Russian]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
