What does the number 16 in the DLL symbol _FooBar@16 represent?
I am new to Windows programming. What does the number 16 in the DLL symbol _FooBar@16 represent? ...
I am new to Windows programming. What does the number 16 in the DLL symbol _FooBar@16 represent? ...
***Platform: in Vista(ultimate or home/premium) it does not work, other OS(xp, windows7) it works****** I'm emptying recycle bin using c++.net(or c#.net) inside a thread. When i do this straight (without thread) it works. But if thread used it doesn't. Please watch the code snippet below: namespace EmptyRecycleBin_C{ enum RecycleFlags ...
I've recently joined a company which has had a number of developers of varying quality work for them over the years. The projects which have been created rely on outputs from other projects. However instead of creating dependencies in the normal manner and maintaining the code, DLLs have been copied from one place to another and referen...
Hello, Im trying to know the path of a dll.... several sites says that ive to use System.Reflection.Assembly.GetExecutingAssembly().Location BUT it returns a path in C:\Windows\Microsoft.Net ... etc... \File.Dll and i want c:\MyProyect\MiWeb\Bin\File.Dll any help ? ...
I am writing an unmanaged DLL in C++. Is using float as a function parameter in a Windows DLL a good idea? I'd like my DLL to be usable from as many languages as possible (VB6, .NET, etc). To this end, I've used STDCALL and avoided C++ types. Will most languages handle float correctly? If not, what should I use? ...
I have two different asp.net web applications both referencing the same dll e.g. SharedLibrary.dll. I want to know if there is a way of adding some web.config setting to one of the application's config files to avoid the need to have two copies of the dll lying around. My [simplified] directory structure is as follows: \root \Adm...
Hi Everyone, I have a simple but subtle question. Below you see two different declaration variants of the same class from a DLL header file. Can anybody tell me the difference of this class declaration; class __declspec(dllexport) Car { public: Car(); void drive(void); typedef enum { None, Indented } Formatting; } from ...
I've got an SDK I'm working on and the previous developer just dropped the DLLs in System32 (Apparently a serious offense: see here) So assuming I move them out into \Program Files\\SDK (or whatever), how do I make sure that all the apps that needs those DLLs can access them? And to clarify, all apps that access these are doing early (...
I'm trying to call some functions in a DLL compiled with (I believe) Visual C++ from my program, which is compiled using GCC. To call the functions in the DLL, I do a LoadLibrary() on the DLL, and then a GetProcAddress() to get the address of a particular function, which I then call. This function returns a list of pointers to the funct...
I'm trying to use a COM library that makes use of a vtable. However, something funky is going on with the stack after I call the functions, which tells me I'm doing something wrong. The header file with the vtable definition is pasted here: pastebin.com/m2d66c18c (see in particular the code starting at line 810). An example is pasted he...
I download a autotrace library to use in my java project but it contains only (libautotrace.a, libautotrace.la, libautotrace.dll.a and header) my question: is it possible to convert libautotrace.dll.a to dll library? ...
I'm currently working on a soft-input-panel for windows mobile and have run into a bit of a snag. The compiled DLL (once deployed) is loaded by devices.exe which is stored in the windows mobile device's ROM. This is causing quite a nightmare as Visual Studio 2008 refuses to see the devices.exe process (using attach to process) making it ...
Windows still use DLLs and Mac programs seem to not use DLL at all. Are they benefits or disadvantages of using either technique? If a program installation includes all the DLL it requires so that it will work 100% well, will it be the same as statically linking all the libraries? ...
using java and jna I call a fonction : trace(potrace_ bitmap_s) struct potrace_bitmap_s { int w, h; int dy; /* scanline offset in words */ potrace_word *map; /* pixel data, dy*h words */ }; typedef struct potrace_bitmap_s potrace_bitmap_t; w, h: are width and height of a bitmap in doc of library a found this Here, potrace_word...
I am building an eclipse plugin (a notes plugin, but its a eclipse plugin in the end). One of the plugins my plugin depends on needs to load a native dll. The problem is, that fails depending on where in the disk such dll is. If it is longer than a certain threshold I get the error below java.lang.UnsatisfiedLinkError: nlsxbe (The file...
I need to get the product version and file version for a dll or exe using Win32 native APIs in C or C++. I'm not looking for the Windows version, but the version numbers that you see by right-clicking on a dll, selecting "Properties", then looking at the "Details" tab. This is usually a four-part dotted version number x.x.x.x. ...
Hi all, I have an application for which I do not have the code, and a dll for which I do have the code. I need to be able to debug into the dll, but lacking the source for the exe, how do I do this? The dll code is mfc c++; I believe that the main app is the same thing as well. I've tried doing a 'set target application' deal, where ...
I want to build an old version of APC on windows. They say (check the link) A DLL for this PECL extension is currently unavailable. See also the building on Windows section. but the guides referred are not available. Can you please suggest me a How-to? ...
If I had a 1000 asp.net websites each with 30 DLL's in their /bin folders. Therefore 30,000 DLL's. Would the websites / web server / machine run faster if I registered one set of the DLL's into the Global Assembly Cache and each site used the DLL's in the GAC? e.g. would the websites collectively use less memory? ...
Hi Everyone, I have a native C code, I compiled the code in vc++ 2008 and its compiled with 'x64' as platform in configuration manager and I have an c# application which is also compiled with 'x64' as platform and it calls the dll function. I have used Dllimport to call the function from the dll like below. using System.Runtime.Interop...