Announcement

Collapse

New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

Syntax Question ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Syntax Question ?

    Hi folks,

    from Kent Ruddick'spost "Help with DLL and COM" I got the following example. PBWIN80 does not accept the syntax with periods. How does it look alike in PBWIN80?

    pv = VARPTR(vVar) ' // Address of the variant
    parray = @pv.vd.parray ' // Address of the array


    Thanks for any help provided

    Thomas
    Consistency is the last refuge of the unimaginative.
    Oscar Wilde

  • #2
    You don't show how you have declared pv. Declare it as DIM pv AS VARIANTAPI PTR and it should work.
    Forum: http://www.jose.it-berater.org/smfforum/index.php

    Comment


    • #3
      Welll, but where should VARIANTAPI be defined and how? Is it part of wmi.inc?
      Consistency is the last refuge of the unimaginative.
      Oscar Wilde

      Comment


      • #4
        No. It is part ow WIN32API.INC.
        Add #INCLUDE "Win32API.INC" to your program.
        Forum: http://www.jose.it-berater.org/smfforum/index.php

        Comment


        • #5
          .... seems I am not a gifted programmer. Many Thanks, that works perfect now
          Consistency is the last refuge of the unimaginative.
          Oscar Wilde

          Comment

          Working...
          X