- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
in using RegSetValueEx, the lpData (ptr to value-data) is quoted as a "buffer" I cannot figure this out. If the value-data is a string, then a null terminated string will do and the length is simply the length of the string.
But what should one use for things like DWORD?
will lpData be loc(an integer(4))?
and will cbData =4 ?
Thanks in adv,
TimH
But what should one use for things like DWORD?
will lpData be loc(an integer(4))?
and will cbData =4 ?
Thanks in adv,
TimH
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
That way will work but A more proper way maybe to declare
integer(DWORD) ivalue
then ivalue can be assigned or read from say a reg fragment in decimal or hex (Z format) form.
then pass loc(ivalue) and valLength=4
integer(DWORD) ivalue
then ivalue can be assigned or read from say a reg fragment in decimal or hex (Z format) form.
then pass loc(ivalue) and valLength=4
