Sha256: d87ca833b502fb93cd2920ee4456681f2527c18ebad5035c4d992861f2818757
Contents?: true
Size: 815 Bytes
Versions: 4
Compression:
Stored size: 815 Bytes
Contents
#include "stdafx.h" #include "AutomatedText.h" #include "StringHelper.h" extern "C" { __declspec ( dllexport ) void Text_GetValue(const FindInformation& findInformation, char* theValue, const int maximumLength) { try { auto control = gcnew AutomatedText(findInformation); StringHelper::CopyToUnmanagedString(control->Text, theValue, maximumLength); } catch(Exception^ e) { Console::WriteLine("Text_GetValue: {0}", e->Message); } } __declspec ( dllexport ) void Text_SetValue(const FindInformation& findInformation, const char* theValue) { try { auto control = gcnew AutomatedText(findInformation); control->Text = gcnew String(theValue); } catch(Exception^ e) { Console::WriteLine("Text_SetValue: {0}", e->Message); } } }
Version data entries
4 entries across 4 versions & 1 rubygems