Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Versions des environnements
>Just thinking outloud here, but, is it possible that you got more characters than 256? I would change the line
>strData = SPACE(256) to strData = SPACE(bytesTotal) and see what happens
>
>[Update]Oh, looking at the code in the Wiki, it's author not only uses the above, but also calls GetData like this This.GetData(@lcBuffer, , tnByteCount )
I'm not sure I understand much about the bytesTotal and tnByteCount. Is this something I'm calculating and then passing? When I use the OLE (MSWinSck.ocx) it doesn't care how much I send it.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement