how to use vb6 dll?



i have a simple question, how can i use my dll with functions created from vb6 to my vfp6 application?

this is my vb function:

Public Function GetCPUID() As String
Dim oWMI, oCpu
Set oWMI = GetObject("winmgmts:")
For Each oCpu In oWMI.InstancesOf("Win32_Processor")
GetCPUID = oCpu.ProcessorID
Next
End Function

.


Loading