Feed java with characters/string/bytestream from a c# class [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to have a java app running, using a function/method (with as little delay as possible I hope!) in a c# class...
The c# function takes a string from the java app, and returns a string.. Had to do it in c# to make a OleDbConnection in windows..

I'm not sure what exactly you need.
If you need to call Java code from inside C#, you could try IKVM.
If you need to launch a standalone Java app, use whatever .NET has for spawning subprocesses.
If the only reason why you're using C# is OleDbConnection, you could see if there's a Java driver for the database you need to contact. Or an ODBC driver, and use the JDBC/ODBC bridge.

I am author of jni4net, open source interprocess bridge between JVM and CLR. It's build on top of JNI and PInvoke. No C/C++ code needed. I hope it will help you.

Related

How to install WH_MSGFILTER? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am trying to catch all messages that receive another program. As I understand I need to use WinApi hooks, specifically WH_MSGFILTER, but I dont know how to install it properly. Can someone show me complete C# program using different WinApi hooks?
Hooks like that require a DLL that can be injected into another process. You cannot write such a DLL in C#, you cannot get the CLR injected. Only the low-level hooks can work, they don't require injection.
Check this project for an alternative. No idea how solid it is btw.
A process hook to another program requires a native dll (except for keyboard and mouse hooks). Can't be done in C#.

Running Java code in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am writing a silverlight application using c#. For the project I need to be able to compile and download a program to an external drive. I have the code to do this however it is written in Java.
The code is extensive and would take an excessive amount of time to translate all of it into c#. Is there an alternate way to translate the code into c# or is there a way to run java code within a c# project?
You could always compile it as an executable and run it with Process.Start.
You can use IKVM.net to convert the jar to a dll
In google you can find a online service for it or change same code witch doesn't work

How to implement something like "Fences" [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am fascinated by the program "Fences"
How can I implement something which resides on the desktop like it does?
you can move around the fences and they are persistent.
image i.i.com.com/cnwk.1d/i/tim//2009/10/05/Foreman_11108546_4825_fences_210x158.jpg http://i.i.com.com/cnwk.1d/i/tim//2009/10/05/Foreman_11108546_4825_fences_210x158.jpg
My guess is that it has been implemented using a dot net language. Can this be done in C# ?
It's possible that Fences is written in a .NET langage, but it's more likely to be written in C++. A program like this requires very tight integration with the Win32 API - which can be done from .NET, but is easier with C/C++.
Shell extensions required to be coded using a language tied to the Win32 API.
The 'appearance customization window' might be coded using .Net, but the core program is probably C++.

could obfuscated .Net C# Application be Decompiled? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have written a program in .net C# to encrypt some information.
To accomplish the task I used an array which contains confidential information.I need to know that is it possible to crack the exe.I mean can anybody get the array from the exe file.The array values are not shown in the application.I used community version of Dotfuscator which comes with Visual Studio.NET.
All I want to know that is it possible to extract the exe to access the member variables used in it.. ??
Yes, it would be very easy to decompile the application. You might want to install and run Reflector (or a similar equivalent) and see what gets exposed. Fundamentally, if there's sensitive information embedded in the application, it can always be found.
Definitely yes, if you didn't encrypt the Exe by using Dotfuscator or any other protection software, the cracker not just can see your array variables, but can return the whole source code of your application.

C++ Armadillo code in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I would like to use Armadillo in a C# application, Anyone had any experience using armadillo in C#, I am not familiar with C#.
I know armadillo has a .dll, is there anyway to import this dll in c#...
Armadillo is heavily based on templates, so you won't be able to use it with C# without overwhelming work.
If you have to use LAPACK, BLAS or Eispack with C# you can use DotNumerics
DotNumerics is a Numerical Library for .NET. The library is written in pure C# and has more than 100,000 lines of code with the most advanced algorithms for Linear Algebra, Differential Equations and Optimization problems. The Linear Algebra library includes CSLapack, CSBlas and CSEispack, these libraries are the translation from Fortran to C# of LAPACK, BLAS and EISPACK, respectively.

Categories