dll

Building RakNet DLL file unresolved externals ERRORS

I’m using VS 2013. Sadly I’m not able to build the DLL file because of “760 unresolved externals erros”. I have no idea what is causing that. I think it is ws2_32.lib but I already added it to “Additional Dependencies” so why does it still keeps throwing errors? I also tried removing stdafx.h from precompiled headers in settings but still…
Read more

Autofac won’t resolve class from external dll

I’m trying to create an application that utilizes Autofac and loads external dlls. The following code works, if the DLL is located in the same folder and the program ran from the same folder: builder.RegisterAssemblyTypes(assemblies.ToArray()). Where(t => typeof(IImageConverter).IsAssignableFrom(t)). InstancePerLifetimeScope().AsImplementedInterfaces(); Now if I try to run the program from a different location but set the working directory as the directory where…
Read more

I have try many software to get voice to text but no one is actually give proper text [on hold]

i am .net developer.i wan to create application in c#.I want to create application that store text that user speak.means we want to convert speak to text. I have used many application that build in .net with c# to get voice to text but I enable to get a proper text from voice in this software. now how to get…
Read more

Why multiple instances of static class being created?

Suppose I have 3 DLL’s. DLL #1 and #2 depend on DLL #3. DLL #3 contains a static class such as: public class ImportTimer { public static bool EnableProcessorTimerLogging { get; set; } public static bool EnableTimerLogging { get; set; } public static DateTime SourceDataDetectionTimestamp { get; set; } public static DateTime LastEndProcessTimestamp { get; set; } static ImportTimer() {…
Read more

Loading Complex and Libusb C/C++ DLLs Libraries in LabView

I am working on interfacing a libUSB operated device with the LabView. I searched on net but found only simple example of loading or importing DLLs but couldn’t find any complex example. I have multiple of header files with multiple DLLs dependencies. Also the device work with LibUSB. Is there any way to interface that device with labView using the…
Read more

My .exe is missing some .dlls, even though I made the crucial settings for it to embed all the dlls

I recently finished a project of mine and want to give it to a friend, but he can’t run it due to missing dlls. I then adjusted my project according to some guides on SO, I adjusted my build process to “Embedded Ressources” and so on, but it just won’t work. Also, I added my 2 dlls as Ressources in…
Read more

What is the public key for .net assembly

What does “public key” (for a .net assembly) means exactly? Most of the time people talks about PublicKeyToken (Which is just reference or shortcut key to refer the public key) but nobody talks about public key. Please tell us what is exactly the public key means? What is the purpose of it? And most importantly the difference between public key…
Read more

How to use fastdelegate.h with client class signature

im currently struggeling using the fastdelegate lib. Im having a dll project which gives a client the opportunity to use different delgate approaches. Here is my testcode: (Note: if you need more info just tell me 🙂 // basedelegates.h #include “DelegateInterface.h” #include “fastdelegate.h” class MFastDelegate : public AbstractDelegate { private: typedef std::shared_ptr<IEvent> IEventSharedPtr; typedef fastdelegate::FastDelegate1<IEventSharedPtr> EventDelegate; // stores a member…
Read more

Making a C++ dll using VS2013 and calling methods from Delphi XE6; C++ dll has some VS or .NET dependency

TIA. I have made a c++ dll using VS 2013 which is being called from Delphi XE6. All works fine. When make a Delphi exe and I try to run it on any system that doesn’t have VS3013, my exe fails with Access Violation(Access violation at address 00A8451E in module *.exe. Read of address 83EC8B69.) The same thing works and…
Read more