An interesting view on it here:
http://www.codeproject.com/dotnet/PInvoke.aspand this one:
http://addressof.com/blog/archive/2003/08/05/202.aspx>>>Check the page you bookmarked recently:) You need DllImport attribute for any win32API you declare.
>>>Cetin
>>
>>Umm, from my experience that is not true. And just for good measure I checked PInvoke.net and no where does it say you have to use DLLImport. DLLImport is an "option" instead of Declare. It supposedly allows for more flexibility when declaring API calls, at least that's how I understand it.
>
>Might be. I don't know VB.
>Cetin
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"