Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Marshaling between managed and unmanaged Pin
Luc Pattyn28-Sep-09 12:18
sitebuilderLuc Pattyn28-Sep-09 12:18 
GeneralRe: Marshaling between managed and unmanaged Pin
akhanal29-Sep-09 4:04
akhanal29-Sep-09 4:04 
GeneralRe: Marshaling between managed and unmanaged Pin
Luc Pattyn29-Sep-09 4:17
sitebuilderLuc Pattyn29-Sep-09 4:17 
GeneralRe: Marshaling between managed and unmanaged [modified] Pin
akhanal29-Sep-09 5:02
akhanal29-Sep-09 5:02 
GeneralRe: Marshaling between managed and unmanaged Pin
Luc Pattyn29-Sep-09 5:36
sitebuilderLuc Pattyn29-Sep-09 5:36 
GeneralRe: Marshaling between managed and unmanaged Pin
akhanal29-Sep-09 5:32
akhanal29-Sep-09 5:32 
GeneralRe: Marshaling between managed and unmanaged Pin
Luc Pattyn29-Sep-09 5:37
sitebuilderLuc Pattyn29-Sep-09 5:37 
GeneralRe: Marshaling between managed and unmanaged [modified] Pin
akhanal29-Sep-09 6:01
akhanal29-Sep-09 6:01 
This is the actual value and its hex equivalent for the 0th index of the array. I printed these values in a file like this:

System.IO.File.AppendAllText("c:\\projectLog.txt", Array[0].ToString());
System.IO.File.AppendAllText("c:\\projectLog.txt", ":");
System.IO.File.AppendAllText("c:\\projectLog.txt", Array[0].ToString("X8"));
System.IO.File.AppendAllText("c:\\projectLog.txt", Environment.NewLine);


505119136:1E1B81A0
505119552:1E1B8340
505140416:1E1BD4C0
505140432:1E1BD4D0
505140448:1E1BD4E0
505140464:1E1BD4F0
505140480:1E1BD500
505140496:1E1BD510
505140512:1E1BD520
505140528:1E1BD530
505140544:1E1BD540
505140560:1E1BD550


Here is to elaborate (remember I initialized the array[1000] with values 0 to 999):


Index 0: 486734960 : 1D02FC70 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486734976 : 1D02FC80 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486734992 : 1D02FC90 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486735008 : 1D02FCA0 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486735024 : 1D02FCB0 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486735040 : 1D02FCC0 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486735056 : 1D02FCD0 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486735072 : 1D02FCE0 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486735088 : 1D02FCF0 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002
Index 0: 486735104 : 1D02FD00 , Index 1: 0 : 00000000 , Index 2: 2 : 00000002


modified on Tuesday, September 29, 2009 12:10 PM

GeneralRe: Marshaling between managed and unmanaged Pin
Luc Pattyn29-Sep-09 6:15
sitebuilderLuc Pattyn29-Sep-09 6:15 
GeneralRe: Marshaling between managed and unmanaged Pin
akhanal29-Sep-09 6:27
akhanal29-Sep-09 6:27 
QuestionGetting the selected items from a radioButton group Pin
Twyce28-Sep-09 6:42
Twyce28-Sep-09 6:42 
AnswerRe: Getting the selected items from a radioButton group Pin
Michael Eber28-Sep-09 7:04
Michael Eber28-Sep-09 7:04 
QuestionCrystal Report at User's Computer Pin
Said Ali Jalali28-Sep-09 5:05
Said Ali Jalali28-Sep-09 5:05 
AnswerRe: Crystal Report at User's Computer Pin
Not Active28-Sep-09 5:12
mentorNot Active28-Sep-09 5:12 
AnswerRe: Crystal Report at User's Computer Pin
hosseinghazanfary28-Sep-09 6:08
hosseinghazanfary28-Sep-09 6:08 
AnswerRe: Crystal Report at User's Computer Pin
Paramhans Dubey29-Sep-09 2:45
professionalParamhans Dubey29-Sep-09 2:45 
QuestionSelect Row in DataGridView By Using Code (Physically) Pin
Thaer Hamael28-Sep-09 5:02
Thaer Hamael28-Sep-09 5:02 
AnswerRe: Select Row in DataGridView By Using Code (Physically) Pin
Not Active28-Sep-09 5:10
mentorNot Active28-Sep-09 5:10 
GeneralRe: Select Row in DataGridView By Using Code (Physically) Pin
Thaer Hamael28-Sep-09 5:20
Thaer Hamael28-Sep-09 5:20 
GeneralRe: Select Row in DataGridView By Using Code (Physically) Pin
MickCurley28-Sep-09 7:20
MickCurley28-Sep-09 7:20 
GeneralRe: Select Row in DataGridView By Using Code (Physically) Pin
Thaer Hamael28-Sep-09 20:48
Thaer Hamael28-Sep-09 20:48 
AnswerRe: Select Row in DataGridView By Using Code (Physically) Pin
bscaer28-Sep-09 5:39
bscaer28-Sep-09 5:39 
Questiondllnotfoundexception when compiling release version Pin
tjeffries28-Sep-09 4:50
tjeffries28-Sep-09 4:50 
QuestionReflection-Typecasting on a SortedList / KeyValuePair Pin
StephenGStone28-Sep-09 4:41
StephenGStone28-Sep-09 4:41 
AnswerRe: Reflection-Typecasting on a SortedList / KeyValuePair Pin
Henry Minute28-Sep-09 5:09
Henry Minute28-Sep-09 5:09 

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.