I developed a DLL, let's call it DomainLogic.dll, with some public methods through [DllExport] annotation. Some of those methods make calls to another DLL, let's call it Utils.dll. I developed a demo WinForm application with some buttons that call methods of DomainLogic.dll and everything works as expected.
Download ✔ https://perdigahiara.blogspot.com/?ldf=2zUwck
They were able to successfully call dll methods that receive and return strings and open forms. However when they try to call a method that internally makes a call to another DLL (Utils.dll), a FoxPro error is displayed saying "Declare DLL call caused an exception".
1. UBS 9.2 Standalone Installation
1.1. Insert UBS Installation CD and install the required UBS software.
1.2. To detect the license, plug in the USB key (Blue colour) onto the computer. Start UBS, and at the Select Company menu, click on Setting to enter SmartLock Setting menu.
1.3. Select USB key.
1.4. Click Ok and you are done.
2. UBS 9.2 Multi-user Installation
On the Server
2.1. Start by installing the required UBS software in the Server. 2.2. Plug in the USB key LAN (Green colour) onto the computer.
2.3. Start UBS. For Window Vista, remember to right-click the UBS icon and select Run as
Administrator. This is for the purpose of registering the USB key only, you don't need to run UBS
as administrator for normal use.
2.4. At Select Companymenu, click on Setting to enter SmartLockSetting menu. 2.5. Select USB key for LAN, and select the computer's operating system. 2.6. You need to register the USB key:
Window XP/2000/2003/Vista - Tick USB LAN RegistrationVersion 1.0
Windows 98/ME - Tick Add usbserver2k.exe to the Startup Group. 2.7. Most new products have no built-in function to register SmartLock. You can manually run
USBLanReg.EXE to register. These files can be found under the Networkfolder on UBS program
folder.
2.8. Go into UBS program folder, then into network folder and run the application SetIPAddr8USBLAN.exe.
2.9. Key in the IP address of this computer, then click OK. It is strongly recommended that the Server be assigned a static or fixed IP address. Do not use automatic IP address or DHCP address to avoid problems in the future.
2.10. Restart the PC, or start the UBS LAN service, Usblan_ldr.
2.11. For Windows XP SP2 and Vista, be sure to create exception in the firewall for the smartlock service or turn off the firewall.
2.12. Share the UBS folder:
Generally, the whole UBS folder must be shared with Full Control. Under My Computer or Windows Explorer, look for the USB folder (e.g. ubsacc9O, ubswpay9O). Right-Click the UBS folder and select Sharing and Security.
There are 3 interfaces of file sharing:
a. Simple File Sharing (Window XP Home / Pro)
Make sure you tick both Share this folder on the network and Allow network users to change my files.
b. Advance File Sharing (Window XP Pro, Server 2000/2003)
Make sure to select Maximum allowed. Click Permissions, then highlight Everyone, then tick Full Control. Then Apply.
Go to Security, then highlight Everyone, then tick FullControl. Then Apply.
Note: If Everyone does not exist, then click Addand type in Everyone.
C. Vista File Sharing (Window Vista)
Select Guestfrom the pull down menu, click Add. Highlight Guestin the list, and then set the Permission Levelto Contributor. Click Share to finish.
If Guest is not available for select, click on the Networkand Sharing Center link. Select Turn off password protected sharing under Password protected sharing. Click Apply.
Once the folder is shared, you will see an icon on the folder as below:
2.13. Go into UBS. Under Select Companyscreen, add a new company, select it and let it generate the data.
2.14. Go back to the Select Companyscreen, and change the Directory to the format of\\servername\ubs program folder\data folder. e.g. \\PC1\ubsacc9O\data
2.15. Another way to determine the network directory is to use My Network Places to browse to the server and to the UBS data folder, then copy the address and paste into UBS.
2.16. Under Select Company screen, click Setting, then tick Country Setting. Change the Standard Report Directory into a network path.
e. g. C:\UBSSTK9O\REPORTS\REPORTS_TIMES_NEW_ROMAN\
change to: \\servername\UBSSTK9O\REPORTS\REPORTS_TIMES_NEW_ROMAN\
On the Workstation:
There are 2 methods:
2.17. Method 1 - Run from server shortcut:
Install UBS on the workstation. Then through the network, browse to the server, look for UBS folder, right-click the UBS executable file e.g. Daccount.exe and select Create Shortcut. Copy this shortcut and paste onto the desktop.
2.18. Method 2 - Run from local program:
Install UBS on the workstation. Start UBS on the workstation. Then under Select Company screen, add the company and directory following the one already created in the server. Also, change the Standard Report Directoryfollowing the directory on the server.
2.19. Either way, you have to into UBS program folder, then into network folder and run the application SetIPAddr_USBLAN.exe. This time key in the IP address of the Server, which is the PC which have the USB key plugged in. So UBS will directly contact this IP address to detect the license.
3. Common Reasons For License Detection Failure
3.1. Windows is unable to detect the USB Key.
Go to Device Manager (Right-Click on My Computer-'Hardware-'Device Manager). If the USB key is detected, it will show under Human Interface Devices. For each key detected, a pair of entries with the name HID-compliant Device and USB Human Interface Device will appear. That means if there is 3 USB keys, you should see 3 pairs of HID-compliant Devices and USB Human Interface Device. If not, unplug the USB keys, and plug in again to let Windows detect it again. If you have multiple USB keys, plug it in one by one slowly. Too fast will caused detection failure.
For Windows 98/ME, you must install the related driver for USB Human Interface Device. (Windows will prompt you for installation, and might require you to insert the Windows Installation CD.)
3.2. Server's IP address not set or wrong (Multi-user only)
You did not run SetIPAddr JUSBLA.exe to set the Server's IP address, or you entered the wrong IP address. Try running the program and enter the Server's IP address again.
3.3. Did not run USB LAN Registration on Server (Multi-user only)
Refer to 2.4 of UBS 9.2 Multi-user Installation.
3.4. Problems with USBLAN_LDR service (Multi-user only)
This service will appear after you have run USB LAN Registration. Go to Control Panel-> AdministrativeTools -> Services, look for USBLAN_Ldr. Make sure the Status is Started. If not, right-click the service and select Start. Also, try to restart the service by right-click the service and select Restart.
3.5. Blocked by Firewall (Multi-user only)
Windows XP Service Pack 2 and Windows Vista comes with built-in firewall. Make sure to create exceptions for UBS program and service, or turn off the firewall. Refer to 4. Windows Firewall Setting forVersion 9.2 for step-by-step guide.
Also check for third-party firewalls especially those bundled with antivirus software suites. Example is McAfee Antivirus and Norton Antivirus.
3.6. Network is not connected (Multi-user only)
Network needs to be connected and running to detect the multi-user licence.
4. Windows Firewall Setting for Version 9.2
4.1. The main objective is to give permission for the USB key service to run. The files involved is usbserver2k.exe and usblan_ldr.exe.
1. First make sure you have registered the USB key in UBS.
2. Control panel -> Administrative tools -> Services
3. Look for the service name USBLAN_Ldr
4. Right-click ->properties, take note of the 'Path to Executable' E.g. C:\UBSACC9O\NETWORK\USB\USBLAN_Ldr.EXE
5. Control panel -> Windows firewall
6. Select Exceptions, click Add program
7. Click Browse, browse to the directory as specified in the 'Path to Executable' E.g. C:\UBSACC9O\NETWORK\USB
8. Select usblan_ldr.exe, OK
9. Usblan_ldr.exe will be in the list of Exceptions.
10. Repeat steps 6 to 8, this time select usbserver2k.exe. For Windows Vista select usbserver.exe
11. Usbserver2k.exe or usbserver.exe will be in the list of Exceptions.
5. About other Firewalls
Symantec Norton Antivirus:
-Look for an option called Internet Worm Protection. This is actually a firewall. Use Program Control to
give permission to UBS programs and service, or disable the Internet Worm Protection.
McAfee Antivirus:-Look for an option called Personal Firewall. Then look for an option for Internet Programs, give Full Access to UBS programs and service, or disable the Personal Firewall.
6. FAQ
6.1. Comparison Chart between 9.2 USB, 9.0 USB and Smartlock Multi-user dongle
Feature
9.2 USB
9.0 USB
Smartlock
These release notes describe monthly date-patch updates to the Mule runtime engine on Runtime Fabric. In addition to these release notes, see the Anypoint Runtime Fabric release notes and the complete Anypoint Runtime Fabric documentation.
The security fix SE-21834, from the August 3 patch release, disables TLS v1 and TLS v1.1 by default. When you deploy an application to Runtime Fabric, you can enable TLS v1 or TLS v1.1 using the following JVM args:
Transactions' timeout is now honored. When a transaction times out, it is rolled back, and an error is thrown that can be handled with error handling. To enable this, activate the mule.tx.error.when.timeout feature flag.
93ddb68554