vijayasiva wrote:
> hi Juan,
> Thanks for your interest.
> My requirement is to set (or) write values to the 'summary attributes'
> property window under windows 2000/XP.
> I have directly called Version.dll from labVIEW "Call Library
> function" and set type as 'Adopt to Type' and pass the values
> particular function variable (string datatype). I have tried this, but
> when i am running, program quits from labview environment. Can you get
> back to me regarding this.Thanks in advance.
The documented functions in version.dll are to retrieve information, not
to change it. In fact I doubt there is a documented API to modify that
information.
Also if you pass string parameters to a DLL you have to make sure that
buffer is allocated in the callin
g application (e.g. here LabVIEW). You
do that by Initializing an array of unsigned 8bit integers of the
necessary size, passing it to the ByteArray to String node and then to
the Call Library Node.
Also WinAPI functions are almost always using stdcall calling
convention, so you need to configure the Call Library Node accordingly.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390