Click here to Skip to main content
15,887,327 members
Home / Discussions / C#
   

C#

 
GeneralRe: New to C# - API Usage Pin
J. Dunlap17-Jun-03 15:31
J. Dunlap17-Jun-03 15:31 
GeneralRe: New to C# - API Usage Pin
firat kocak17-Jun-03 20:12
firat kocak17-Jun-03 20:12 
GeneralRe: New to C# - API Usage Pin
User 665818-Jun-03 0:21
User 665818-Jun-03 0:21 
GeneralRe: New to C# - API Usage Pin
firat kocak18-Jun-03 1:07
firat kocak18-Jun-03 1:07 
GeneralRe: New to C# - API Usage Pin
User 665818-Jun-03 2:09
User 665818-Jun-03 2:09 
GeneralRe: New to C# - API Usage Pin
firat kocak18-Jun-03 2:50
firat kocak18-Jun-03 2:50 
GeneralRe: New to C# - API Usage Pin
User 665818-Jun-03 3:21
User 665818-Jun-03 3:21 
GeneralRe: New to C# - API Usage Pin
firat kocak18-Jun-03 3:52
firat kocak18-Jun-03 3:52 
no, that is not what i point to,
Yes, there is one declaration in Win32 Api. But i mean C#. for example, suppose that there is win32 Api which has a pointer parameter accepting some data. And then you have a string variable and a struct variable and a byte value having the data of that function accepts. Can you write a single function in C# without doing any extra converting codes to execute that function ? You have 2 ways to do

1- ) You will write a single function. And will type that pointer paremeter as a known type , say it is IntPTr. And then - to pass a string, a struct and a byte value - you will have to make some converting codes to obtain those variables in a IntPtr.

2 - ) Or simply you will write 3 functions with those types instead of IntPtr.

As you know, C# supports overloading




Doing something is better than doing nothing. So ... Move !
GeneralRe: New to C# - API Usage Pin
User 665818-Jun-03 5:23
User 665818-Jun-03 5:23 
GeneralRe: New to C# - API Usage Pin
firat kocak18-Jun-03 20:26
firat kocak18-Jun-03 20:26 
GeneralRe: New to C# - API Usage Pin
J. Dunlap18-Jun-03 8:17
J. Dunlap18-Jun-03 8:17 
GeneralRe: New to C# - API Usage Pin
firat kocak18-Jun-03 20:09
firat kocak18-Jun-03 20:09 
GeneralRe: New to C# - API Usage Pin
J. Dunlap18-Jun-03 22:09
J. Dunlap18-Jun-03 22:09 
GeneralRe: New to C# - API Usage Pin
firat kocak18-Jun-03 22:31
firat kocak18-Jun-03 22:31 
GeneralRe: New to C# - API Usage Pin
firat kocak30-Jun-03 10:29
firat kocak30-Jun-03 10:29 
GeneralRe: New to C# - API Usage Pin
J. Dunlap30-Jun-03 11:14
J. Dunlap30-Jun-03 11:14 
GeneralRe: New to C# - API Usage Pin
J. Dunlap30-Jun-03 11:16
J. Dunlap30-Jun-03 11:16 
GeneralRe: New to C# - API Usage Pin
firat kocak30-Jun-03 11:36
firat kocak30-Jun-03 11:36 
GeneralRe: New to C# - API Usage Pin
J. Dunlap18-Jun-03 8:12
J. Dunlap18-Jun-03 8:12 
GeneralCHANGING SYSTEM VOLUME Pin
ripsi17-Jun-03 14:03
ripsi17-Jun-03 14:03 
GeneralInsert, Update, Delete in C# to MS Access DB Pin
Khang Nguyen17-Jun-03 11:33
Khang Nguyen17-Jun-03 11:33 
GeneralRe: Insert, Update, Delete in C# to MS Access DB Pin
Dimitris Iliopoulos17-Jun-03 13:23
Dimitris Iliopoulos17-Jun-03 13:23 
GeneralRe: Insert, Update, Delete in C# to MS Access DB Pin
Khang Nguyen17-Jun-03 13:27
Khang Nguyen17-Jun-03 13:27 
Generalhi everybody Pin
jphuphilly17-Jun-03 11:27
jphuphilly17-Jun-03 11:27 
GeneralRe: hi everybody Pin
Dimitris Iliopoulos17-Jun-03 13:29
Dimitris Iliopoulos17-Jun-03 13:29 

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.