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!
![]()


with vb.net )
Reply With Quote