>>>>Dunno Viv,
>>>>
>>>>( Back from hibernation ? )
>>>>
>>>>There is somewhere a conversion process ( int x = 0 will be converted to an empty string, etc)
>>>>So, why not reuse that code instead of doing that conversion again with other code ?
>>>>
>>>>
>>>Because the method receives a string. From the C++ application we communicate with VFP application by passing XML strings back and forth.
>>>
>>>I am working on C# conversion of the VFP class library, so C++ application is going to remain as is.
>>>
>>
>>Then, look at the vfp code, see what is done, and create a method (generic) that does the conversion like the vfp code does
>>
>>Shouldn't be that hard
>>
>I am going to try what Rob proposed.
>
>I don't think VFP code can easily be ported into C#, it's quite complex and uses macro substitution.
Then make samples of input and output of different data types and values
The usual much ado about nothing
Gregory