Lets say i load Form1 and then it shows buttons which let me access Form 2,3 and 4.
Now, when i click the button to load Form2, I can see that it takes a bit of time to load a few class libraries (.dll) which makes the UI look unresponsive.
I don't see the form until the class libraries are loaded which makes the Form1 to still be sho...
I'm going to outline my problem in detail to explain what I'm trying to achieve, the question is in the last paragraph if you wish to ignore the details of my problem.
I have a problem with a class design in which I wish to pass a value of any type into push() and pop() functions which will convert the value passed into a string represe...
I have found a solution for this, but it only works if you use .DEF files (I don't).
I wonder if this can be done without .DEF files.
...
Is there a profiler(or similar program) that will log the function calls and arguments sent to a dll. By arguments I mean the data sent to the function; not the data type of the argument.
For example say I have
dll
int myAdd(int a, int b)
return( a+b )
main
int a = myAdd(1, 2)
int b = myAdd(3,4)
int c = myAdd(5,6)
I'd ...
Hello,
I wrote a Java class which accesses a method in the C dll through Jni.
But i am getting the following error in windows.
java.lang.UnsatisfiedLinkError: Server.getNetworkDiagram(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
Guess it is able to load the library.
Also i am building the .dll (for window...
Hi!
I've created a windows service in VS 2010 which references the model conveniently placed in a separate project which compiles to a dll. I have no problem referencing this dll in other parts of my solution (web apps), but in my windows services the following symptoms display:
Compiler error: The type or namespace %%% cannot be foun...
Most programing languages have 'include library into your code' function but where is function 'include your code into library'?
I Mean push into other files from the source, rather than pull into from the consuming files.
Idea is simple - we have a library A with class B we want to extend B with some C functions but we do not want t...
Immediately after we upgraded to visual studio 2010 and the 4.0 framework our trunk build started breaking with the Could not load file or assembly error.
We determined that a 3.5 project couldn't reference a 4.0 project else we'd get this error because, as the error states, This assembly is built by a runtime newer than the currently lo...
I have a super high-performance C/C++ data structure (see here!) that I'd like to access and use in my C# program.
Imagine the C/C++ data structure has a public API (get, add, delete, etc). How can I call these methods lots of times within C# in a high-performance way?
P.S. Before you criticize my use of the phrase "C/C++"... In my vie...
The documentation I am referencing is here, and is fairly short and to the point:
http://livedocs.adobe.com/en_US/Dreamweaver/9.0_API/help.html?content=dwr_sourcecontrol_so_01.html
The problem I am running into is that I am not sure how to compile the actual DLL. The last reply on the adobe extension forums is 3 months old, and I am not...
Hello everybody let me give you the background first:
I'm working on a project that is build with vs2005 on a winxp sp3 with the windows sdk 7.0 and most important the hotfix, that is targeted to work from win xp (sp 0) -> windows 7.
part of the project is querying the snapshots and play with the a bit.
On my development environment eve...
I've been browsing the web for over 48 hours reading up on interoperability and playing around with Pinvoke and C++/Cli (very limited the latter). There is an unmanaged c++ api (a namespace containing a lot of exported structs which contain methods, all pure virtual and implemented across several cpp files as classes and what not) and I ...
Hi,
I was trying to Start a diadem instance using a VC dll from my vb .net code. I'm getting the following error.
**System.AccessViolationException was unhandled
Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Source="SDAS"
StackTrace:
at SDAS.SDAS.Program.Inv...
I have a ASP.NET project which relies upon the FreeImage .NET wrapper. This is loaded using a reference to a external directory. The wrapper relies upon the FreeImage.dll being present to work (clearly).
How do I get Visual Studio to include a reference to the FreeImage dll. It's not a .NET assembly, i think it was built in something e...
I have successfully gotten Dreamweaver to accept my DLL and call it's methods. The DLL is written in C++ with C interpeted functions (so function names aren't mangled.)
I would like to become comfortable with C++ pointers and datatype, but I have a much stronger proficiency with C# so for our timeline I think it's worthwhile to investig...
I have a C# class that I've made ComVisible so that it can be used in an unmanaged C++ DLL. The C# class is defined like this:
public interface IFSFunction
{
double GetProcessTime();
}
public class Functions : IFSFunction
{
// Initialization here
// Interface function
public double GetProcessTime()
{
// Do ...
Apparently when I run some 32-bit apps I created using gtkD on Win64 systems with Symantec Endpoint Protection installed and network drives mapped, and try to bring up a file dialog, something in the runtime attempts to load SnacNp64.dll, a 64-bit DLL, into 32-bit address space. This DLL is a component of Symantec Endpoint Protection th...
I'm trying to follow along with Paul Sheriff's e-book "Fundamentals of N-tier" which is really good so far.
At the end of chapter 2 he says we should break the classes we have created into separate class libraries and that these libraries(dlls) can then be used from any application. The book doesn't explain how to do this.
I have th...
Hi.
I want to call a dll function in Delphi 2010. This function take a string and write it to a printer with USB interface. I do not know in which language the dll is developed with. According to the documentation the syntax of the function is:
int WriteUSB(PBYTE pBuffer,DWORD nNumberOfBytesToWrite);
How can I declare and use my func...
I would like to compare several dlls of one install to several dlls of another install of the application I'm working with. I need to ensure they are exact same. How do I compare two dlls to ensure they have the exact same methods, properties, version, etc?
I've started to use RedGate .Net Reflector, but the task became tedious so I tho...