otherside Posted October 18, 2003 Posted October 18, 2003 hey guys, anyone knows how to translate this : Private Declare Function AwusbOpen Lib "awusbvb.dll" (ByVal devnum As Long) As Long to VB.NET the correct way, this line is working in VB.NET but i think there is another way to do this. any ideas? Quote
*Experts* Volte Posted October 18, 2003 *Experts* Posted October 18, 2003 Change both Long to Int32 and it will be fine. Quote
otherside Posted October 18, 2003 Author Posted October 18, 2003 thanks VoltFace, yeap ok about the long, but what i ment is that if there is another way to do it not like declare function ... thanks Quote
*Experts* Volte Posted October 18, 2003 *Experts* Posted October 18, 2003 You can use the DLLImport attribute, but there's no need unless you're using C#. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.