CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Apr 2003
    Location
    China
    Posts
    11

    Red face ODBC sqlallocenv problem

    Code samplewith vb.net )
    ------------------------
    Public Declare Function SQLAllocEnv Lib "odbc32.dll" (ByVal phenv&) As Integer
    ------------------------

    dim rc as integer
    dim lenv as long
    rc=sqlallocenv(lenv&)
    ----------------------------------------------------
    ----------Now rc=528351231 and lenv can not be set
    -----------------------------------------------------
    I find that this function can not work!
    Please give me some advice!
    Last edited by Gpooh; April 14th, 2003 at 03:04 AM.

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