Click here to Skip to main content
15,880,608 members
Home / Discussions / C#
   

C#

 
GeneralRe: Signing an assembly with a strong name Pin
Heath Stewart22-Jan-04 11:01
protectorHeath Stewart22-Jan-04 11:01 
GeneralRe: Signing an assembly with a strong name Pin
RadioButton22-Jan-04 11:22
RadioButton22-Jan-04 11:22 
GeneralRe: Signing an assembly with a strong name Pin
Daniel Turini22-Jan-04 11:20
Daniel Turini22-Jan-04 11:20 
GeneralRe: Signing an assembly with a strong name Pin
RadioButton22-Jan-04 11:28
RadioButton22-Jan-04 11:28 
GeneralRe: Signing an assembly with a strong name Pin
Heath Stewart22-Jan-04 11:49
protectorHeath Stewart22-Jan-04 11:49 
GeneralRe: Signing an assembly with a strong name Pin
RadioButton22-Jan-04 12:16
RadioButton22-Jan-04 12:16 
GeneralGetIfTable and DllImport Pin
Julien Delezenne22-Jan-04 10:02
Julien Delezenne22-Jan-04 10:02 
GeneralRe: GetIfTable and DllImport Pin
Heath Stewart22-Jan-04 11:09
protectorHeath Stewart22-Jan-04 11:09 
First, use the out keyword instead of ref in the first parameter of GetIfTable to avoid having to instantiate the structure. Not a big deal, but it is the correct declaration.

Also, you're MIB_IFROW structure is incorrect. First, the first string member is a WCHAR - a wide character (2 bytes). Therefore, your CharSet in the StructLayoutAttribute should be set to CharSet.Unicode. The UnmanagedType.ByValTStr will then cause the marshaler to use what the CharSet in the StructLayoutAttribute declares, namely a Unicode string (an array of WCHARs).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: GetIfTable and DllImport //Thanks Pin
Julien Delezenne22-Jan-04 12:19
Julien Delezenne22-Jan-04 12:19 
GeneralMonthCalendar control selecting multiple dates Pin
Chris Meech22-Jan-04 9:38
Chris Meech22-Jan-04 9:38 
GeneralRe: MonthCalendar control selecting multiple dates Pin
Heath Stewart22-Jan-04 11:53
protectorHeath Stewart22-Jan-04 11:53 
GeneralRe: MonthCalendar control selecting multiple dates Pin
Chris Meech23-Jan-04 2:25
Chris Meech23-Jan-04 2:25 
GeneralRe: MonthCalendar control selecting multiple dates Pin
Heath Stewart23-Jan-04 4:37
protectorHeath Stewart23-Jan-04 4:37 
GeneralRe: MonthCalendar control selecting multiple dates Pin
Chris Meech23-Jan-04 5:04
Chris Meech23-Jan-04 5:04 
QuestionTrying to expand middle panel like in Outlook???? Pin
LongRange.Shooter22-Jan-04 9:07
LongRange.Shooter22-Jan-04 9:07 
AnswerRe: Trying to expand middle panel like in Outlook???? Pin
Heath Stewart22-Jan-04 9:31
protectorHeath Stewart22-Jan-04 9:31 
GeneralRe: Trying to expand middle panel like in Outlook???? Pin
LongRange.Shooter22-Jan-04 10:04
LongRange.Shooter22-Jan-04 10:04 
GeneralBase Control for ToolBox, Solution & Properties "Panels" Pin
RapidFireBill22-Jan-04 9:06
RapidFireBill22-Jan-04 9:06 
GeneralRe: Base Control for ToolBox, Solution & Properties "Panels" Pin
LongRange.Shooter22-Jan-04 9:11
LongRange.Shooter22-Jan-04 9:11 
GeneralFind if input is already MD5 encrypted ! Pin
pahluwalia22-Jan-04 4:08
pahluwalia22-Jan-04 4:08 
GeneralRe: Find if input is already MD5 encrypted ! Pin
Heath Stewart22-Jan-04 4:29
protectorHeath Stewart22-Jan-04 4:29 
Generalnewbie question Pin
bouli22-Jan-04 3:54
bouli22-Jan-04 3:54 
GeneralRe: newbie question Pin
Colin Angus Mackay22-Jan-04 4:07
Colin Angus Mackay22-Jan-04 4:07 
GeneralRe: newbie question Pin
bouli22-Jan-04 4:10
bouli22-Jan-04 4:10 
GeneralRe: newbie question Pin
Heath Stewart22-Jan-04 4:35
protectorHeath Stewart22-Jan-04 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.