similar to: How to : C++ DLLs

Displaying 20 results from an estimated 1000 matches similar to: "How to : C++ DLLs"

2002 Feb 16
1
Proposed header file changes to allow for dynamic linking of DLLs at runtime
Sorry for the attachment, but I do not know of another way to communicate the details of my proposed changes to the dev team. While writing RipTrax (a ripper + encoder program), I wanted to make all encoder DLLs dynamically linkable at runtime. I first check for the existence of the dll, open the library with Load Library and then do a GetProcAddress for each routine I plan to use. With the
2001 Feb 15
0
FrameMaker 6.0 problem - further information
I originally posted that I have been unable to run FrameMaker 6.0 under wine. Frame complains that it can't find printer fonts (whatever that means) and it prompts to see if I want to edit the registry. As requested by a couple of responders, I ran wine with font debugging on. Attached is the last 200 line of the log before the call to MessageBox(). Any ideas would be appreciated. Since
2001 Feb 20
1
I need some help for using wine
hello, wich rpm must i download if i have glibc-2.1.92 ? (redhat 7.0) Yves ----- Original Message ----- From: <wine-users-request@winehq.com> To: <wine-users@winehq.com> Sent: Thursday, February 15, 2001 11:25 PM Subject: wine-users digest, Vol 1 #330 - 9 msgs > Send wine-users mailing list submissions to > wine-users@winehq.com > > To subscribe or unsubscribe via the
2008 Jan 26
0
JRuby version of win32-api - initial try
Hi all, I''ve got a preliminary JRuby version of win32-api checked into CVS at the moment under win32-api/lib/win32/api.rb. I''ve also pasted it below. It doesn''t quite work right in that I can''t get it to modify the arguments in place in the API#call method. Take a look at the sample code at the very bottom to see what I mean. I haven''t even tried
2004 Oct 04
0
passing linux devices to a program in wine
Hi, i'm trying to find out if i could use my webcam in Netmeeting. I can receive video, but am not able to send because wine can't handle this yet. So I'm doing a little "research": When I run Netmeeting in normal windows with depndency walker i see this: LoadLibraryExA("C:\Program Files\31Netmeeting\dcap32.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH)
2020 Aug 19
0
Re: [PATCH nbdkit 1/9] server: Add libnbdkit.so.
I believe after a lot of reading around this topic that it should be possible to call from the plugin DLLs into functions in the EXE. One technique is outlined here: https://stackoverflow.com/a/18147774 The idea above is to use DLLTOOL to generate an "import library" (a static linked library containing stubs which are used to resolve at runtime a list of symbols). Import libraries
2007 Nov 13
1
win32-api idea - wide method first based on $KCODE
All, Currently, the Win32::API.new method will search for the function name, then the ''A'' (ANSI) name, and finally the ''W'' (Wide) name. The code looks something like this: fProc = GetProcAddress(hLibrary, TEXT(RSTRING(v_proc)->ptr)); if(!fProc){ VALUE v_ascii = rb_str_new3(v_proc); v_ascii = rb_str_cat(v_ascii, "A", 1); fProc =
2007 Oct 17
0
Using R.dll in .NET IPC
Hi - I wrapped R.dll up using somebody code online (see below). I am comparing R on .NET IPC with R(D)COM. I got it all working. Except, I realize that in my client code of the IPC remoting, if I call 'plot' function in R via EvaluateNoReturn, I don't seem to see any results on the R plot window (although the window pops up). Is there anything to do with the code of R.dll wrapper
2001 May 16
1
wine-20010510 fails to run?
The system I am using is a clean install of Mandrake 8.0 which has the gcc version 2.96 installed. I downloaded the wine-20010510 snapshot and successfully ran the ./tools/wininstall. The build seems to have run without problems and if I type: wine --version the correct release number is displayed indicating the install was also succesful. As per the FAQ I also did the following:
2009 Feb 25
1
Might have a COM+ issue
Hi, I've been looking into wine to see if I can remove the need for a dedicated windows machine to run some in-house vb6 software including a COM+ layer. Currently I have my COM files in the System32 folder (as i read something that suggested that WINE would require the COM to be stored there). I don't mind where it goes, i registered it using regsvr32 provided by wine. I have
2006 Nov 27
1
R.DLL mapping by P/Invoke
After a long processing, I was able to create a version of a small C# class that was able to emulate the rproxy by P/Invoke. This is mostly to find a workaround a performance problem of the StatConnector. It's almost work but ... I have strange memory exception when I call the print function. The variable seems to not survive from one call to the other. As there is no debug symbol for
2007 Jul 31
2
using win32 DLLs in Linux
Hello, I have a win32 DLL library, which I can't decompile, and can't get it's source code, but which I'd like to use in my Linux program. I wondered about making a win32<->Linux interface to use this library, using ready-to-use wine libraries. Is it possible, using wine libraries, to have access to functions from this DLL? If yes, can you tell me how? Thank you in
2015 Aug 29
2
Compilation error with MinGW
Hi all, I'm hitting the same problem as in this[1] thread. I use release_37 branch on 64-bit Windows 7. The problem is here: #ifdef __MINGW32__ #include <imagehlp.h> #else #include <dbghelp.h> #endif <skip> typedef BOOL (WINAPI *fpEnumerateLoadedModules)(HANDLE,PENUMLOADED_MODULES_CALLBACK64,PVOID); imagehlp.h doesn't define PENUMLOADED_MODULES_CALLBACK64 type. I
2010 Oct 04
0
[LLVMdev] LLVM ERROR: Program used external function 'printd' which could not be resolved!
On Mon, Oct 4, 2010 at 3:22 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote: >>>> Any help will be much appreciated. Thanks! >>> Windows does not support dynamic linking. You will need to resolve >>> externals by hand. >> >> Why would it not support dynamic linking?  What about loadlibrary and >> its kin are not sufficient to handle
2005 Mar 27
0
gettings started
I would like to use OpenSSH just as I have OpenSSL, but I can't seem to find any API references like there are at openssl.org. Where can I find some good API references for OpenSSH? This is what I want to do : create a C++ class around SSH that will make a client/server connection that deals with the data only. The data could come from a socket, pipe or just memory (up to the developer
2017 Feb 06
3
Kaleidoscope tutorial: comments, corrections and Windows support
Hi, I'm currently working my way through the tutorial with LLVM 3.9.1 on Windows (finished chapter 4) and stumbled over a few things which could be improved: - "LLVMContext" does not exist as a variable -> "TheContext" - Chapter 3: 5 times - Chapter 4: 1 time - Chapter 5: 4 times - Chapter 6: 2 times - Chapter 7: 2 times 3.4. Function Code
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
Hi All, I have implemented a JNI library on window that call the C++ dll APIs. Now I want my JAVA program is run on the UNIX system. I have used WineLib to wrapper Window Dlls to the Share Object Lib (so lib) (Using Winedump and Winegcc to build). The functions in the so lib can work normally with my C main test function. BUT when I call it from Java. The function can linked BUT it is crashed at
2015 Feb 05
0
How to unload R.dll successfully by FreeLibrary
hi, I've some C++ code which try to load R.dll and execute some R command, then unload R.dll, yet it seems fail to unload it, so second time to call the function hangs since it is trying to Initialize R again(this is not allowed as documented). Anyone can tell me why, thanks. //the following is my c++ code, used in a Visual Studio 2012 Console Application #define ORAPI__cdecl
2016 Apr 02
2
getSymbolAddressInProcess returning null
Tried that, still didn't work. Then I tried making a direct API call, GetProcAddress(GetModuleHandle(0),"foo") And this works if and only if __declspec(dllexport) is supplied. So it looks like we were both right. On Sat, Apr 2, 2016 at 9:29 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote: > Have you tried to add dllexport? > > On Sat, Apr 2, 2016 at 4:23 PM
2015 Aug 30
3
Compilation error with MinGW
I use the one from mingw.org, installed by the recommended way with mingw-get-setup.exe. Sly. On 30.08.2015 06:10, Yaron Keren wrote: > Which mingw distribution exactly do you use? > > 2015-08-30 0:46 GMT+03:00 Slycelote via llvm-dev <llvm-dev at lists.llvm.org>: > >> Hi all, >> >> I'm hitting the same problem as in this[1] thread. I use release_37