Will any one brief me about the use of pointers in VB?
Thanks in advance
Greenu
Printable View
Will any one brief me about the use of pointers in VB?
Thanks in advance
Greenu
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
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")