Posted: 6 Jan 2019 15:59 EST Last activity: 7 Jan 2019 12:56 EST
Refering Microsoft DLL [Dynamic Link Library] as import in Pega Library / compile error in library issue
I refered Microsoft DLL [Dynamic Link Library] in Pega Library/ Function as shown in the attached compilerclasspath.PNG attached here.
My Requirement I need to create a function/library where I need to refer Microsoft DLL [Dynamic Link Library] like we import java packages in a Pega library and need to use DLL referred library code in a function.
I am using Pega Infinity i just added DLL in System-Setting- compiler class path as shown in the attached compilerclasspath.PNG then submitted is did not through any errors.
But when I refer DLL related package in Pega Library and try to save is throwing an error attached[ DLLPegaLibraryError.PNG] , since I cannot able to save the library then not able to compile the library, it leads to not able to create a function.
Note: I restarted server many times so that is not the issue, still it my library did not recognize DLL package.
In the screenshot I see a local file mentioned for DLL. Is the DLL file present at this path on the server?Or is it the local file system path. Also, if it is present in the server, can you put it in a location in which there is no space in the path. For example the current path has "program files". So can you put the DLL in an other folder which does not have spaces?
See the attached clear image software installed and clearimage dll file, that's how the software installed, i just put the dll location exactly, may be i can rename clear image software extraction manually but it will affect all the references.