Click here to Skip to main content
15,904,415 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to set the datetimpicker value back to current datetime on a buttion click Pin
Vimal Raj29-Jun-08 19:26
Vimal Raj29-Jun-08 19:26 
QuestionDatabase in not accessing on client machine Pin
ali zaidi29-Jun-08 19:08
ali zaidi29-Jun-08 19:08 
AnswerRe: Database in not accessing on client machine Pin
Christian Graus29-Jun-08 19:20
protectorChristian Graus29-Jun-08 19:20 
QuestionRe:cannot implicitly convert type 'object' to 'int' Pin
twistz29-Jun-08 17:25
twistz29-Jun-08 17:25 
AnswerRe:cannot implicitly convert type 'object' to 'int' Pin
Mark Churchill29-Jun-08 17:31
Mark Churchill29-Jun-08 17:31 
AnswerRe:cannot implicitly convert type 'object' to 'int' Pin
Christian Graus29-Jun-08 19:07
protectorChristian Graus29-Jun-08 19:07 
QuestionCapture stderr through P/Invoke Pin
K.L.K29-Jun-08 17:02
K.L.K29-Jun-08 17:02 
AnswerRe: Capture stderr through P/Invoke Pin
Luc Pattyn29-Jun-08 18:25
sitebuilderLuc Pattyn29-Jun-08 18:25 
Hi,

what I tend to do in such case is I pass a managed delegate that takes a string and logs it somehow;
the unmanaged side accepts it as a pointer to a function that takes one char* as a parameter.
Each time I want to log some native thing, I call the function pointer, and the managed world
logs it (together with, and in sync with, the managed logging).

Hence no capturing stdout/stderr, just passing a delegate.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


QuestionRe: Capture stderr through P/Invoke Pin
K.L.K3-Jul-08 9:27
K.L.K3-Jul-08 9:27 
AnswerRe: Capture stderr through P/Invoke Pin
Luc Pattyn3-Jul-08 9:40
sitebuilderLuc Pattyn3-Jul-08 9:40 
QuestionFull Article about OCR. Pin
hdv21229-Jun-08 12:25
hdv21229-Jun-08 12:25 
AnswerRe: Full Article about OCR. Pin
Christian Graus29-Jun-08 14:37
protectorChristian Graus29-Jun-08 14:37 
QuestionCorrect Way to Distribute External DLL Pin
Jammer29-Jun-08 11:09
Jammer29-Jun-08 11:09 
AnswerRe: Correct Way to Distribute External DLL Pin
Sajjad Izadi29-Jun-08 18:46
Sajjad Izadi29-Jun-08 18:46 
GeneralRe: Correct Way to Distribute External DLL Pin
Jammer30-Jun-08 1:52
Jammer30-Jun-08 1:52 
QuestionScroll rectangle into view? Pin
Emil Müller29-Jun-08 9:43
Emil Müller29-Jun-08 9:43 
QuestionDebugging New Installation Pin
Jammer29-Jun-08 8:34
Jammer29-Jun-08 8:34 
AnswerRe: Debugging New Installation Pin
N a v a n e e t h29-Jun-08 8:39
N a v a n e e t h29-Jun-08 8:39 
GeneralRe: Debugging New Installation Pin
Jammer29-Jun-08 8:44
Jammer29-Jun-08 8:44 
GeneralRe: Debugging New Installation Pin
N a v a n e e t h29-Jun-08 8:53
N a v a n e e t h29-Jun-08 8:53 
GeneralRe: Debugging New Installation Pin
Jammer29-Jun-08 8:56
Jammer29-Jun-08 8:56 
AnswerRe: Debugging New Installation Pin
Pete O'Hanlon29-Jun-08 8:53
mvePete O'Hanlon29-Jun-08 8:53 
GeneralRe: Debugging New Installation Pin
Jammer29-Jun-08 8:56
Jammer29-Jun-08 8:56 
GeneralRe: Debugging New Installation Pin
N a v a n e e t h29-Jun-08 8:56
N a v a n e e t h29-Jun-08 8:56 
GeneralRe: Debugging New Installation Pin
Pete O'Hanlon29-Jun-08 9:00
mvePete O'Hanlon29-Jun-08 9:00 

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.