Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an USB device with a "C" dll interface which can make communication between PC & USB device. Also I have API document for this C library.
I am not familiar with C language, so I decide to use C# to import this C dll, but I got an error "No SPLib DLL was found in the Waterfall procedure".

You can find the C dll and document from this git repository.
GitHub - ctzuchiang/TriaxialVibrationAnalyser: TriaxialVibrationAnalyser[^]

What I have tried:

public static class FTPA_Service
    {
        internal const CallingConvention CC = 0;
        internal const string LIBUSB_DLL = @"ExternalLib\fasttracerpa.dll";

        [DllImport(LIBUSB_DLL, CallingConvention = CC, SetLastError = false, EntryPoint = "FTPA_enumerateAllDeviceInfo")]
        internal static extern IntPtr FTPA_enumerateAllDeviceInfo(IntPtr devCount);

        [DllImport(LIBUSB_DLL, CallingConvention = CC, SetLastError = false, EntryPoint = "FTPA_getAllDeviceInfo")]
        internal static extern FASTTRACERPA_RETURN_CODE FTPA_getAllDeviceInfo(IntPtr rDI, IntPtr prSize);

        public static IntPtr EnumAllDeviceInfo()
        {
            return FTPA_enumerateAllDeviceInfo(new IntPtr(0));
        }
    }
Posted
Updated 31-Oct-18 20:21pm
v3

1 solution

Google is your friend. It appears to be related to uninstalling GoPro software (or something similar).

No SPLib DLL was found in the Waterfall procedure - Google Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900