Poor bastard - NSF will almost be a proprietary format coming from Notes, probably some flavour of xml, I would approach IBM with a f***ing big gun and see if they have the format/api available as Garth suggested.
Never underestimate the power of human stupidity
i want to use my windows application both offline and online. when it connect to internet ,it should synchronize my data and should visible to everybody those who use this software.i am using vs 2010 and SQL server 2005.
I am trying to reference 2 identical assemblies with only their filename and version to be different. I need this in order to support several versions for backward compatibility.
I've created an alias name for one of them and the other stayed "global". Also added the "extern alias" declaration at the start of the source code.
I'm getting compiler error (my real module name was switched with [module name] here):
"An assembly with the same simple name '[module name], Version=22.214.171.124, Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to enable side-by-side."
One of these two assemblies does have a version 126.96.36.199, but the other has 188.8.131.52 and I can see that when I highlight them in the solution explorer in the properties window.
The assemblies are not signed, and I do not currently wish to make them as such. Why is this error? The versions are clearly different… is there a way to solve this?
i already found this before, but it does not offer a working solution:
i cannot change the assembly info since it is a compiled module and as i said - the assemblies are not signed, but they have a different version.
In an app where you think about "backward compatibility" and other things you should really use strong names for the assemblies - So I'd question why you are not using strong-names (signing). I can't think about a good reason for not doing it (and solving your problem) other than "too lazy to manage the certifcate"... Even if you don't worry about installing your assembly in the GAC or your manufacturer authenticity, there a good reasons for signing - you just found one!
Signing the assemblies would probably be the best solution - i agree.
At the moment it is not feasible since there are clients with this module in the field already that cannot be upgraded with new signed assemblies.
I am using a workaround for this in the meantime - I am changing the assembly name from the project properties (changing the version and the title in assembly information did not work). I still have a few tests to do before I'll know it is working for sure (without the need to upgrade any client modules).
I tried to get the input data (wheel, acceleration , break values, etc)from my Logitech G27 steering wheel in a C#.
I read a some articles about joysticks, and controllers (e.g. PS, XBOX), like: Interfacing with a Joystick using C# By M Harris.
I've implemented the following class (like in the example above):
public WeelG27(Control ParentControl)
// Find all the GameControl devices that are attached.
DeviceList gameControllerList = Manager.GetDevices(DeviceClass.GameControl,
// Verify if there are gamecontroller attachedif (gameControllerList.Count >0)
foreach (DeviceInstance devInst in gameControllerList)
if (devInst.DeviceType == DeviceType.Driving && devInst.ProductName.Contains("Logitech G27 Racing Wheel USB"))
Wheel = new Device(devInst.InstanceGuid);
Wheel.SetCooperativeLevel(ParentControl, CooperativeLevelFlags.Background | CooperativeLevelFlags.Exclusive);
Wheel.Properties.AxisModeAbsolute = true;
Wheel.Properties.AutoCenter = false;
if (Wheel == null)
catch (Exception Ex)
MessageBox.Show("WeelG27() Constructor error!\n" + Ex.Message + "\n" + Ex.StackTrace);
- After acquiring the device, the wheel cannot be moved (it is blocked and moves maximum 10 degrees left and right from center).
- Tried to set the Cooperative Level to Foreground (use the wheel only when application is active) but Poll() function throws an error when the tool is still pooling (thread or timer).
Does anyone had this problems? Solved this problems, or know how to solve them?
I would appreciate also some tips (or start points) on how:
- to move the wheel to different positions (from the tool).
- set different wheel properties (e.g. steering wheel maximum rotation angle or combine axes).
- make a mechanism so that I can assign dynamical button functionality (like in most games, you can choose what buttons you use to set different actions e.g. Wheel Button 1 -> Start Motor).
ODBC is probably simpler (and directly faster), but you bypass any business rules the RPG provides. So this is the first thing you need to decide for your circumstances. For example a well-established AS400 is pretty solid and the buisiness rules have probably evolved to a strong position, so you don't want to re-work those (favour calling RPG). Of course if you are looking to deprecate the RPG code base you would want to migrate it to the .net side (this favours ODBC, but will more than likely cause a lot of work).
To confuse the mix, further, newer versions of RPG are capable of exposing SOAP (and consuming) web services, you should consider those. My memory of these things is hazy (and we used a screenscraper in the end). I think you can also get biztalk to play with the iSeries, this provides a pathway for communication in more complex scenarios.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Sir Thomas More (1478 – 1535)
Last Visit: 31-Dec-99 19:00 Last Update: 17-Jan-18 19:09