Coding Error

zack

Well-known member
Joined
Jun 9, 2005
Messages
65
Programming Experience
Beginner
Hi all, I've got some errors I need your guys help.
s4.gif


The error of: Value of type 'Integer' cannot be converted to 'System.UInt32'. occurs within this function. (In red)

Private
Shared Function AllocHGlobal(ByVal cb As IntPtr) As IntPtr
Dim hmem_Renamed As IntPtr
hmem_Renamed = LocalAlloc(&H40, System.Convert.ToUInt32(cb))
Return hmem_Renamed
End Function

Another error is: Project-level conditional compilation constant 'DEBUG,TRACE : CONFIG="Debug|Pocket PC" : DEBUG=1 : TRACE=1 ' is not valid: '=' expected.

Can anyone help????
 
Back
Top