LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

error when compiling my API Programm thant i want to generate DLL for use in Labview!

Pls see the attachment!!I use API "GetComputerName" to programm in vc6.0 to make a dll file for use in Labview .But i get a error ! pls give me a hand!!
Download All
0 Kudos
Message 1 of 3
(2,605 Views)
Plase take a look at it here...

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000046AA0000&UCATEGORY_0=_48_%24_7_&UCATEGORY_S=0
0 Kudos
Message 2 of 3
(2,605 Views)
Hello

change

int compNameLength = MAX_COMPUTERNAME_LENGTH+1;

to

DWORD compNameLength = MAX_COMPUTERNAME_LENGTH+1;

Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(2,605 Views)