Use JNI instead of JNA to call native code?
JNA seems a fair bit easier to use to call native code compared to JNI. In what cases would you use JNI over JNA? ...
JNA seems a fair bit easier to use to call native code compared to JNI. In what cases would you use JNI over JNA? ...
I've to implement my custom native-compiled Windows programming language. Is there an easier way then translating it to ASM, or translating it to C/C++ and then use a C/C++ compiler? Is there any SDK or something? Thank you. ...
Writing fast native applications, with API calls and etc, in a modern cross platform programming language like C# would be awesome, wouldn't it? For example if you want to write a simple utility for helping IT people with installing things, which wouldn't need another components, in an easy and modern programming language? or if you want...
i have a application which has 2 parts one is a webview and other is a native iphone application. I want to invoke a native iphone application from a website inside a webview. ...
On one of my two computers I see following behaviour: Each time I press F10 (Step over) or F11 (Step Into) in the disassembler window, the focus is switched to the source view, resulting in next F10 / F11 done on the source level unless I switch focus back. Can anyone recommend me what settings to inspect, or what to try to stay in the...
Easy enough to register a custom protocol handler so that a native app gets launched by a URL in Safari. However, doing this leaves the current browser window open. If the app then provides a link back to a URL (via openURL), that url will open in a new Safari window, ignoring the existing window. I asked a question here about loading...
Does anyone know of any resources that describes some techniques for improving security on the client side of an application? I do not expect to make anything completely "hack-proof", as I understand that's a completely futile exercise - I merely want to give people a bit of a hard time trying to mess with the program contents, to dissua...
I made a simple java program that sends bytes to the parallel port, which uses a .dll along with two other classes (pPort.java and ioPort.java) to accomplish it, and it works perfectly fine. However, I started making another program on NetBeans IDE which has a similar function. It compiles perfectly, but when I run it I get: Exception ...
For instance, is the following legal public class Foo { private native int bar; } ...
Hi all, my application users the SWT Color Cell Editor to set a color property. This class in turn users the native color dialog - which offers preset and custom colors. My users are frustrated because whilst the color dialog allows them to enter custom colors, the application doesn't remember these custom colors (in either Win32 or OS...
There's a program written entirely in C# that targets .NET Framework 2.0. Is there a way I could somehow compile (translate) managed EXE to a native one so it could be .NET-agnostic? I know there are probably commercial products for that purpose... but they are a bit expensive. The problem is that we are to deploy the program on compute...
What are the programming languages that compile to native code and which have provided a comprehensive library with them? Libraries that includes functionality such as Networking, File IO, RegEx, Database, Graphics, Multimedia, Win32 API bindings, File compression, etc. ...
I have a native C++ DLL which is used as a plug-in in another application. This DLL has an embedded manifest and depends on a private assembly located in a folder external to the application. The application fails to load my plug-in DLL because my DLL depends on a private assembly which is never found (it is not located in the applicatio...
It’s fairly well documented that when .NET's automatic garbage collector runs, it will temporarily pause all running managed threads associated with the application domain. What I haven't been able to discover are details on what happens to native threads created by the application when garbage collection occurs (ie. using _beginthreadex...
What is the correct way of casting (in C++/CLI) from a native code enum to a managed code enum which contain the same enum values? Is there any difference with using the C# way of casting like for example (int) in C++/CLI. ...
I think I'm somewhat confused about compiling .NET byte-code to native code, or maybe I'm confused about the end result. So please bear with me as I try to sort through what I think I understand so you can help me figure out what I'm missing. What I'd like to do is compile my application written in C# down to regular native code like I...
Does anyone know if Flash will be able to run independent from the browser? I mean native apps in Flash, not just the player in a browser. The Symbian OS can do that, however I have yet to find an article which explicitly states what will become available in the case of the iPhone and the Android platform. I am not asking about dates, as...
.NET assemblies that contain a mixture of managed and unmanaged code cannot be ILMerged with other assemblies. How can I verify if a given .NET assembly contains purely managed code, or a mix of managed and unmanaged code? ...
Which technology stack do you recommend for developing native windows executable (has GUI), other than .NET stack? Other that C++ (MFC, ...) some could be named; yet which one is mature and pragmatic enough? Delphi 7? Common Lisp (Which one is proper for developing GUI?)? Scheme? Qt or wxXXX stack? ...
I have an native C++ library which makes use of a large static buffer (it acquires data from a device). Let's say this buffer is defined like this: unsigned char LargeBuffer[1000000]; Now I would like to expose parts of this buffer to managed C++, e.g. when 1000 bytes of new data are stored by the library at LargeBuffer[5000] I would...