mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	[Application]
- Added some codes to avoid loading a dll from current directory. [Library] - Added new functions to avoid loading a dll from current directory. (CSystem::RmSetDllDirectory(), CSystem::RmLoadLibrary())
This commit is contained in:
		| @@ -19,6 +19,7 @@ | ||||
| #include "StdAfx.h" | ||||
| #include "MeasureCPU.h" | ||||
| #include "Rainmeter.h" | ||||
| #include "System.h" | ||||
| #include "Error.h" | ||||
|  | ||||
| #define STATUS_SUCCESS					0 | ||||
| @@ -148,7 +149,7 @@ bool CMeasureCPU::Update() | ||||
| { | ||||
| 	if (!CMeasure::PreUpdate()) return false; | ||||
|  | ||||
| 	if (CRainmeter::IsNT() != PLATFORM_9X) | ||||
| 	if (CSystem::IsNT()) | ||||
| 	{ | ||||
| 		if (m_Processor == 0 && m_GetSystemTimes) | ||||
| 		{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 spx
					spx