J
Jared Miniman
One would think this is pretty simple, but apparently it's not. After
seeing some of the OpenNETCF guru postings, I've deemed this one too much to
tackle alone. Here is my structure in C++ land:
typedef struct _WLAN_CREDENTIALS_INFO
{
TCHAR _szUserName[UNLEN+1]; ///< User name.
TCHAR _szPassword[PWLEN+1]; ///< Password.
TCHAR _szDomain[DNLEN+1]; ///< Domain
name
} WLAN_CREDENTIALS_INFO, WLAN_CREDENTIALS_INFO,
*PWLAN_CREDENTIALS_INFO, *PWLAN_CREDENTIALS_INFO;
All I need to do is pass this structure into a native DLL call as an input
argument. What is the easiest way to push three C# strings into this
structure and then package this off to my function call?
--
_________________________________
Jared Miniman
Accenture Mobile Solutions Group
ActiveSync problems?
http://www.microsoft.com/mobile/pocketpc/support/help/activesync.asp
Connection Mngr Q's?
http://www.microsoft.com/mobile/pocketpc/tutorials/connectionmanager
seeing some of the OpenNETCF guru postings, I've deemed this one too much to
tackle alone. Here is my structure in C++ land:
typedef struct _WLAN_CREDENTIALS_INFO
{
TCHAR _szUserName[UNLEN+1]; ///< User name.
TCHAR _szPassword[PWLEN+1]; ///< Password.
TCHAR _szDomain[DNLEN+1]; ///< Domain
name
} WLAN_CREDENTIALS_INFO, WLAN_CREDENTIALS_INFO,
*PWLAN_CREDENTIALS_INFO, *PWLAN_CREDENTIALS_INFO;
All I need to do is pass this structure into a native DLL call as an input
argument. What is the easiest way to push three C# strings into this
structure and then package this off to my function call?
--
_________________________________
Jared Miniman
Accenture Mobile Solutions Group
ActiveSync problems?
http://www.microsoft.com/mobile/pocketpc/support/help/activesync.asp
Connection Mngr Q's?
http://www.microsoft.com/mobile/pocketpc/tutorials/connectionmanager