Pervasive has 2 Btrieve API samples written in VB.NET which are posted in their Component Zone named RecStrust.zip and IntPtr.zip:
"RecStruct.zip maps the Btrieve data record into a VB.NET structure which is passed straight into BTRCALL.
IntPtr.zip allocates an unmanaged memory block and...
In VB6, sUid = String$(32, 0) returns as a string of 32 binary zeros.
In VB.Net, sUid = New String(Chr(0), 32) returns "", which equates to Nothing.
How do I get it to work like VB6?
Any help would be appreciated
--Hal
Is anyone experienced using Btrieve API with VB.Net?
Does marshaling work for Btrieve API as for Windows API?
Has anyone had experience/success using the Btrieve ActiveX controls in place of trying to call the Btrieve API directly in VB.Net?
Any info would be greatly appreciated
Has anyone had any experience using the Btrieve API with VB.Net?
Does marshaling work for Btrieve API as for Windows API?
Has anyone had experience/success using the Btrieve ActiveX controls in place of trying to call the Btrieve API directly in VB.Net?
Any info would be greatly appreciated
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.