Click here to Skip to main content
16,012,508 members
Home / Discussions / C#
   

C#

 
QuestionHow to use Sql Transactions in Client/Server Database ? Pin
hdv2127-Dec-06 11:43
hdv2127-Dec-06 11:43 
AnswerRe: How to use Sql Transactions in Client/Server Database ? Pin
Guffa7-Dec-06 14:58
Guffa7-Dec-06 14:58 
QuestionHelp with a datagrid Pin
~~~Johnny~~~7-Dec-06 11:33
~~~Johnny~~~7-Dec-06 11:33 
QuestionAdding text to RichTextBox in form from another class Pin
NZSmartie7-Dec-06 11:13
NZSmartie7-Dec-06 11:13 
AnswerRe: Adding text to RichTextBox in form from another class Pin
Judah Gabriel Himango7-Dec-06 11:59
sponsorJudah Gabriel Himango7-Dec-06 11:59 
GeneralRe: Adding text to RichTextBox in form from another class Pin
NZSmartie7-Dec-06 12:00
NZSmartie7-Dec-06 12:00 
QuestionGCHandle... Pin
Shy Agam7-Dec-06 8:22
Shy Agam7-Dec-06 8:22 
AnswerRe: GCHandle... Pin
Judah Gabriel Himango7-Dec-06 9:34
sponsorJudah Gabriel Himango7-Dec-06 9:34 
In this case, the delegate to your MyCallback needs to stay alive for as long as you want the hook to work. So, if your windows hook lasts for as long as your application is running, never call Free() on the object.

Why the MSDN example calls free right away, I've no idea. Are they using GCHandle for keeping an object alive just for a single call (i.e. no callbacks)?


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Taking the Congressional Oath on the Bible
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


GeneralRe: GCHandle... Pin
Shy Agam7-Dec-06 9:41
Shy Agam7-Dec-06 9:41 
GeneralRe: GCHandle... Pin
Judah Gabriel Himango7-Dec-06 11:58
sponsorJudah Gabriel Himango7-Dec-06 11:58 
QuestionResearching new project: Ability to speak answer phone calls via a PC? Pin
Goalie357-Dec-06 7:54
Goalie357-Dec-06 7:54 
QuestionHiding your computer's mouse Pin
Marc Clifton7-Dec-06 7:24
mvaMarc Clifton7-Dec-06 7:24 
AnswerRe: Hiding your computer's mouse Pin
Stefan Troschuetz7-Dec-06 7:38
Stefan Troschuetz7-Dec-06 7:38 
GeneralRe: Hiding your computer's mouse Pin
Marc Clifton7-Dec-06 8:24
mvaMarc Clifton7-Dec-06 8:24 
AnswerRe: Hiding your computer's mouse Pin
Ravi Bhavnani7-Dec-06 9:05
professionalRavi Bhavnani7-Dec-06 9:05 
GeneralRe: Hiding your computer's mouse Pin
Marc Clifton7-Dec-06 9:38
mvaMarc Clifton7-Dec-06 9:38 
AnswerSuccess! [modified] Pin
Ravi Bhavnani7-Dec-06 9:54
professionalRavi Bhavnani7-Dec-06 9:54 
GeneralRe: Success! Pin
Marc Clifton7-Dec-06 10:04
mvaMarc Clifton7-Dec-06 10:04 
GeneralRe: Success! Pin
Ravi Bhavnani7-Dec-06 10:10
professionalRavi Bhavnani7-Dec-06 10:10 
GeneralRe: Success! Pin
Marc Clifton7-Dec-06 11:48
mvaMarc Clifton7-Dec-06 11:48 
GeneralRe: Success! Pin
Ravi Bhavnani7-Dec-06 12:13
professionalRavi Bhavnani7-Dec-06 12:13 
AnswerRe: Hiding your computer's mouse Pin
Judah Gabriel Himango7-Dec-06 9:36
sponsorJudah Gabriel Himango7-Dec-06 9:36 
GeneralRe: Hiding your computer's mouse Pin
Marc Clifton7-Dec-06 9:41
mvaMarc Clifton7-Dec-06 9:41 
GeneralRe: Hiding your computer's mouse Pin
Judah Gabriel Himango7-Dec-06 9:47
sponsorJudah Gabriel Himango7-Dec-06 9:47 
GeneralRe: Hiding your computer's mouse Pin
Marc Clifton7-Dec-06 9:54
mvaMarc Clifton7-Dec-06 9:54 

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.