>>>oreg.GetRegKey("ResWidth",@cValue,;
>>> "SOFTWARE\Microsoft\VisualFoxPro\4.0\Options",;
>>> -2147483647)
>>>
>>
>>Initialize the variable cValue to a character string before making the method call - the result will be returned as a chacter string for this particular registry key value. If you're using the FFC, it only works with strings.
>
>Excuse me Ed.
>I dont know what do you mean with "Caracter string"
>Can you give me an example.
>Thanks.
Folks switching to Turkish, sorry.
Cemal,
Ed'in söylemek istedigi registry fonksiyonlarinin hemen hemen hepsi WinAPI kullaniyor. WinAPI de genellikle geri göderilecek deger senin önceden hazirlayip adresini belirttigin yere yaziliyor. "Character string" herhangi bir alfanumerik dizi, tipki foxta herhangi bir character alana yazabildiklerin gibi. Genelde sadece geri istedigin degerler icin yeterli miktarda bosluk ayirip onun adresini, referansini WinAPI fonsiyonuna göderiyorsun :
lcRetValue = space(10)
? oreg.GetRegKey("ResWidth",@lcRetValue,;
"SOFTWARE\Microsoft\VisualFoxPro\4.0\Options",;
-2147483647)
? lcRetValue
Cetin