dll

Best way to use a dll from an ASP script

痴心易碎 提交于 2019-12-24 02:43:16
问题 I'm writing some ASP code to service requests from a simple HTML form on my company's intranet. The code needs to call methods from a (COM) dll. I'm using the code: myObject = Server.CreateObject("myDLL.myClass") but it's giving an error at this line. I'm not sure if the dll is registered on the server, but I suspect it may not be. I'm not sure how to find this out. If it's not registered, is it possible/best practice to: Use the dll without registering it on the server (I have the .dll file)

Debugging DLL Project in Visual Studio 2008 Using Attach to Process

夙愿已清 提交于 2019-12-24 02:14:21
问题 I am developing a DLL using C# .NET 2.0 and Visual Studio 2008 Professional. I would like to debug (i.e. set a breakpoint in) it using Attach to Process and attaching it to the application's executable. I think this is working; at least, I'm not getting any error messages. However, any breakpoints that I try to set get disabled with a little warning message on them stating, "The breakpoint will not currently be hit. No symbols have been loaded for this document." Any thoughts on how I can get

What is a reliable way to get a DLL to load when Windows Explorer loads?

冷暖自知 提交于 2019-12-24 02:13:57
问题 I am researching the development of an add-on for Windows Explorer that will add some enhancements to the WebDAV therein, and to that end I'm looking for a good, reliable way to force a DLL to be loaded with Windows Explorer in XP/Vista/Win7 32- and 64-bit OSes. I seem to recall that a BHO would be loaded by Windows Explorer in the same way that it is in IE, but my initial tests of this are negative on Vista 64. It's highly possible I'm just doing something wrong there and will look into that

AutoCAD Plugin Development by Example

丶灬走出姿态 提交于 2019-12-24 02:13:35
问题 I am interested in developing an AutoCAD plugin and am trying to understand the relationships between several different types of AutoCAD plugin files: Managed DLLs that ship with AutoCAD plugins ARX files that ship with AutoCAD plugins CUIX files that ship with AutoCAD plugins From what I can tell these three files are all inter-related and work together to initialize and load a plugin, I'm just not seeing the forest through the trees as to what information each file type contains, which

Prevent C++ DLL exception using try catch internally

会有一股神秘感。 提交于 2019-12-24 02:04:46
问题 I'm developing a C++ DLL that allocate an array for the main application. The function return an error code and not the pointer to the new created array, so the address of the first member will be written in a parameter of the function. Example: int foo(int** arrayPtr) { int* array = new int[10]; *arrayPtr = array; return 0; } So, in the main I call the function that way: int* myArray; int ret; ret = foo(&myArray); Now myArray points to the new created array. QUESTION 1: Is there a better way

What's the purpose of the lua “stub” dll for windows

房东的猫 提交于 2019-12-24 01:54:18
问题 I'm looking at incorporating Lua into a C++ project, and am a bit confused by the presence of the two binaries (lua51.dll and lua5.1.dll) in the distribution from Luabinaries. According to the docs... In Windows your library or application must be linked with a stub library. A stub library is a library with only the function declarations that will bind your DLL with the Lua DLL. Why? I've never needed stub DLLs before when linking with third-party DLLs? 回答1: A stub library is a .lib file, not

How to build JNI .dll?

蓝咒 提交于 2019-12-24 01:51:08
问题 I have a java project in Eclipse that contains some JNI code. JNI code is cross platform - for Windows and Linux. How can I build a dll? Thanks. 回答1: You have to build a .DLL for Windows and .so for Linux. You would compile C code in Linux using this syntax: gcc -shared yourcode.c -I/usr/lib/gcc/x86_64-redhat-linux/3.4.3/include/ -o yourLib.so import in java using static { System.out.println(System.getProperty("java.library.path")); System.loadLibrary("yourlib"); } For Windows How to compile

Importing wordcloud using Jupyter Notebook (Python)

最后都变了- 提交于 2019-12-24 01:45:31
问题 I am using jupyter Notebook(conda root). The python version I am running is 2.7 I am having a hard time getting wordcloud installed into my environment. Here's the code from wordcloud import WordCloud But I got this error: ImportErrorTraceback (most recent call last) <ipython-input-21-8038e19af624> in <module>() ----> 1 from wordcloud import WordCloud C:\Users\aneeq\Anaconda2\lib\site-packages\wordcloud\__init__.py in <module>() ----> 1 from .wordcloud import (WordCloud, STOPWORDS, random

Error in running R script in cmd window

白昼怎懂夜的黑 提交于 2019-12-24 01:24:36
问题 I have a bat file that I have run successfully for some time from the command line, which calls R and then an R script. It has failed lately, and it feels like it has something to do with package loading. I have R version 3.2.3 (2015-12-10) and RStudio Version 0.99.489. The errors occur apparently as packages are being loaded, but they are not R errors, but rather errors looking for a variety of .dll's, ending in an 0x7e error. Not sure why R/Windows is looking for dll's (?!). I also tried to

Using custom dll in Qt Application

牧云@^-^@ 提交于 2019-12-24 01:16:33
问题 First, my compiler and OS: Qt Creator 1.3 Qt 4.6 (32 bit) Windows 7 Ultimate I want to learn how to create and import a dll in Qt. I've created a *.dll file using Qt Creator, called Shared1.dll which contains nothing but an empty class named Shared1 . Now I'd like to use Shared1 class in another Qt project. How can I do that? Thanks in advance. 回答1: Use your Pro file to include your header files and libraries.. For Header Files: INCLUDEPATH += "C:\Source\HeaderFiles" For libraries: LIBS += "C