30 Solved Topics
Remove Filter
|
|
Dear Kind-Coders, I am trying to learn to use boost::shared_ptr to manage the lifetime of a DLL, but I am having a type conversion problem whilst setting it up. Please see the following code: #include <boost/make_shared.hpp> int main() { { class CMyClass { public: CMyClass() {} ~CMyClass() {} int MyInt; … |
|
Hello, I'm trying to approach .dll's. Tried some tutorials and got into 2 problems: 1. Using rundll32 from the command line is not working as expected. I write in cmd: "rundll32 mydll.dll MsgBox -32". It shows the MessageBox with text "15991798", changing every time I run it. 2. Calling a … |
|
HI I am trying to make a dll file that performs its tasks using CUDA library. Here is a simple version of my code: CUDADll.cu ` #include <iostream> #include "cuda.h" #include "cuda_runtime.h" #include "device_launch_parameters.h" __global__ void test(int a, int b, int* c) { *c = a+b; } extern "C" __declspec(dllexport) … |
|
I made three projects the first one is a windows form, the second one is a class library and the third one is another class library to be the reference of the second and first projects. Inside my second Project which is a class library there are two files a … |
|
Right everyone, here's my problem. I have just paid £45 for a book on Qt, have had a nightmere getting it sorted, and finally I can build apps to this extent... I have an app, *test.pro*. I have built it using `qmake test.pro` -> `make` which works. I am using … |
|
Hello. I wonder if anyone can tell me something about calling the external dll file from delphi. I have a main form, which has the procedures locating the dll file, and then I have about 30 other forms, in which I use these commands. Now my question is, is it … |
|
I have been working on a few projects and needed a method similar to pythons string.split(). I decided to make a reusable piece of code and export it as a .dll, the code is below: std::vector<std::string> Editor::StringHandler::Split(std::string data, std::string tokens) std::vector<std::string> returnList; std::string temp=""; bool found=false; for (auto i : … |
|
Hello Community, I was wondering if there is a way to programmatically import a dll containing a form. Example: When i press a button it will open the form from the dll. NOTE: I need to programmatically import the dll. Please help |
|
hello ! i am working on a c# project , but i had done all this is vb before , now i have all the code in vb.net and i want to use it in c# project , someone told me that if i make dll of my vb modules … |
|
I am using code::blocks and have written a dll. I am currently testing it but am getting tired of having to compile it, copy the DLL, DEF, H and A files into a test project, and then compiling the test project every time I need to fix something. Is there … |
|
hi. i have some code in visual basic and i wrote some classes in c++ and i want make it dll but i don't know that when you use dlls it decreases the speed of process or not. thanks. |
|
Hi guys, converting .ui to .py to .exe using Qt Designer (PyQt4), Python 2.7, and py2exe Ive been able to do this with Tkinter gui's but having problems with gui's from Qt Designer? First error was due to missing msvcp90.dll which ive downloaded and copied into the python dll directory, … |
|
|
Alright, I have a Form with a Media Player in it. Which plays a Song. [CODE]AxWindowsMediaPlayer1.URL = My.Computer.FileSystem.CurrentDirectory & "\Music.mp3" AxWindowsMediaPlayer1.Ctlcontrols.play() AxWindowsMediaPlayer1.settings.playCount = 999 Me.Opacity = 0 [/CODE] It's playing in the background since the Form is hidden. When I play it [B]in[/B] Debug, everything works fine. When I run … |
Let me describe my problem as well as I can. I have a C# application program, let's call it App.exe. It references a DLL named A.dll which in turn references another DLL, namely, B.dll. However the way in which they are referenced is a bit different. In the code of … |
|
Hi there, I'm trying to access a resource only dll (compiled with the [i]/NOENTRY[/i] linker option) within C#. The dll file was created using a rc file that contains a [b]STRINGTABLE[/b]. I used [b]CComBSTR[/b] to load the string resource from the dll in C++; I'm not sure how to do … |
|
Hello guys, I am new to programming. I've recently started working on vb6. Guys, can you tell me what are .dll files and what is the use of them??? |
|
Well I want to make a DLL but all of the tutorials online seem to focus tword GUI programing or go a little too fast. Can anyone explain it? As far as I have seen it's syntax resembles resource files. And what makes it a '[I]Dynamic[/I] Link Libray' as in … |
|
I am using a DLL file as my license file for a VB.NET project and was wondering if there was a way to make it locked so notepad can't open it and edit the data stored in there. Thanks in advanced! |
|
Hello, kind citizens of DaniWeb! I beg your assistance in the solution of my problem! I was trying to create a simple audio player using Tkinter and pygame, pygame being the best library that included audio playback I could find (by the way, DO NOT USE SNACK!!). Anyway, I was … |
|
When I try to add a dll file into my project the following error occurs : A reference to dll could not be added. Please make sure that the file is accessible and that is a valid assembly or COM component. But I have imported the dll file using DLLImport … |
|
Hi all I think that I should start this by saying that I am fairly new to C++. Currently, I can only write basic OOP programs. However, I have been given a task at work to compile and link some old code that we have (roughly 10 years old) to … |
|
Ok so I have this project in ming for along time now. Basically I have created a console app that works as a calculator by using mathfunctions from a DLL I also have created. Now the problem is I want to make it so that people can create their own … |
|
I have a managed class library developed in C#. Now i need to create a win 32 dll wrapper around it. So in my Win 32 DLL i need to import that class library and call the starting point functions from it. I am new on this. I was able … |
|
I have a notebook Lenovo Z61m, OS window XP. I'm trying to disconnect the HP all in one printer 2355 series without success. A window appears reading Error 1606 "could not access network location 0. i'm buying a new printer and want to eliminate the previous one HP. Please help! |
|
I am trying to access some functions with in a dll I downloaded. I know I need to use ctypes, but all the examples and tutorials use windll.kernel or windll.user32 respectively. How would I go about calling a function with in xyz.dll? EDIT: Never mind, with a bit more digging … |
|
I have written a DLL which I intend to use in .NET and ASP.NET applications. I need to pass a Label (or TextBox) control to one or more methods. I can't make .NET recognize a Control as a parameter. Can anyone help? Thanks, Gerry |
|
I restarted my computer and bootup to desktop was extremely slow...it took about 5 minutes to display. I received a Microsoft C++ Runtime error message with the following path. Program:...es\common files\RoxioShared\9.0\SharedCom\RoxWatch9.exe I thought that it may be associated with RealPlayer SP that I downloaded about a month ago so I … |
|
Hello, I have a strange annoing situation with a C# software i made. The software is made by me, it uses : - usual C# libraries - visual studio 2008 - MySql DB with .net connector - Crystal reports Problem : - the problem is that on a specific system … |
|
Hello all, I have a VB.net application and a C++ DLL. The C++ DLL has an exported function that gets called by the VB.net application. The C++ exported function is as following: [CODE=cpp] STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); TR::Log( "Starting … |
|
Hi, everyone! I am using Interop.Photoshop.Dll from my C# Windows Forms application. I am using a com object that Adobe Photoshop CS4 provides to use Photoshop in my C# program. I'm using the ApplicationClass class to launch Photoshop. I have Photosoft CS3 and CS4 on my machine. When I do … |
The End.