Contributions
Re: tcCEFHook.dll load error 1114 (ERROR_DLL_INIT_FAILED)
HKosova wrote: Hi Tora-Bora, CEF testing requires the Web module - does your license include it? We recommend using automatic instrumentation for CEF apps, as described in "option 1" here. Can you do that instead of compiling with tcCEFHook.dll? The error should not occur in this case. Regarding the 1114 error, the devs say the following: The 1114 error when loading tcCEFHook.dll is expected in the following cases: tcCEFHook.dll is loaded from a location other than its original location (<TestComplete>\Bin\Extensions). CEF app is running on a computer without TestComplete installed. The error can be ignored and it should not affect the app functionality or testability. To avoid the error you can: Start TestComplete before launching the tested CEF app, or Load tcCEFHook.dllfrom its original location, e.g. LoadLibraryW(L"C:\\Program Files\\SmartBear\\TestComplete 11\\Bin\\Extensions\\tcCEFHook.dll") Make sure to use the DLL version that corresponds to your app bitness (32-bit or 64-bit). Thank you, second option works.621Views0likes0CommentsRe: tcCEFHook.dll load error 1114 (ERROR_DLL_INIT_FAILED)
tristaanogre wrote: Note that the instructions say to either copy the DLL to your application folder or reference it at the current location. I understand this to mean that, if you are copying the file, then you can use the code as is in the sample... if you aren't then you need to provide the full path in your application code. Double check the location of the DLL file itself and make sure you're pointing to the appropriate location. Beyond that... I'm not going to be much help. That's my best guess based upon the available documentation. If there was a wrong path it would be another error. The 1114 says that error occured in the library.2.6KViews0likes1CommenttcCEFHook.dll load error 1114 (ERROR_DLL_INIT_FAILED)
"Compile Application With TestComplete Library": HMODULE tcHook = LoadLibraryW(L"tcCEFHook.dll"); return NULL and GetLastError returns1114 (ERROR_DLL_INIT_FAILED). Tried with Delphi, Embarcadero Borland C++, Visual Studio 2015 C++.Solved2.8KViews0likes10Comments