I have checked internally with our dev tem and it is neither advisable nor recommended to edit these OOTB files. However, the answer is yes you can edit ThingWorx-common.dll files. But if you decide to proceed editing these files, pls keep in mind that it may cause you upgrade and loss of existing projects.
Also, What is the purpose of editing these file? pls share your issue so that we can work on the real problem.
I am facing some issue on the .Net Edge SDK , The below function is pointing to the Thingworx Dotnet Dll files, Will PTC Resolve those issues , if its not recommended to edit the dll files or is there any workaround solution is there?.
Unhandled exception. System.EntryPointNotFoundException: Unable to find an entry point named 'CopyMemory' in DLL 'kernel32.dll'. at com.thingworx.communications.common.SecurityClaims.CopyMemory(IntPtr destination, IntPtr source, UInt32 length) at com.thingworx.communications.common.SecurityClaims.twCopyMemory(IntPtr destination, IntPtr source, UInt32 length) at RFIDReaderTwxEdge.RFIDReaderClient.<>c__DisplayClass3_0.<Main>b__0(IntPtr password, Int32 maxLength) in C:\QMWB\RFIDReaderTwxEdge\RFIDReaderClient.cs:line 83 at com.thingworx.communications.client.TwApiWrapper.twApi_Connect(UInt32 timeout, Int32 retries) at com.thingworx.communications.client.TwApiWrapper.Connect(UInt32 timeout, Int16 retries) at com.thingworx.communications.client.BaseClient.connect() at com.thingworx.communications.client.ConnectedThingClient.connect() at com.thingworx.communications.client.BaseClient.start() at com.thingworx.communications.client.ConnectedThingClient.start() at RFIDReaderTwxEdge.RFIDReaderClient.startClient(Object state) in C:\QMWB\RFIDReaderTwxEdge\RFIDReaderClient.cs:line 29 at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback()
C:\QMWB\RFIDReaderTwxEdge\bin\Debug\net6.0\RFIDReaderTwxEdge.exe (process 7388) exited with code -532462766.