Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# 1byte-1char strings Pin
Daniel Turini20-Oct-05 0:07
Daniel Turini20-Oct-05 0:07 
QuestionKeyboard Events Pin
ShimiG19-Oct-05 10:31
ShimiG19-Oct-05 10:31 
AnswerRe: Keyboard Events Pin
Dave Kreskowiak19-Oct-05 10:53
mveDave Kreskowiak19-Oct-05 10:53 
GeneralRe: Keyboard Events Pin
ShimiG19-Oct-05 11:08
ShimiG19-Oct-05 11:08 
GeneralRe: Keyboard Events Pin
Patric_J19-Oct-05 11:28
Patric_J19-Oct-05 11:28 
GeneralRe: Keyboard Events Pin
ShimiG19-Oct-05 11:39
ShimiG19-Oct-05 11:39 
GeneralRe: Keyboard Events Pin
Dave Kreskowiak19-Oct-05 14:01
mveDave Kreskowiak19-Oct-05 14:01 
QuestionPrototyping unmanaged DLL's Pin
Timothy Finn19-Oct-05 10:14
Timothy Finn19-Oct-05 10:14 
How does one prototype an exported function call that has a HANDLE* parameter argument? I have tried "ref IntPtr" with no success.

Example:

C Prototype:

__declspec (dllexport) DWORD CALLTYPE func(HANDLE* phandle);

C# Prototype:

[DllImport("func.dll")]
static extern uint canOpen(ref IntPtr ptrHandle);

I get a "Invalid Handle" error from the OS when this is called.


TPF
AnswerRe: Prototyping unmanaged DLL's Pin
Dan Neely19-Oct-05 10:29
Dan Neely19-Oct-05 10:29 
AnswerRe: Prototyping unmanaged DLL's Pin
leppie19-Oct-05 10:33
leppie19-Oct-05 10:33 
GeneralRe: Prototyping unmanaged DLL's Pin
Timothy Finn19-Oct-05 10:42
Timothy Finn19-Oct-05 10:42 
AnswerRe: Prototyping unmanaged DLL's Pin
leppie19-Oct-05 10:59
leppie19-Oct-05 10:59 
QuestionMoving to a Managed World Pin
Robert M Greene19-Oct-05 8:25
Robert M Greene19-Oct-05 8:25 
AnswerRe: Moving to a Managed World Pin
Judah Gabriel Himango19-Oct-05 10:22
sponsorJudah Gabriel Himango19-Oct-05 10:22 
AnswerRe: Moving to a Managed World Pin
Matt Gerrans19-Oct-05 19:55
Matt Gerrans19-Oct-05 19:55 
QuestionCreating an image from a picturebox Pin
budidharma19-Oct-05 8:05
budidharma19-Oct-05 8:05 
AnswerRe: Creating an image from a picturebox Pin
turbochimp19-Oct-05 18:23
turbochimp19-Oct-05 18:23 
Questioncall a method on a parent form Pin
Sled Dog19-Oct-05 8:04
Sled Dog19-Oct-05 8:04 
AnswerRe: call a method on a parent form Pin
Rick Beideman19-Oct-05 8:34
Rick Beideman19-Oct-05 8:34 
AnswerRe: call a method on a parent form Pin
MoustafaS19-Oct-05 11:36
MoustafaS19-Oct-05 11:36 
GeneralRe: call a method on a parent form Pin
Sled Dog20-Oct-05 1:10
Sled Dog20-Oct-05 1:10 
QuestionHow to add a NumericUpDown control to MenuItem Pin
eradj19-Oct-05 7:43
eradj19-Oct-05 7:43 
QuestionUnable to set picturebox visible property to true, but it displays the image anyway. Pin
Dan Neely19-Oct-05 7:35
Dan Neely19-Oct-05 7:35 
QuestionHow to free the display of the form/control? SuspendLayout() can not work. Pin
zhyluopro19-Oct-05 7:24
zhyluopro19-Oct-05 7:24 
QuestionMouse X,Y coordinates in window ... Pin
budidharma19-Oct-05 7:20
budidharma19-Oct-05 7:20 

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.