Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
harold aptroot3-Jul-10 10:37
harold aptroot3-Jul-10 10:37 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
Pete O'Hanlon3-Jul-10 11:26
mvePete O'Hanlon3-Jul-10 11:26 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
harold aptroot3-Jul-10 11:33
harold aptroot3-Jul-10 11:33 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
Pete O'Hanlon3-Jul-10 11:50
mvePete O'Hanlon3-Jul-10 11:50 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
harold aptroot3-Jul-10 11:56
harold aptroot3-Jul-10 11:56 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
Pete O'Hanlon4-Jul-10 1:18
mvePete O'Hanlon4-Jul-10 1:18 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
harold aptroot4-Jul-10 1:31
harold aptroot4-Jul-10 1:31 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
DaveyM693-Jul-10 11:44
professionalDaveyM693-Jul-10 11:44 
I was sitting watching a film with the family and it suddenly popped into my head! It's better dealt with now rather than later when his pointers turn out to be invalid and he has no clue why.

I've just knocked up a utility struct wrapping IntPtr with arithmetic/conversion operators built in for future use prompted by this to solve this problem the next time I need it. Not sure whether to post as a Tip or just as an answer to the OP...
Dave

If this helped, please vote & accept answer!


Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
harold aptroot3-Jul-10 11:47
harold aptroot3-Jul-10 11:47 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
DaveyM693-Jul-10 12:16
professionalDaveyM693-Jul-10 12:16 
GeneralRe: Incrementing the pointer returned by GCHandle.Alloc Pin
harold aptroot3-Jul-10 12:23
harold aptroot3-Jul-10 12:23 
AnswerRe: Incrementing the pointer returned by GCHandle.Alloc Pin
DaveyM693-Jul-10 12:16
professionalDaveyM693-Jul-10 12:16 
QuestionHow to get the text from ComboEditable Pin
raju_shiva2-Jul-10 22:42
raju_shiva2-Jul-10 22:42 
AnswerRe: How to get the text from ComboEditable Pin
Md. Marufuzzaman2-Jul-10 22:49
professionalMd. Marufuzzaman2-Jul-10 22:49 
GeneralRe: How to get the text from ComboEditable Pin
raju_shiva2-Jul-10 22:53
raju_shiva2-Jul-10 22:53 
GeneralRe: How to get the text from ComboEditable Pin
Md. Marufuzzaman2-Jul-10 23:01
professionalMd. Marufuzzaman2-Jul-10 23:01 
Questionsugeno Pin
hamidhakimi2-Jul-10 20:49
hamidhakimi2-Jul-10 20:49 
AnswerRe: sugeno Pin
Pete O'Hanlon2-Jul-10 21:20
mvePete O'Hanlon2-Jul-10 21:20 
GeneralRe: sugeno Pin
OriginalGriff2-Jul-10 21:38
mveOriginalGriff2-Jul-10 21:38 
QuestionHow to set the cursor in Combo Pin
raju_shiva2-Jul-10 19:40
raju_shiva2-Jul-10 19:40 
AnswerRe: How to set the cursor in Combo Pin
Peace ON2-Jul-10 20:48
Peace ON2-Jul-10 20:48 
AnswerRe: How to set the cursor in Combo Pin
dan!sh 3-Jul-10 2:55
professional dan!sh 3-Jul-10 2:55 
QuestionChanging Return Type Of A Control Pin
Roger Wright2-Jul-10 19:16
professionalRoger Wright2-Jul-10 19:16 
AnswerRe: Changing Return Type Of A Control Pin
OriginalGriff2-Jul-10 21:47
mveOriginalGriff2-Jul-10 21:47 
GeneralRe: Changing Return Type Of A Control Pin
Roger Wright3-Jul-10 6:47
professionalRoger Wright3-Jul-10 6:47 

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.