Search found 36 matches

by youyou
Tue Jan 22, 2019 4:26 am
Forum: Other Tools
Topic: Windows memory leak detection tool
Replies: 4
Views: 355

Re: Windows memory leak detection tool

In addition, if you want to locate a memory leak in a dynamic library loaded by the main program,
you also need to add LIB and header files to the dynamic library.
by youyou
Tue Jan 22, 2019 4:25 am
Forum: Other Tools
Topic: Windows memory leak detection tool
Replies: 4
Views: 355

Re: Windows memory leak detection tool

Create WIN32 project example:

# include "stdafx.h"

# include "VLD.h"

Int _tmain(int argc, _TCHAR* argv[])
{
Char *pBuf = new char[200];
Return 0;
}
by youyou
Tue Jan 22, 2019 4:25 am
Forum: Other Tools
Topic: Windows memory leak detection tool
Replies: 4
Views: 355

Re: Windows memory leak detection tool

After the installation is complete, in Visual C++ IDE "tools"-->"options"-->"project and solutions"-->"VC++ directories", "include files" increase VLD "\the include path", "libraries" increase VLD "\lib\Win32"path, in addition dynamic libraries "\bin\Win32 path" has been added to the environment var...
by youyou
Tue Jan 22, 2019 4:25 am
Forum: Other Tools
Topic: Windows memory leak detection tool
Replies: 4
Views: 355

Windows memory leak detection tool

Under Windows, Visual Leak Detector tool is used in combination with VS to detect
the location of memory Leak quickly and conveniently.
The download is at http://vld.codeplex.com/
by youyou
Mon Jan 14, 2019 10:42 pm
Forum: Other Tools
Topic: Windows Server 2008 configures the time Server
Replies: 3
Views: 172

Re: Windows Server 2008 configures the time Server

Hopefully it will be helpful to have colleagues who have encountered this problem 8-)
by youyou
Mon Jan 14, 2019 10:41 pm
Forum: Other Tools
Topic: Windows Server 2008 configures the time Server
Replies: 3
Views: 172

Re: Windows Server 2008 configures the time Server

This setting forces the host to declare itself a reliable time source, using a built-in CMOS clock. If you want to use an external time server, use the default a value. 3. Change the [Type] in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type to NTP. 4. Restart Win32Time s...
by youyou
Mon Jan 14, 2019 10:41 pm
Forum: Other Tools
Topic: Windows Server 2008 configures the time Server
Replies: 3
Views: 172

Re: Windows Server 2008 configures the time Server

The method is as follows: Server: By default, the standalone SERVER WINDOWS SERVER 2008 works as an NTP client, so the registry must be modified to run the system as an NTP SERVER. Please back up the registry file before working. 1. Change the key value HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Se...
by youyou
Mon Jan 14, 2019 10:40 pm
Forum: Other Tools
Topic: Windows Server 2008 configures the time Server
Replies: 3
Views: 172

Windows Server 2008 configures the time Server

Due to the work needs, I need to configure the time server in 2008. I found it on the Internet and successfully configured it. Please record:
First, WINDOWS SERVER 2008 turns off the NTP service by default and needs to be opened by changing the registry
by youyou
Mon Jan 14, 2019 10:37 pm
Forum: Solutions
Topic: SELinux is a solution that allows an x.so to be invoked normally
Replies: 1
Views: 161

Re: SELinux is a solution that allows an x.so to be invoked normally

Method one:
Modify /etc/selinux/config file,
Change the SELINUX = enforcing to SELINUX = disabled.
Then, save, close, and restart the machine.

Method two:
Execute the command chcon-t texrel_shlib_t XXX. So
by youyou
Mon Jan 14, 2019 10:37 pm
Forum: Solutions
Topic: SELinux is a solution that allows an x.so to be invoked normally
Replies: 1
Views: 161

SELinux is a solution that allows an x.so to be invoked normally

I have encountered many problems before. Because SELinux is on, when executing a program, it will prompt: error while loading Shared libraries: XXX. So: cannot restore segment prot after reloc: Permission denied.
JavaCard OS : Disclaimer