I compiled a matlab file into DLL, according to the help from mathwork.com, I also call it from VB, but I want it to work with my VC program. So does anyone have the experience in calling DLL generated by matlab compiler from VC?
Or, we may put this question in another way:
how can I use VC and realize the code originally in VB?
Dim y As Double
Private Declare Function foowrap Lib "H:\Cases\vbdll\test\Debug\test.dll" (ByVal x As Double) As Double
Private Sub Command1_Click()
y = foowrap(1.1)
MsgBox y
End Sub

Many thanks in advance.