In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
An unhandled exception of type 1 System.DllNotFoundException occurs in test.exe additional information: unable to load DLL "DLL/AR_ALGORITHM.dll": the specified module could not be found. (the exception comes from HRESULT:0x8007007E).
The reason for this problem is that the program cannot find AR_ALGORITHM.dll. Usually, the program looks in the bin directory, the system32 directory, and the current directory where the program is running.
2 unhandled exceptions of type "System.EntryPointNotFoundException" occur in test.exe
Additional information: the entry point named "WGStoGCJ" cannot be found in DLL ".. / DLL/AR_ALGORITHM.dll".
WINAPI is specified in the function declaration of C++, but Cdecl is specified in the C# redefinition of the corresponding call. In fact, Winapi should be specified, or simply nothing.
[DllImport (".. / DLL/AR_ALGORITHM.dll", EntryPoint = "WGStoGCJ", CallingConvention = CallingConvention.Cdecl)]
Simple and correct
[DllImport (".. / DLL/AR_ALGORITHM.dll")]
Then from the application point of view, what is the difference or attention in the use of functions marked with WINAPI and unmarked with WINAPI?
That's the difference between a system and a non-system function.
In terms of application, there is not much difference, as long as the declaration is correct.
For example, if you write a library function with WINAPI declaration, and others must use WINAPI declaration when calling it, otherwise the runtime will make an error.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.