How to call DLL in C #

xiaoxiao2021-03-05  29

Recently, I am familiar with a function of decompressing cards! I want C # to call a developing package (jpplayrapi.dll) of the card, but I use / system32 / regv32 to register this DLL is displaying JPPLAYERAPI. DLL has been loaded, but it is impossible to find the entry point! registration failed! I also tried to directly reference this DLL directly in the development tool or not (the error shown) is: only if the DLL is a replicate file or the ActiveX component can be added!)

Finally, I tried to use [DLLIMPORT ("JPPLAYAPI.DLL")] public static extern int jpinitdsps (); call jpinitdsps (); but still display could not find the input point jpinitdsps ()! Depressed! Not to how to call this DLL (this DLL can work properly under Delphi!)

I hope everyone will give a solution! Emergenly waiting!

转载请注明原文地址:https://www.9cbs.com/read-33636.html

New Post(0)