471,315 Members | 2,241 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,315 software developers and data experts.

Q: Translation of VB Code, total brain melt down...

Hi!

I have this line of code in VB that i am trying to get to C# But my mind is
completley blank...

New HookProc(AddressOf TheHookProc)

How is that translated into Visual C#?

Any ideas

Regards
Martin
Nov 28 '05 #1
1 1072

"Visual Systems AB (Martin Arvidsson)" <ma**************@vsab.net> wrote in
message news:ur**************@TK2MSFTNGP10.phx.gbl...
Hi!

I have this line of code in VB that i am trying to get to C# But my mind
is completley blank...

New HookProc(AddressOf TheHookProc)

How is that translated into Visual C#?


In C# a method name without parentheses is used. This is a throwback to the
C function pointer syntax.

New HookProc(TheHookProc)

David
Nov 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Mark A | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.