Hello, anyone know how to specify a structure in a routine definition? Example console session:
>> make routine! [lpNetResource [struct!]] mpr "WNetUseConnectionA" ** Script Error: Invalid argument: struct! ** Near: make routine! [lpNetResource [struct!]] mpr "WNetUseConnectionA" I have defined a structure that I want to pass in: NETRESOURCE: make struct! [ dwScope [integer!] ; Long dwType [integer!] ; Long dwDisplayType [integer!] ; Long dwUsage [integer!] ; Long lpLocalName [string!] lpRemoteName [string!] lpComment [string!] lpProvider [string!] ] none ; (no initial values) Can anyone give any clues? This is for mapping a network drive in windows. Anton. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.