Click here to Skip to main content
15,896,912 members

Comments by Craig Haywood (Top 17 by date)

Craig Haywood 13-Oct-14 6:30am View    
Thanks BillWoodruff.

I always used
If IntPtr.Size = 8 Then
Craig Haywood 13-Oct-14 5:10am View    
I never knew you could dllimport a function with the same name twice if it has different signitures. Thanks Pikoh, I am going to accept your solution as it seems to be working in initial tests
Craig Haywood 13-Oct-14 4:53am View    
Indeed I did, but how do you declare the same function twice in the same application?
Craig Haywood 13-Oct-14 4:30am View    
Where have you found that different signatures works on different bit systems? Can you give an example
Craig Haywood 13-Oct-14 4:28am View    
Hi Mehdi,

This does not provide a solution. The first link takes me to an incomprehensible solution as I don't even know what language that is. The second link is just the msdn explanation of what the function does and the third uses the exact same declare statement I am using