@@ -189,7 +189,7 @@ namespace NewRelic { namespace Profiler {
189
189
HRESULT corProfilerInfoInitResult = pICorProfilerInfoUnk->QueryInterface (__uuidof (ICorProfilerInfo4), (void **)&_corProfilerInfo4);
190
190
if (FAILED (corProfilerInfoInitResult)) {
191
191
// Since MinimumDotnetVersionCheck already queried for minimum required interface, this check is just for safety
192
- LogError (_X ( " Error initializing CLR profiler info: " ) , corProfilerInfoInitResult);
192
+ LogError (L " Error initializing CLR profiler info: " , corProfilerInfoInitResult);
193
193
return CORPROF_E_PROFILER_CANCEL_ACTIVATION;
194
194
}
195
195
@@ -199,12 +199,12 @@ namespace NewRelic { namespace Profiler {
199
199
&runtimeInfo->runtimeType , &runtimeInfo->majorVersion , &runtimeInfo->minorVersion , nullptr , nullptr , 0 , nullptr , nullptr );
200
200
201
201
if (FAILED (runtimeInfoResult)) {
202
- LogError (_X ( " Error retrieving runtime information: " ) , runtimeInfoResult);
202
+ LogError (L " Error retrieving runtime information: " , runtimeInfoResult);
203
203
return CORPROF_E_PROFILER_CANCEL_ACTIVATION;
204
204
}
205
205
206
206
if (!SetClrType (runtimeInfo)) {
207
- LogError (_X ( " Unknown Runtime Type found: " ) , runtimeInfo->runtimeType );
207
+ LogError (L " Unknown Runtime Type found: " , runtimeInfo->runtimeType );
208
208
return CORPROF_E_PROFILER_CANCEL_ACTIVATION;
209
209
}
210
210
@@ -411,7 +411,7 @@ namespace NewRelic { namespace Profiler {
411
411
CComPtr<ICorProfilerInfo8> temp;
412
412
HRESULT result = pICorProfilerInfoUnk->QueryInterface (__uuidof (ICorProfilerInfo11), (void **)&temp);
413
413
if (FAILED (result)) {
414
- LogError (_X ( " .NET Core 3.1 or greater required. Profiler not attaching." ) );
414
+ LogError (L " .NET Core 3.1 or greater required. Profiler not attaching." );
415
415
return CORPROF_E_PROFILER_CANCEL_ACTIVATION;
416
416
}
417
417
return S_OK;
@@ -421,7 +421,7 @@ namespace NewRelic { namespace Profiler {
421
421
CComPtr<ICorProfilerInfo4> temp;
422
422
HRESULT interfaceCheckResult = pICorProfilerInfoUnk->QueryInterface (__uuidof (ICorProfilerInfo7), (void **)&temp);
423
423
if (FAILED (interfaceCheckResult)) {
424
- LogError (_X ( " .NET Framework 4.6.1 is required. Detaching New Relic profiler." ) );
424
+ LogError (L " .NET Framework 4.6.1 is required. Detaching New Relic profiler." );
425
425
return CORPROF_E_PROFILER_CANCEL_ACTIVATION;
426
426
}
427
427
0 commit comments