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

C#

 
GeneralRe: Running an sql query in c# Pin
Paul Conrad21-Apr-06 7:54
professionalPaul Conrad21-Apr-06 7:54 
AnswerRe: Running an sql query in c# Pin
Paul Brower21-Apr-06 5:56
Paul Brower21-Apr-06 5:56 
GeneralRe: Running an sql query in c# Pin
Paul Conrad21-Apr-06 7:55
professionalPaul Conrad21-Apr-06 7:55 
QuestionHelp Me in DirectX !! Pin
hdv21221-Apr-06 4:39
hdv21221-Apr-06 4:39 
AnswerRe: Help Me in DirectX !! Pin
Judah Gabriel Himango21-Apr-06 5:13
sponsorJudah Gabriel Himango21-Apr-06 5:13 
Questiondatabase script status Pin
ddpn4221-Apr-06 3:42
ddpn4221-Apr-06 3:42 
AnswerRe: database script status Pin
Dave Kreskowiak21-Apr-06 7:28
mveDave Kreskowiak21-Apr-06 7:28 
QuestionProblem getting HWND for PictureBox Pin
Tim Smartcom21-Apr-06 3:30
Tim Smartcom21-Apr-06 3:30 
Hi there,
I have a VS2003 C# application which uses an unmanaged C++ library to create a bitmap that it writes into a PictureBox. To do this, I need to pass the C++ library the HWND to the PictureBox.

During initialisation, before the screen is drawn, I call pictureBoxVTKHolder.Handle
to get the handle as a System::IntPtr, and this always seems to generate a valid return value.

This is then passed through to a C++ wrapper for the unmanaged code. Within the wrapper, I try and cast it to an HWND with
phwnd = (HWND)hwnd.ToPointer()

Sometimes this works OK, but sometimes the cast evaluates to:
phwnd {HWND__} { unused=<undefined value=""> } HWND__*

Any suggestions gratefully accepted

Tim Thornton
Smartcom Software
QuestionHandle "send to" sent files from windows Pin
gubber21-Apr-06 2:41
gubber21-Apr-06 2:41 
AnswerRe: Handle "send to" sent files from windows Pin
Robert Rohde21-Apr-06 3:09
Robert Rohde21-Apr-06 3:09 
GeneralRe: Handle "send to" sent files from windows Pin
gubber21-Apr-06 3:48
gubber21-Apr-06 3:48 
GeneralRe: Handle "send to" sent files from windows Pin
Robert Rohde21-Apr-06 4:10
Robert Rohde21-Apr-06 4:10 
GeneralRe: Handle "send to" sent files from windows Pin
gubber21-Apr-06 4:45
gubber21-Apr-06 4:45 
Question.NET Pin
_Tom_21-Apr-06 2:27
_Tom_21-Apr-06 2:27 
AnswerRe: .NET Pin
User 665821-Apr-06 2:36
User 665821-Apr-06 2:36 
GeneralRe: .NET Pin
_Tom_22-Apr-06 9:31
_Tom_22-Apr-06 9:31 
Questionhow to configure .net project Pin
ranandbe21-Apr-06 2:18
ranandbe21-Apr-06 2:18 
AnswerRe: how to configure .net project Pin
Dave Kreskowiak21-Apr-06 7:24
mveDave Kreskowiak21-Apr-06 7:24 
Questionhashtable question Pin
spin vector21-Apr-06 1:57
spin vector21-Apr-06 1:57 
AnswerRe: hashtable question Pin
Guffa21-Apr-06 2:15
Guffa21-Apr-06 2:15 
GeneralRe: hashtable question Pin
spin vector21-Apr-06 2:30
spin vector21-Apr-06 2:30 
GeneralRe: hashtable question Pin
Paul Brower21-Apr-06 3:34
Paul Brower21-Apr-06 3:34 
AnswerRe: hashtable question Pin
wout de zeeuw21-Apr-06 2:28
wout de zeeuw21-Apr-06 2:28 
GeneralRe: hashtable question Pin
spin vector21-Apr-06 2:32
spin vector21-Apr-06 2:32 
GeneralRe: hashtable question Pin
Robert Rohde21-Apr-06 2:49
Robert Rohde21-Apr-06 2:49 

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.