Java uses the com.jacob package and runs normally in the Windows 10 development environment, but throws an exception in Windows server 2008.

Java uses the com.jacob package and runs normally in the Windows 10 development environment, but throws an exception in Windows server 2008. com.jacob.com.ComFailException: Invoke of: AudioOutputStream Source: Description: com.jacob.com.ComFailException: Invoke of: AudioOutputStream Source: Description: at com.jacob.com.Dispatch.invokev(Native Method) at com.jacob.com.Dispatch.invokev(Dispatch.java:625) at com.jacob.com.Dispatch.invoke(Dispatch.java:498) at com.jacob.com.Dispatch.putRef(Dispatch.java:819) at net.bjnblh.dc.textToSpeech.service.MSTTSSpeech.saveToWav(MSTTSSpeech.java:274) at net.bjnblh.dc.textToSpeech.service.impl.NoteReadingServiceImpl.makeWavAndReturnUrl(NoteReadingServiceImpl.java:70) at net.bjnblh.dc.textToSpeech.service.impl.NoteReadingServiceImpl.docToHtml(NoteReadingServiceImpl.java:53) at net.bjnblh.dc.textToSpeech.service.impl.NoteReadingServiceImpl$$FastClassBySpringCGLIB$$9c509776.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) […]

09 | Abnormal recovery, can the price paid be less?

As we discussed last time, Java’s exception handling is a factor that has an important impact on code performance. Therefore, the defects and abuse of Java error handling have become an old topic that has never diminished in popularity. However, Java’s exception handling has inherent advantages, especially its role in error troubleshooting, and it is […]

The scene mode sets vibration or silent mode, and changes to normal mode as the sound changes.

Getting the value of the scenario mode: AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); final int ringerMode = audioManager.getRingerMode(); Conclusion: The ringerMode value will change after the user modifies the sound, and the vibration mode is changed to normal mode, silent mode or silent mode The process is as follows /frameworks/base/services/core/java/com/android/server/audio/AudioService.java private void setStreamVolume(int streamType, int index, […]

SPI communication abnormality of stm32f405+drv8303

Project introduction: stm32f405 + drv8303 drives brushless motor The result of configuration communication with drv8303 through stm32’s built-in spi library function is always abnormal, and the configuration ControlRegister1 and ControlRegister2 cannot be correctly read back. The code is now attached to analyze the reason. The following is the code for drv8303: #ifndef __DRV8303_H #define __DRV8303_H […]

Solve abnormal situations such as ghosting or flickering caused by Z conflict when osg draws a scene

Table of Contents 1. Raising the question 2. Introduction to Z-fighting 2.1. Causes of Z-fighting 2.2. How to eliminate Z-conflict (z-fighting) 3. Code implementation 1. Question raising Today I drew a checkerboard. I clicked the mouse on the checkerboard and drew a red circle at the click point. However, the circle was always abnormal. The […]

[kali] Generate Trojans and bind normal software to achieve remote control

Article directory Need to use shellter Need to install wine32 After installing wine32, run shellter Follow the steps below to solve wine: could not load kernel32.dll, status c0000135 Install winetricks wine system dynamic library configuration Run shellter Configure parameters Need to use shellter If not, you need to install it apt install shellter ┌──(root?kali)-[~] └─# […]

Detailed analysis of the whole process of AVfilter audio filtering loudnorm in ff_ffplay.c

Before you begin: Prepare: ?Have a basic understanding of the basic structures of AVfilter, such as AVFilterGraph and AVFilterContext. ?Compile the debug version of ffmpeg, and breakpoints can enter the linked dynamic library. reward: ?Take loudnorm as an example to quickly understand the general process of AVfilter audio filtering. Then when facing other audio optimization […]

python requests.get sends Http request and the response result is garbled, but the Postman request result is normal.

Recently, I am writing a crawler program. I copy the URL and header of the web page’s http request, and use python requests and postman to request respectively. As a result, I use postman to send an http get request, and I can get normal json data, but when I use python’s requests to send […]