Click here to Skip to main content
15,891,777 members
Home / Discussions / C#
   

C#

 
AnswerRe: creating custom control that contains DialogResult Pin
OriginalGriff9-Feb-10 5:11
mveOriginalGriff9-Feb-10 5:11 
GeneralRe: creating custom control that contains DialogResult Pin
sajjad.aghapouer9-Feb-10 6:43
sajjad.aghapouer9-Feb-10 6:43 
GeneralRe: creating custom control that contains DialogResult Pin
OriginalGriff9-Feb-10 9:24
mveOriginalGriff9-Feb-10 9:24 
QuestionHow to record or capture voices from speaker or sound card on my computer win7, not from microphone Pin
serkanweb9-Feb-10 2:54
serkanweb9-Feb-10 2:54 
AnswerRe: How to record or capture voices from speaker or sound card on my computer win7, not from microphone Pin
serkanweb9-Feb-10 23:39
serkanweb9-Feb-10 23:39 
Questionregarding Microsoft Sync Framework Pin
Tridip Bhattacharjee9-Feb-10 2:47
professionalTridip Bhattacharjee9-Feb-10 2:47 
QuestionInsertMenuItem WinAPI problem Pin
Nematjon Rahmanov9-Feb-10 1:17
Nematjon Rahmanov9-Feb-10 1:17 
AnswerRe: InsertMenuItem WinAPI problem Pin
Luc Pattyn9-Feb-10 1:25
sitebuilderLuc Pattyn9-Feb-10 1:25 
In Win64 all pointers take 64 bits, hence uint hMenu is wrong in public static extern bool InsertMenuItem(uint hMenu, uint uItem, bool fByPosition,[In] ref MENUITEMINFO lpmii);.

One should always use IntPtr when passing a handle or pointer; and yes, www.pinvoke.net has some errors in that regard.

Another potential problem may be the string in your structure; not sure that gets marshaled automatically.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.

QuestionRe: InsertMenuItem WinAPI problem Pin
Nematjon Rahmanov9-Feb-10 1:47
Nematjon Rahmanov9-Feb-10 1:47 
AnswerRe: InsertMenuItem WinAPI problem Pin
Covean9-Feb-10 2:08
Covean9-Feb-10 2:08 
GeneralRe: InsertMenuItem WinAPI problem Pin
Nematjon Rahmanov9-Feb-10 2:33
Nematjon Rahmanov9-Feb-10 2:33 
GeneralRe: InsertMenuItem WinAPI problem Pin
Covean9-Feb-10 2:49
Covean9-Feb-10 2:49 
GeneralRe: InsertMenuItem WinAPI problem Pin
Decco28-Feb-10 23:27
Decco28-Feb-10 23:27 
QuestionSorting Pin
sachees1238-Feb-10 23:59
sachees1238-Feb-10 23:59 
AnswerRe: Sorting Pin
monstale9-Feb-10 0:38
monstale9-Feb-10 0:38 
GeneralRe: Sorting Pin
ThatsAlok9-Feb-10 0:57
ThatsAlok9-Feb-10 0:57 
AnswerRe: Sorting Pin
ThatsAlok9-Feb-10 0:41
ThatsAlok9-Feb-10 0:41 
AnswerRe: Sorting Pin
Luc Pattyn9-Feb-10 1:01
sitebuilderLuc Pattyn9-Feb-10 1:01 
AnswerRe: Sorting Pin
Dan Mos9-Feb-10 9:09
Dan Mos9-Feb-10 9:09 
Questionhow to retrive max value of a column by using c# Pin
inayat basha8-Feb-10 23:54
inayat basha8-Feb-10 23:54 
AnswerRe: how to retrive max value of a column by using c# Pin
ThatsAlok9-Feb-10 0:03
ThatsAlok9-Feb-10 0:03 
QuestionAuto Start programms Pin
Masterhame8-Feb-10 22:59
Masterhame8-Feb-10 22:59 
AnswerRe: Auto Start programms Pin
Gaurav Dudeja India8-Feb-10 23:05
Gaurav Dudeja India8-Feb-10 23:05 
AnswerRe: Auto Start programms Pin
Luc Pattyn8-Feb-10 23:58
sitebuilderLuc Pattyn8-Feb-10 23:58 
AnswerRe: Auto Start programms Pin
ThatsAlok9-Feb-10 0:07
ThatsAlok9-Feb-10 0:07 

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.