flat assembler
Message board for the users of flat assembler.
Index
> Windows > RasDial problem |
Author |
|
i-don 16 Oct 2004, 12:18
Try delete { and } symbols in RASDIALPARAMS struct.
e.g.: Code: struc RASDIALPARAMS .dwSize dd ? .szEntryName rb RAS_MaxEntryName+1 .szPhoneNumber rb RAS_MaxPhoneNumber+1 .szCallbackNumber rb RAS_MaxCallbackNumber+1 .szUserName rb UNLEN + 1 .szPassword rb PWLEN + 1 .szDomain rb DNLEN + 1 .dwSubEntry dd ? .dwCallbackId dd ? ends |
|||
16 Oct 2004, 12:18 |
|
inskipp 16 Oct 2004, 13:03
I downloaded FASM 1.48 with the new macro set, change it in that way, but it still returns ERROR_BUFFER_INVALID. The problem must be somewhere else.
|
|||
16 Oct 2004, 13:03 |
|
inskipp 16 Oct 2004, 15:08
I invoked RasDial with the RASDIALPARAMS initialized from 1 byte to 4096.
It works, when it's 736 or 1052 . In my case sizeof.RASDIALPARAMS=1057, so my structure is 5 bytes to long, but I don't now why. |
|||
16 Oct 2004, 15:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.