Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

create CVI DLL for HP Basic

I was asked to create a DLL from my CVI project to use in HP/HT Basic.  How do I go about in creating one and using it in HP/HT Basic?  Is there any particular settings in CVI I need to configure to be compatible with HP/HT Basic? 

Gary Z.

0 Kudos
Message 1 of 2
(6,449 Views)
Hello Gary Z.

After doing a little research it looks like HT-Basics requires that you use the _cdecl calling convention when creating DLLs.  So in CVI, navigate to Options >> Build Options and select cdecl as your default calling convention.  Some other things you need to consider is how you declare your data type in your C DLL, and how you call them in HT-Basic.  Some websites I found helpful were: Using a DLL in HTBasic and DLL Rules.

Hope that helps.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 2
(6,441 Views)