native

How do I rename a DLL but still allow the EXE to find it?

We have a DLL which is produced in house, and for which we have the associated static LIB of stubs. We also have an EXE which uses this DLL using the simple method of statically linking to the DLL's LIB file (ie, not manually using LoadLibrary). When we deploy the EXE we'd like the DLL file name to be changed for obfuscation reasons (a...

Calling a JNI modal dialog disables taskbar icon.

In a Java application (JRE 1.5.0_12) on Windows XP, I call a native method: public native int attachImage( ... ); ... which lives in a Visual C++ 6.0 .dll. It displays an application-modal window. Problem is, the application's tray icon doesn't respond to mouseclicks while this window has focus. This is an issue because when this wind...

Native C++ SQL Framework

I need a high performance framework in native C++ for SQL. I need it to be able to use MySQL, Oracle and Microsoft SQL Server and provide abstraction from the lower level problems/idiosyncrasies found in every different syntax required for by DBMS from different vendors. Something like LINQ for C# and VB .Net. ...

What GUI toolkit looks best for a native LAF for Python in Windows and Linux?

Hello I need to decide on a GUI/Widget toolkit to use with Python for a new project. The target platforms will be Linux with KDE and Windows XP (and probably Vista). What Python GUI toolkit looks best and consistent with the native look and feel of the run time platform? If possible, cite strengths and weaknesses of the suggested toolk...

How do you make linux GUI's?

My main experience is with C && C++, so I'd prefer to remain with them. I don't want to use anything like QT, GTK, or wxWidgets or any tool kits. I'd like to learn native programming and this sort of defeats the purpose. With that in mind I'd also like to avoid Java. I understand gnome and xfce and KDE and such are all Desktop Environme...

C++/CLI and the remoting security

Hi everyone, I have a c++/cli dll wrapping around some native code, and I'm trying to make an IPC server around this dll using the WellKnownServiceType. I wrote the entire thing in this fashion: Native code->C++/CLI dll->C# server program <---IPC link---> C# client I'm running into security problems when I do it this way: The client ...

How can I prevent loading a native dll from a .NET app?

Background: My C# application includes a plugin framework and generic plugin loader. The plugin loader enumerates the application directory in order to identify plugin dlls (essentially it searches for *.dll at this time). Within the same application directory is a native (Windows, non-.net) dll, which, indirectly, one of the plugin ...

Java I/O using inpout32.dll

I am trying to control some LEDs wired to the parallel port on Windows XP. The easiest solution would be Inpout32.dll from Logix4u.net. I have found many source code samples in various languages (C++, Visual Basic, C#) but nothing using Java. Do you know any tutorials about calling DLL functions from Java ? (what I have found so far on ...

Does flash support MP3 audio format natively?

I was of the idea that flash (more specifically Adobe's flash player browser plugin) probably uses some installed MP3 codecs (on the client machine) using OS APIs. I heard someone say that Flash supports MP3 natively. is that true? I guess flash has it's own video and audio format. (FLV and something similar for audio). This question ...

iPhone native apps - access to call logs, SMS, calendar, iTunes library

As I understand there aren't any public APIs available or any 'legal'/'official' way of accessing those... I was just wondering how come some Desktop apps (MissingSync, iPhoneDrive) have access to those then... ...

Is there some sort of secure local storage on Windows?

I was thinking of making a small tool. It is not important what the tool will do. The important thing, is that the tool will need to store some sensitive information on the user's HDD. EDIT: The information that will be stored is USER'S information - I'm not trying to protect my own content, that I distribute with the app. I understand ...

Hook windows logon/logoff events

I am having a service which would be running at SYSTEM level. Now, i want to track the logged on user in it. Earlier i was trying to get the logged in user name from GetUserName api but in my case it returns "SYSTEM" every time. Is there anyway to get logged on username in my case? or is there any hook that i can install so that i may ...

Does A Program that is written with the Microsoft .NET framework compile/execute native code?

Newb question: Does a Program that is written with the Microsoft .NET framework compile/execute native code? I don't mean if there is a way not to have to install the .net framework on a machine. Simply put: does a .net application run on another layer like Java (i.e. bytecode). ...

Is there any work being done to create a C# compiler to produce native exe's?

Is there any work being done to create a C# compiler to produce native exe's? e.g. the output is a native exe and NOT a .NET assembly. ...

Why does Eclipse use a native launcher ?

Eclipse the IDE is one of the best examples of a huge desktop application written in Java. Most Java applications I've seen usually rely on a batch or shell script to build a string with the class path of the application, and launch the JVM with the class path as an env variable. Eclipse, on the other hand, relies on a native launcher....

Free code coverage tools

Are there any free code coverage tools for native (not managed) code? For either Windows or Linux platforms? ...

Debugging JVM crashes under Windows

I wrote a piece of software in Java that communicates with USB hardware by using a DLL provided by the hardware vendor. I used the Java Native Access library to write the wrappers to native code. Sometimes when I am running it, only on native code related functions, JVM crashes and I cannot find what caused the bug because it happens in ...

Can .NET PInvoke dynamically load a native dll from a user specified directory?

I have a .NET application and need to load a native library whose location is specified by the user. PInvoke looks like it'll only load from the global search paths (or a path specified at compile time?). Would the best method be to create a C++/CLI assembly which calls LoadLibrary at runtime? Would C++/CLI be simpler than C# PInvokin...

How do you get DirectShow to play a video from a resource?

I'm extending an application to play one of several videos on a control in a dialog. Starting with the Windowless sample, I've got this working, though the videos have to be separate files from the main executable. The ideal scenario from a packaging standpoint is for the videos to be included with the executable as resources. I did a ...

java.lang.UnsatisfiedLinkError in Linux.

Hello. I've managed to get into a linux machine to try the HotKey library suggested in this answer. I've compiled the sample code and now I run the program and I've got the following message: [oracle@machine jxgrabkey-0.2.1_i386]$ java -classpath lib/JXGrabKey.jar:Example JXGrabKeyTest Exception in thread "main" **java.lang.Unsatis...