dll

Delphi DLL Modal Form causes AV on Second Call

二次信任 提交于 2020-01-16 08:55:30
问题 I am trying to show a modal (FMX) form from a DLL. Eventually this will be ported to OSX so I'm trying to keep the 'Windows' code to a minimum. Based on what's in the forum I have tried to keep the code as simple possible. I know that the first time showmodal is called, the code works as expected, but if I subsequently call the DLL function, I get an AV trying to create the form. I then tried to (without exiting the function) create and free the form several times, this works without issue.

Delphi DLL Modal Form causes AV on Second Call

限于喜欢 提交于 2020-01-16 08:55:04
问题 I am trying to show a modal (FMX) form from a DLL. Eventually this will be ported to OSX so I'm trying to keep the 'Windows' code to a minimum. Based on what's in the forum I have tried to keep the code as simple possible. I know that the first time showmodal is called, the code works as expected, but if I subsequently call the DLL function, I get an AV trying to create the form. I then tried to (without exiting the function) create and free the form several times, this works without issue.

Visual Studio 2015 / Win10: appcrt140.dll missing

青春壹個敷衍的年華 提交于 2020-01-16 08:51:26
问题 I'm currently converting a solution of command line executables linking against static libs from VS2013 to VS2015. Everything compiles and linkes fine, however, when executing the command line executable the new appcrt140.dll is not found: I installed both the x86 and x64 VC redistributable. From what I read online, it should be part of Windows10, however, I'm not able to detect this file on my system. Also, the desktopcrt140.dll is missing on my system; both of which should be part of the

Files in Visual studio debug folder and the generated installer include different dll file

南笙酒味 提交于 2020-01-16 08:47:08
问题 I wrote a WPF app in Visual Studio 2019 and works in debug mode. But when I created a installer with "Microsoft Visual Studio Installer Projects" Extension, the app created by the installer does not work. In the project to create the installer, I only added the primary output of my WPF project to "Application Folder". I compared the debug folder of my Visual Studio and the folder created by the installer, the dll files in the folders are different. pdb files are removed. dlls(netstandard.dll

Find name-mangled function in dynamically-loaded dll

拈花ヽ惹草 提交于 2020-01-16 05:41:06
问题 I have a set of APIs that are explicitly designed to be used only in C++. I do not expect them to be used by a C program (or any other language for that matter), and as such I export namespace and class information as opposed to going the extern "C" route and using inlined utility functions to call the plain C functions. Right now I am only working on dlls that are linked at compile time, which means importing the functions to the executable is very easy as it involves no work on my part.

Error in using created custom widget in designer

余生长醉 提交于 2020-01-16 04:38:08
问题 I am having a problem on using created custom widget. I have successfully created a custom widget that produces .dll file. I placed this .dll file under bin/designer. It was also recognized in the designer. I used it and placed it on my ui. But when I tried to build it, error occurred. debug\moc_scribblearea.cpp(44) : warning C4273: 'staticMetaObject' : inconsistent dll linkage d:\project\qt\workspace\sample-build-desktop\debug../../oep/scribblearea.h(53) : see previous definition of 'public:

Howto access thread data outside a thread

Deadly 提交于 2020-01-16 03:42:09
问题 Question: I start the MS Text-to-speech engine in a thread, in order to avoid a crash on DLL_attach. It starts fine, and the text to speech engine gets initialized, but I can't access ISpVoice outside the thread. How can I access ISpVoice outside the thread ? It's a global variable after all... You find XPThreads here: http://www.codeproject.com/KB/threads/XPThreads.aspx #include <windows.h> #include <sapi.h> #include "XPThreads.h" ISpVoice * pVoice = NULL; unsigned long init_engine_thread

MSI not uninstalling .dll files

耗尽温柔 提交于 2020-01-16 01:05:10
问题 I have an program that used to uninstall properly and remove ALL files associated with it during uninstall. We have revamped our install/uninstall process to now use installshield. With the previous install/uninstall process it was working just fine until about 2 weeks before we changes it, and still even now with he new installshield installers it fails to remove the .dll files upon uninstall. I don't think the problem is with the installers themselves because we have the same exact problem

Not finding function using GetProcAddress() C++ VBexpress 13

邮差的信 提交于 2020-01-16 00:36:08
问题 Okay so I'm coming dangerously close to a repost here but my situation is a little bit different than the numerous other posters about this function. I am interfacing with a DLL that was written way back in the day and all I have is the file. I don't have a .lib file so I'm using the LoadLibrary and GetProcessAddress functions. I followed the tutorial on the MSDN website to get the basic structure. the DLL is located in the project folder. it compiles. at run time, I am getting a numerical

Deploying Qt dll file - cannot find windows plugin although platforms/qwindows.dll exists and so libEGL and libGLES

≯℡__Kan透↙ 提交于 2020-01-15 23:50:09
问题 I built my app as normal exe and run windeployqt on it. I got long list of files in folder with exe. files: ./ D3Dcompiler_47.dll Qt5Core.dll Qt5Gui.dll Qt5Svg.dll Qt5Widgets.dll WLedPlugin.exe accessible files.txt iconengines icudt52.dll icuin52.dll icuuc52.dll imageformats libEGL.dll libGLESv2.dll platforms qt_cs.qm qt_de.qm qt_fi.qm qt_hu.qm qt_it.qm qt_ja.qm qt_ru.qm qt_sk.qm qt_uk.qm ./accessible: qtaccessiblewidgets.dll ./iconengines: qsvgicon.dll ./imageformats: qdds.dll qgif.dll qicns