hello , how are you ?
please i want ask about how i can using RasDialDlg() function API in C# to connect the internet by dialup,,
please any one help me
Thank you
Ahmed Osama
my E-mail: [email protected]
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AhmedOsamaPosted Jul 20, 2005, 3:23 AM
Ahmed Osama
Mike GoldPosted Jul 19, 2005, 8:23 AM
not sure if the ulong_ptr are Int32 or Int64, because if you look at the definitions, they can be either
depending upon how _WIN64 is defined.
-Mike G
Mike GoldPosted Jul 19, 2005, 8:22 AM
typedef struct tagRASDIALDLG {
IN DWORD dwSize;
IN HWND hwndOwner;
IN DWORD dwFlags;
IN LONG xDlg;
IN LONG yDlg;
IN DWORD dwSubEntry;
OUT DWORD dwError;
IN ULONG_PTR reserved;
IN ULONG_PTR reserved2; } RASDIALDLG;
and pinvoke the call
[DllImport("Rasdlg.dll")]
public static extern bool RasDialDlg(string phonebook, string entry, string number, RASDIALDLG lpInfo);
-Mike G