CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Posts
    36

    Is pointer Supported?

    Will any one brief me about the use of pointers in VB?

    Thanks in advance
    Greenu


  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: Is pointer Supported?

    unfortunately, VB doesn't support pointer at all. if need, some operation might be achieved by RtlMoveMemory


    HTH

    cksiow
    http://vblib.virtualave.net - share our codes

  3. #3
    Join Date
    Jan 2000
    Location
    Pennsylvania, United States
    Posts
    106

    Re: Is pointer Supported?

    The previously reply might have answered your question.

    But be aware that you can use the SET statement for object references. What is the difference between...

    Dim rsProject AS ADODB.Recordset
    and
    Dim rsProject AS New ADODB.Recordset

    The second declaration is instantiating a new object of type ADODB.Recordset, where as the first declaration is only creating a object reference for the ADODB.Recordset.

    One thing I like to do is create a function that calls stored procedures as type ADODB.Recordset then use the SET statement to set the recordset object reference to the function call.

    SET rsProjects = modGetData.Projects("ALL")





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured