Re: Question about Btrieve programming



"Enzo" <mmm@xxxxxx> wrote in message
news:4415ae47$0$29111$5fc30a8@xxxxxxxxxxxxxxxxxx
Have changed to Int64 both the declaration and the variable and still have
the same error.
(Begging your pardon for my incopetence I'm relatively new in programming
vb.net, by now I have written in VBA)
thanks again for your help
DECLARE FUNCTION BTRCALL LIB "Wbtrv32.dll" (Byval oc as ushort, byval pb
as string, <Marshalasattribute(unmanagedtype.asany)> byval Db as object,
byval Dl as integer, byval Kb as string,
<Marshalasattribute(unmanagedtype.I8)> byval Kl as Int64, byVal Kn as
char) as integer


P.S. I'm trying to follow istructions written in a btrieve manual
Pervasive have posted on their site.

Without checking, I believe the key buffer length parameter should be a
short integer, but possibly a long integer. Definitely not a 64-bit
integer, though.


.



Relevant Pages

  • Re: Question about Btrieve programming
    ... Declare Function btrcall Lib "wbtrv32.dll" (ByVal Op% AS Integer, ... programming vb.net, by now I have written in VBA) ... Db as object, byval Dl as integer, byval Kb as string, ...
    (comp.databases.btrieve)
  • Re: Please help:need to read XML, edit, and write back to XML file
    ... I copied Astrid's code into a VBA module and ran it, ... give me any of the tags. ... string, as the scripting code gave me. ... reading, writing or appending. ...
    (microsoft.public.word.vba.general)
  • Re: Trying to create dynamic VBA code (or wasting my time?)
    ... VBA isn't designed to handle self-modifying code. ... Operator As String) As Variant ... how to manipulate recordsets, having done so before. ... Dim stringBuff As String ...
    (microsoft.public.access.modulesdaovba)
  • Re: ChangeFileOpenDirectory
    ... method you used to build up the newpath path. ... VBA should inherently wait when calling one it's own subroutines. ... ByVal PathName As String, _ ... Dim ProcHnd As Long ...
    (microsoft.public.word.vba.general)
  • Re: ChangeFileOpenDirectory
    ... VBA should inherently wait when calling one it's own subroutines. ... Private Declare Function GetExitCodeProcess Lib "kernel32" (_ ... ByVal PathName As String, _ ... Dim ProcHnd As Long ...
    (microsoft.public.word.vba.general)