Click here to Skip to main content
16,008,010 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert Object To Byte Array Pin
Nick Parker5-Sep-02 10:07
protectorNick Parker5-Sep-02 10:07 
GeneralRegex replacement-Fixed Pin
Zombies with Coffee, LLC5-Sep-02 6:32
professionalZombies with Coffee, LLC5-Sep-02 6:32 
GeneralConvert Byte Array To String Pin
Nick Parker5-Sep-02 5:47
protectorNick Parker5-Sep-02 5:47 
GeneralRe: Convert Byte Array To String Pin
Nnamdi Onyeyiri5-Sep-02 5:49
Nnamdi Onyeyiri5-Sep-02 5:49 
GeneralRe: Convert Byte Array To String Pin
Paul Ingles5-Sep-02 6:02
Paul Ingles5-Sep-02 6:02 
GeneralRe: Convert Byte Array To String Pin
jparsons5-Sep-02 12:22
jparsons5-Sep-02 12:22 
GeneralCallbacks Pin
Nnamdi Onyeyiri5-Sep-02 3:55
Nnamdi Onyeyiri5-Sep-02 3:55 
GeneralRe: Callbacks Pin
Stephane Rodriguez.5-Sep-02 4:16
Stephane Rodriguez.5-Sep-02 4:16 
I guess the signatures are wrong, produce an exception in CLR, but are trapped in /dev/null so you don't see a sh*t.

In other words, your SomeFunc doesn't even have a return value. Was the code snippet a real code ?

This should be :
[DllImport("SomeLib.dll"), CharSet=CharSet.Auto)]
public static extern <something> SomeFunc(MyCallback callback);


public delegate int MyCallback(int bla, string foo);




And I swallow a small raisin.

GeneralRe: Callbacks Pin
Nnamdi Onyeyiri5-Sep-02 4:24
Nnamdi Onyeyiri5-Sep-02 4:24 
GeneralRe: Callbacks Pin
Stephane Rodriguez.5-Sep-02 4:47
Stephane Rodriguez.5-Sep-02 4:47 
GeneralRe: Callbacks Pin
Nnamdi Onyeyiri5-Sep-02 5:48
Nnamdi Onyeyiri5-Sep-02 5:48 
GeneralRe: Callbacks Pin
James T. Johnson5-Sep-02 11:33
James T. Johnson5-Sep-02 11:33 
GeneralRe: Callbacks Pin
leppie6-Sep-02 1:16
leppie6-Sep-02 1:16 
Generalaligning hexadecimal output Pin
Rüpel5-Sep-02 3:06
Rüpel5-Sep-02 3:06 
GeneralRe: aligning hexadecimal output Pin
leppie5-Sep-02 3:18
leppie5-Sep-02 3:18 
GeneralRe: aligning hexadecimal output Pin
Rüpel5-Sep-02 3:26
Rüpel5-Sep-02 3:26 
GeneralRe: aligning hexadecimal output Pin
Rüpel5-Sep-02 3:25
Rüpel5-Sep-02 3:25 
GeneralRe: aligning hexadecimal output Pin
Stephane Rodriguez.5-Sep-02 7:04
Stephane Rodriguez.5-Sep-02 7:04 
GeneralApplication.Exit isn't working Pin
jparsons5-Sep-02 3:04
jparsons5-Sep-02 3:04 
GeneralRe: Application.Exit isn't working Pin
Russell Morris5-Sep-02 9:46
Russell Morris5-Sep-02 9:46 
GeneralRe: Application.Exit isn't working Pin
jparsons5-Sep-02 12:17
jparsons5-Sep-02 12:17 
GeneralVC 6 code won't compile in .Net Pin
Ryan Cromwell5-Sep-02 2:56
Ryan Cromwell5-Sep-02 2:56 
GeneralRe: VC 6 code won't compile in .Net Pin
Stephane Rodriguez.5-Sep-02 3:08
Stephane Rodriguez.5-Sep-02 3:08 
Generalcalling base-constructor Pin
Rüpel5-Sep-02 2:53
Rüpel5-Sep-02 2:53 
GeneralRe: calling base-constructor Pin
jparsons5-Sep-02 3:06
jparsons5-Sep-02 3:06 

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.