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

C#

 
GeneralFinding the baseline of a Font Pin
Oppy21-Nov-02 12:56
Oppy21-Nov-02 12:56 
GeneralEncasing other windows in a C# winform Pin
Anonymous21-Nov-02 11:11
Anonymous21-Nov-02 11:11 
GeneralProblem with AutoScrollPosition Pin
Marc Clifton21-Nov-02 10:37
mvaMarc Clifton21-Nov-02 10:37 
GeneralRe: Problem with AutoScrollPosition Pin
leppie22-Nov-02 6:35
leppie22-Nov-02 6:35 
Generalhelp with executing a transform! Pin
LongRange.Shooter21-Nov-02 9:36
LongRange.Shooter21-Nov-02 9:36 
GeneralRe: help with executing a transform! Pin
LongRange.Shooter22-Nov-02 9:35
LongRange.Shooter22-Nov-02 9:35 
QuestionCopying pointer to pointer? Pin
Zombies with Coffee, LLC21-Nov-02 9:02
professionalZombies with Coffee, LLC21-Nov-02 9:02 
AnswerRe: Copying pointer to pointer? Pin
leppie21-Nov-02 9:33
leppie21-Nov-02 9:33 
psdavis wrote:
So, the second to the last line needs to copy from a IntPtr to an IntPtr. Problem is that Marshal.Copy will convert anything to a IntPtr, or an IntPtr to anything, but it won't copy from an IntPtr to an IntPtr.

So, how are you supposed to copy from one pointer to another?


Why on earth do you wanna do that? Confused | :confused: Why not just use the pointer?

OK I see what you are trying to do...perhaps Marshalling is NOT what need. Also you lock the memory as ReadOnly, then try to copy to it.... something strange! I have not worked with this before but AFAI can see you mite need to use ImageLockMode.UserInputBuffer...

Cheers Smile | :)

"I dont have a life, I have a program." Also, I won't support any software without the LeppieRules variable.
GeneralRe: Copying pointer to pointer? Pin
Zombies with Coffee, LLC21-Nov-02 9:45
professionalZombies with Coffee, LLC21-Nov-02 9:45 
AnswerRe: Copying pointer to pointer? Pin
John Fisher21-Nov-02 9:54
John Fisher21-Nov-02 9:54 
GeneralRe: Copying pointer to pointer? Pin
Zombies with Coffee, LLC21-Nov-02 9:57
professionalZombies with Coffee, LLC21-Nov-02 9:57 
GeneralRe: Copying pointer to pointer? Pin
leppie21-Nov-02 10:05
leppie21-Nov-02 10:05 
GeneralRe: Copying pointer to pointer? Pin
Zombies with Coffee, LLC21-Nov-02 10:18
professionalZombies with Coffee, LLC21-Nov-02 10:18 
GeneralRe: Copying pointer to pointer? Pin
Zombies with Coffee, LLC21-Nov-02 10:33
professionalZombies with Coffee, LLC21-Nov-02 10:33 
GeneralAdding Web references Pin
Tom Archer21-Nov-02 8:19
Tom Archer21-Nov-02 8:19 
GeneralRe: Adding Web references Pin
Masaaki Onishi21-Nov-02 12:05
Masaaki Onishi21-Nov-02 12:05 
GeneralRe: Adding Web references Pin
Tom Archer21-Nov-02 16:31
Tom Archer21-Nov-02 16:31 
GeneralRe: Adding Web references Pin
Tom Archer24-Nov-02 16:04
Tom Archer24-Nov-02 16:04 
GeneralRe: Adding Web references Pin
leppie25-Nov-02 6:53
leppie25-Nov-02 6:53 
GeneralTwo basic qeustions about threads Pin
Bog21-Nov-02 6:17
Bog21-Nov-02 6:17 
GeneralRe: Two basic qeustions about threads Pin
Bog21-Nov-02 8:37
Bog21-Nov-02 8:37 
GeneralRe: Two basic qeustions about threads Pin
leppie21-Nov-02 9:09
leppie21-Nov-02 9:09 
QuestionColored text in a RichTextBox? Pin
chuckn21-Nov-02 4:59
chuckn21-Nov-02 4:59 
AnswerRe: Colored text in a RichTextBox? Pin
leppie21-Nov-02 6:05
leppie21-Nov-02 6:05 
GeneralRe: Colored text in a RichTextBox? Pin
chuckn21-Nov-02 6:16
chuckn21-Nov-02 6:16 

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.