Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
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 
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 
Well, if it makes you feel any better leppie, no success yet.

On the 'CopyMemory' step, getting 'object reference not set to an instance of an object' and no clues atm.

[DllImport("kernel32.dll", EntryPoint="RtlMoveMemory")]<br />
internal static extern void CopyMemory( IntPtr Destination, IntPtr Source, int Length );<br />
<br />
.....<br />
<br />
Rectangle rcImage = new Rectangle( 0, 0, iWidth, iHeight );<br />
<br />
m_CurrentImage = new Bitmap( iWidth, iHeight, PixelFormat.Format8bppIndexed );<br />
<br />
BitmapData pBitmapData = m_CurrentImage.LockBits( rcImage, ImageLockMode.ReadWrite, PixelFormat.Format8bppIndexed );<br />
<br />
CopyMemory( pBitmapData.Scan0, hDibBitmap, iWidth * iHeight );<br />
<br />
m_CurrentImage.UnlockBits( pBitmapData );

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 
GeneralRe: Colored text in a RichTextBox? Pin
leppie21-Nov-02 6:25
leppie21-Nov-02 6:25 
GeneralLocal user log on Pin
mkomasi21-Nov-02 0:09
mkomasi21-Nov-02 0:09 
GeneralRe: Local user log on Pin
Mazdak21-Nov-02 0:59
Mazdak21-Nov-02 0:59 
GeneralRe: Local user log on Pin
Mazdak22-Nov-02 0:01
Mazdak22-Nov-02 0:01 
GeneralChanging MDI child opacity Pin
SimonS20-Nov-02 23:08
SimonS20-Nov-02 23:08 

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.