ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WinAPI hell - please help me...

Colleagues,
I would like to call CreateThread function from WinAPI. This function defined in winbase.h, so I have included this file into my project.  Now I've got immeaditely lot of errors and warnings from winbase.h.
First one:     ULONG_PTR Internal; - invalid struct field declaration... and so on.
My question is - which files should be included into project for using WinAPI? I am missing something?
 
Thank you in advance,
Andrey.
 
0 Kudos
Message 1 of 3
(2,912 Views)

Ups.
First - the message was posted to wrong forum, really sorry about this.
Second - I have found trouble. windows.h should be included instead of winbase.h.
Andrey.

0 Kudos
Message 2 of 3
(2,904 Views)
Ummm... I'm thinking you probably want the LabWindows forum?
0 Kudos
Message 3 of 3
(2,904 Views)