| |
Forum |
Topics |
Posts |
Last Post |
Moderator(s) |
|
pcProx |
|
 |
6070 (HID old model) |
1 |
1 |
11/10/2004 09:46:21 by: rlanduyt |
|
|
 |
ANY |
0 |
0 |
|
|
|
 |
RS-232 |
2 |
2 |
05/11/2005 15:40:02 by: rlanduyt |
|
|
 |
USB |
1 |
2 |
08/16/2005 12:09:48 by: philgaertner |
|
|
SoftwareDevelopers |
|
 |
6070 (HID old model) The HID PN6070 is our older product developed some 5 years ago. It was developed for a secure logon application (AIR ID). This software is no longer supported as most users have moved forward to our new USB and RS-232 designs. You may still purschase the SDK for the RDR-6070 at: http://www.rfideasstore.com/rfideas/pcproxsdk.html but it probably makes more sense to move onto the new pcProx-232 and pcProx-USB platforms and their SDK: http://www.rfideasstore.com/rfideas/pcproxusb.html
The new readers are configurable using free software, have flash memory and can be useful for employee identification, enrollment, PC/LAN logon, cafeteria payments systems and more. Please visit the Learning Center at www.RFIDeas.com to discover more uses for the proximity cards. The following is a link to the USB model of our pcProx reader: http://www.rfideas.com/Products/pcPROX_USB/pcprox_usb.html
You may still order the 6070 (Our PN is RDR:6070): http://www.rfideasstore.com/rfideas/pcproxrsread.html |
0 |
0 |
|
|
|
 |
AIR ID (formerly RFID1356i) |
2 |
2 |
09/23/2005 09:33:17 by: rlanduyt |
|
|
 |
C# This article (from http://www.codeproject.com/useritems/dynamicinvokedll.asp) demonstrates how to call an unmanaged MFC dll function from a C# code. Code using Reflection namespace. To use code snippets below you must add following.
using System.Reflection.Emit;
using System.Reflection;
Imagine you have a MFC dll (getmyversion.dll) with function named int GetDllversion(char* verstr) which returns your dll's version in verstr.
Below function creates a dynamic assembly object. And using DefinePInvokeMethod method creates a method which we will use it to access our dll function. To complete our global ops for our dynamic module call CreateGlobalFunctions. Using GetMethod function of our previously created method we can invoke our mfc dll funtion.
public object DynamicDllFunctionInvoke( string DllPath, string EntryPoint ) { // Version string definition byte[] verstr = new byte[1024]; //Define return type of your dll function. Type returnType = typeof(int); //out or in parameters of your function. Type [] parameterTypes = {typeof(byte[])}; object[] parameterValues = {verstr}; string entryPoint = entrypoint; // Create a dynamic assembly and a dynamic module AssemblyName asmName = new AssemblyName(); asmName.Name = "tempDll"; AssemblyBuilder dynamicAsm = AppDomain.CurrentDomain.DefineDynamicAssembly(asmName, AssemblyBuilderAccess.Run); ModuleBuilder dynamicMod = dynamicAsm.DefineDynamicModule("tempModule");
// Dynamically construct a global PInvoke signature // using the input information MethodBuilder dynamicMethod = dynamicMod.DefinePInvokeMethod( entryPoint, DllPath, MethodAttributes.Static | MethodAttributes.Public | MethodAttributes.PinvokeImpl , CallingConventions.Standard, returnType, parameterTypes, CallingConvention.Winapi, CharSet.Ansi);
// This global method is now complete dynamicMod.CreateGlobalFunctions();
// Get a MethodInfo for the PInvoke method MethodInfo mi = dynamicMod.GetMethod(EntryPoint); // Invoke the static method and return whatever it returns object retval = mi.Invoke(null, parameterValues); // Filled verstr paramter. MessageBox.Show(System.Text.ASCIIEncoding.ASCII.GetString(verstr)); return retval; }
Sample calling of the method is below.
DynamicDllFunctionInvoke(@"c:\getmyversion.dll","GetDllVersion"); calaquendi
|
1 |
3 |
05/14/2007 11:59:01 by: techie |
|
|
 |
pcProx |
1 |
1 |
11/10/2004 09:51:27 by: rlanduyt |
|
|
| Statistics |
| |
5 of 227 Members have made 11 posts in 8 forums, with the last post on 05/14/2007 11:59:01 by: techie. |
| There are currently 8 topics. |
| Please welcome our newest member: Tech. |