I keep getting DllNotFoundExceptions when trying to call my native library from C# (using Mono). I have a native library, for which I'm adding bindings.
This is what I'm seeing:
$ grep DllImport generated/NativeLibrawLoader.cs | head -n 1
[DllImport("libfspotraw.dll")]
$ cat libfspotraw-sharp.dll.config
<configuration>
<dllmap dll...
i need to generate graphs and equations for a website.
the webserver runs on IIS and windows.
I was looking at mathplot but wasn't sure if it can be used in a web environment
.net is preferred
your help is appreciated
...
Hi,
I'm trying to setup AES encryption / decryption using the javascript library SlowAES and the RijndaelManaged class in .NET.
I chose this method after reading this post, where Cheeso has managed to get these two encryption methods to play together
"In my tests of the
COM-wrapped-SlowAEs, I used CBC mode,
and the encryption...
I use NDoc 1.3.1 to generate documentation in VS .NET 2003, framework v1.1.
For the following block
/// <example>
/// <code lang="C#" escaped="true">
/// try
/// {
/// // ...
/// }
/// catch (Exception ex)
/// {
/// // ...
/// }
/// </code>
/// </example>
in the code file, NDoc produces the contents in the <code> block formatte...
I'm working on a Visual Studio .Net program for someone, and recently the program's been complaining that it's from an unknown publisher. I understand the correct thing to do here is sign it, but for reasons I won't go into that's not an option.
The thing is, the program's never done this in any earlier versions. As far as I know, I hav...
Does anyone know how how to execute something like a "SELECT TOP n" in DB4O in C#
...
Hello,
I encountered the problem while trying to run unit testing with NUnit 2.5 in Vista 64bit, MS Visual Studio 2008 SP1, Projects framework 3.5.
I have 2 projects in solution, the first - main project and the second - project with tests. Both projects targeted "Any CPU" platform. In fact, I didn't changed anything concerning platform...
Setting RichTextBox as “ReadOnly” doesn't prevent embedded objects (like equations) from being edited by double-clicking them. I could disable the control but then there is a gray background (can't be just changed with BackColor) and no way to scroll. I tried to override OnDoubleClick in a derived class but no success.
...
I am implementing a custom XML formatter for log4.net
public class ISDSApplicationEventsLayout : XmlLayoutBase<br>
{<br>
protected override void FormatXml(...)<br>
{<br>
//Location Info <br>
writer.WriteStartElement("Method");<br>
writer.WriteString(**loggingEvent...
I'm creating a simple clipboard manager application. It monitors the content of a clipboard. When a change occurs (throu the win api message loop) it fires up a method to capture current content of clipboard and creates new object called clipboarditem. Next its building a ContextMeuStrip which consits of several clipboarditems created pr...
i am trying to create slider movement graphics. The code explain better this.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace temp
{
public partial class Form1 : Form
{
...
I have noticed that it is possible to define a custom class and then use operators like +,-,/ and * on a number of them rather than using methods to do so. For example, I created a Matrix class that does complex matrix algebra/differentiation and created it so that all the operations were controlled by methods:
Matrix m1 = new Matrix(ne...
I have written a basic Application for windows mobile 5.
It is using visual studio 2008 and c# .net
I am currently trying to find a way of storing my customer names but im not sure what format is best for storing data directly on the device ( i dont need it to integrate with any servers or anything)
I'm hoping someone here knows whic...
The web is full of different kinds of performance test of different languages, compilers, and virtual machines. Yet hardly any of these test the performance using some real-world scenario. In addition, searching Google for these kind of benchmarks usually yields mainly only several years-old benchmarks as those have had the most time to ...
What's the best library (if one exists) for converting nouns to and from plurals?
...
Good afternoon,
I am currently in the very early phase of a new project written in .Net and using Entity Framework for data persistence/storage. One of the features required is the ability to 'version' certain model types. E.g. one model is one 'Requirement' which will have n 'Requirement Versions', basically having a way of going back ...
Hi,
I have to develop an application with which my client will do visual design. By this I mean the graphical display and manipulation related entities. (Similar in principle to ERD, but obviously then again, completely different problem area)
Think of Visual Studio which has a toolbox, each item has some properties etc. Items have cer...
Hello everyone,
In the button click even handler of Form1, I want to create Form2. Here is my code,
even handler of button1 of Form1
// button1 belongs to Form1
private void button1_Click(object sender, EventArgs e)
{
Form2 form2 = new Form2("www.google.com");
form2.ShowDialog();
}
Form2 contructor
public Form2 (string str)...
The .NET Framework has unmanaged debugging and profiling APIs that I assume people/companies are familiar with. If someone was implementing debugger and profiler support for a new CLI runtime¹:
What would be the pros/cons of basic their operation on these existing APIs?
These APIs retain backward compatibility² by incrementing interfac...
I'm looking for a tool/technique which is the exact oposite to Oracle Loader. I need to read the whole table with geometries as fast as possible. The application is running on the same machine where Oracle is installed so some kind of "direct" access is possible. The table has around 3 millions records and fetching this amount of data th...