Click here to Skip to main content
15,903,362 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get a pop-up window in c#.net and pass values to it from DataList parameters Pin
Elina Blank15-Jun-06 4:25
sitebuilderElina Blank15-Jun-06 4:25 
GeneralRe: How to get a pop-up window in c#.net and pass values to it from DataList parameters Pin
tedhill1315-Jun-06 5:03
tedhill1315-Jun-06 5:03 
GeneralRe: How to get a pop-up window in c#.net and pass values to it from DataList parameters Pin
Elina Blank15-Jun-06 5:12
sitebuilderElina Blank15-Jun-06 5:12 
Questiondrawing on tab control Pin
donkaiser15-Jun-06 3:26
donkaiser15-Jun-06 3:26 
AnswerRe: drawing on tab control Pin
donkaiser15-Jun-06 4:29
donkaiser15-Jun-06 4:29 
QuestionCreating a Bitmap from IntPtr to unmanaged memory: issues [modified] Pin
Jon Hulatt15-Jun-06 3:06
Jon Hulatt15-Jun-06 3:06 
AnswerRe: Creating a Bitmap from IntPtr to unmanaged memory: issues Pin
Guffa15-Jun-06 3:27
Guffa15-Jun-06 3:27 
GeneralRe: Creating a Bitmap from IntPtr to unmanaged memory: issues Pin
Florian Storck26-Jun-06 4:50
Florian Storck26-Jun-06 4:50 
Guffa wrote:
If you create a new blank Bitmap, you can use LockBits to pin the bitmap data and get a pointer to it. Could you use that with Marshal.Copy to copy the unmanaged data into the bitmap?




Ups, seems that my reply notification didn't worked...

Meanwhile it seems to work using an IntPtr for initialising, but as far as I can see, the new instance allocates also memory, which is completetly unnecessary because the bitmap data are already in an unmanaged buffer, where the IntPtr points to. My initial idea was to avoid any copying issues for performance reasons and just define the bitmap format and set the pointer directly to the image data. This seems to be a lot more complicated used the managed environment. I'm not sure if it would work if the IntPtr would point to a managed location.

Any suggestions are welcome.

Bye,
Florian
QuestionCheckbox Column in DataGridView Pin
paas15-Jun-06 2:30
paas15-Jun-06 2:30 
AnswerRe: Checkbox Column in DataGridView Pin
paas15-Jun-06 3:41
paas15-Jun-06 3:41 
QuestionHow to get Page Title using WebBrowser control Pin
VenkataRamana.Gali15-Jun-06 0:57
VenkataRamana.Gali15-Jun-06 0:57 
AnswerRe: How to get Page Title using WebBrowser control Pin
Alexander Wiseman15-Jun-06 5:36
Alexander Wiseman15-Jun-06 5:36 
QuestionHow to use a variable declared in one from to other form? Pin
praveenqwe15-Jun-06 0:34
praveenqwe15-Jun-06 0:34 
AnswerRe: How to use a variable declared in one from to other form? Pin
albCode15-Jun-06 0:53
albCode15-Jun-06 0:53 
AnswerRe: How to use a variable declared in one from to other form? Pin
NaNg1524115-Jun-06 0:54
NaNg1524115-Jun-06 0:54 
AnswerRe: How to use a variable declared in one from to other form? Pin
rah_sin15-Jun-06 1:00
professionalrah_sin15-Jun-06 1:00 
AnswerRe: How to use a variable declared in one from to other form? Pin
Aijaz Ahmed Niazi15-Jun-06 1:41
Aijaz Ahmed Niazi15-Jun-06 1:41 
QuestionHow to get client ip address Pin
Raghu Deshpande14-Jun-06 23:32
Raghu Deshpande14-Jun-06 23:32 
AnswerRe: How to get client ip address [modified] Pin
albCode14-Jun-06 23:51
albCode14-Jun-06 23:51 
Questionhow to attach more than 10mb file usinh html file field Pin
ayyp14-Jun-06 23:27
ayyp14-Jun-06 23:27 
AnswerRe: how to attach more than 10mb file usinh html file field Pin
Guffa14-Jun-06 23:52
Guffa14-Jun-06 23:52 
GeneralRe: how to attach more than 10mb file usinh html file field Pin
ayyp15-Jun-06 0:04
ayyp15-Jun-06 0:04 
GeneralRe: how to attach more than 10mb file usinh html file field Pin
Guffa15-Jun-06 0:36
Guffa15-Jun-06 0:36 
AnswerRe: how to attach more than 10mb file usinh html file field [modified] Pin
VenkataRamana.Gali15-Jun-06 0:07
VenkataRamana.Gali15-Jun-06 0:07 
GeneralRe: how to attach more than 10mb file usinh html file field Pin
ayyp15-Jun-06 0:28
ayyp15-Jun-06 0:28 

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.