Home
Community
Discussion Forums
Most Active Software Boards
LabVIEW
Topic
LabVIEW
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
Interfacing to C code - Handle?
Interfacing to C code - Handle?
OrlEngr
Member
02-06-2006
12:24 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I need to create a LabView Interface to the following 'C' Call ....
Have you guys ever worked with passing Windows Handlers?
extern "C" bool WINAPI ConnectDevice(HANDLE hnd, USHORT VendorID, USHORT ProductID);
I'm using Labview 6.1
0
Kudos
Message
1
of 2
(2,551 Views)
Reply
Re: Interfacing to C code - Handle?
tst
Knight of NI
02-06-2006
12:32 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
A handle is a U32. Windows API functions require the stdcall calling convention, but I'm assuming it will work in your C case as well. Look
here
for more details (and note the links at the top of the page).
___________________
Try to take over the world!
0
Kudos
Message
2
of 2
(2,546 Views)
Reply
All Forum Topics
Previous Topic
Next Topic