Define Class myFormatter As Session OlePublic DataSession=2 Procedure FormatPrice(tcInStr As String) as String Return 'VFP formatted '+m.tcInStr Endproc Enddefine * PROCEDURE FormatPrice(tcInStr) * code for this procedure EndProc3. I built this prg into a DLL called myVFPprocs.DLL
RELEASE ALL LIKE o* oVFP = CreateObject("myVFPprocs.DLL") myValue = -40512.39485769 myNumber = oVFP.FormatPrice(myValue) WAIT WINDOW TRANSFORM(myNumber) oVFP.quit RELEASE ALL LIKE o*5. However, I get an error "Class definition myVFPproc.dll not found" Am I making some kind