dbTalk Databases Forums  

API declaration in VB6 and VB.NET

comp.databases.btrieve comp.databases.btrieve


Discuss API declaration in VB6 and VB.NET in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tomek
 
Posts: n/a

Default API declaration in VB6 and VB.NET - 03-01-2004 , 04:48 AM






in VB6 I use declaration for BTRCALL function (where is used "Any" -type),
but in vBasic.NET there is no longer support for "Any" - type, so I nead to
make different declaration.

Please help. How to make proper declaration which will work in both VB6 and
VBasic.NET


Declare Function BTRCALL Lib "wbtrv32.dll"
(ByVal OpCode As Integer, _
PositionBlock As Any, _
DataBuffer As Any, _
DataLength As Long, _
KeyBuffer As Any, _
ByVal KeyLength As Integer, _
ByVal KeyNumber As Integer) As Integer

thanks for help
T.



Reply With Quote
  #2  
Old   
Bill Bach
 
Posts: n/a

Default Re: API declaration in VB6 and VB.NET - 03-01-2004 , 05:43 PM






Start here:
http://www.pervasive.com/developerzo...tforms/net.asp


Tomek wrote:

Quote:
in VB6 I use declaration for BTRCALL function (where is used "Any" -type),
but in vBasic.NET there is no longer support for "Any" - type, so I nead to
make different declaration.

Please help. How to make proper declaration which will work in both VB6 and
VBasic.NET

Declare Function BTRCALL Lib "wbtrv32.dll"
(ByVal OpCode As Integer, _
PositionBlock As Any, _
DataBuffer As Any, _
DataLength As Long, _
KeyBuffer As Any, _
ByVal KeyLength As Integer, _
ByVal KeyNumber As Integer) As Integer


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.