30 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Elixir42

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; …

Member Avatar for Elixir42
0
2K
Member Avatar for Seba Sama

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 …

Member Avatar for Seba Sama
0
191
Member Avatar for 9tontruck

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) …

Member Avatar for mark5rockzz_1
0
2K
Member Avatar for androidz

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 …

Member Avatar for G_Waddell
0
246
Member Avatar for mattster

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 …

Member Avatar for mattster
0
288
Member Avatar for cucolino

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 …

Member Avatar for pritaeas
0
287
Member Avatar for FearlessHornet

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 : …

Member Avatar for FearlessHornet
0
542
Member Avatar for joshl_1995

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

Member Avatar for Begginnerdev
0
290
Member Avatar for M.Waqas Aslam

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 …

Member Avatar for M.Waqas Aslam
0
199
Member Avatar for Labdabeta

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 …

Member Avatar for Labdabeta
0
222
Member Avatar for fafa70

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.

Member Avatar for thines01
0
257
Member Avatar for xopenex

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, …

Member Avatar for xopenex
0
1K
Member Avatar for SeniorAlexandro

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 …

Member Avatar for SeniorAlexandro
0
657
Member Avatar for sachintha81

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 …

Member Avatar for sachintha81
0
3K
Member Avatar for PoovenM

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 …

Member Avatar for thines01
0
187
Member Avatar for Amiet Mhaske

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???

Member Avatar for thines01
0
122
Member Avatar for Zssffssz

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 …

Member Avatar for mike_2000_17
0
308
Member Avatar for NetJunkie

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!

Member Avatar for adam_k
0
415
Member Avatar for Joeflims

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 …

Member Avatar for Joeflims
0
179
Member Avatar for mohana88

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 …

Member Avatar for mohana88
0
8K
Member Avatar for JimSim

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 …

Member Avatar for JimSim
0
256
Member Avatar for stavros141

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 …

Member Avatar for stavros141
0
180
Member Avatar for chintan_1671

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 …

Member Avatar for chintan_1671
0
257
Member Avatar for Carmenchi

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!

Member Avatar for Rik_
0
159
Member Avatar for Tech B

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 …

Member Avatar for Member 785599
1
193
Member Avatar for xrunner

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

Member Avatar for xrunner
0
113
Member Avatar for reid1

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 …

Member Avatar for reid1
0
755
Member Avatar for thecurious

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 …

Member Avatar for thecurious
0
107
Member Avatar for thelamb

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 …

Member Avatar for thelamb
0
2K
Member Avatar for GDICommander

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 …

Member Avatar for sknake
0
911

The End.