Have a look at https://community.appeon.com/index.php/qna/q-a/having-problems-invoking-pborc190-dll-compileentryimport-function and download this: https://community.appeon.com/index.php/codeexchange/powerbuilder/239-icon-replace-tool-for-pb-2019
Don't forget to read the added documentation. It has a bunch of API external function declarations in the object n_pbutil_orca. The function you'd need is PBORCA_CompileEntryImport190().
See below my adapted version of the external function declarations. Starting with PB2019 R3, the DLL no longer includes "190", so hence my adaptation here. I also seem to remember that this code will only work when running an EXECUTABLE and not having the PB IDE open.
Have fun!
//For PB 8
Function long PBORCA_SessionOpen80() Library "pborc80.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose80(ulong hORCASession) Library "pborc80.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList80(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc80.dll" alias for "PBORCA_SessionSetLibraryList;Ansi"
Function long PBORCA_SessionSetCurrentAppl80(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc80.dll" alias for "PBORCA_SessionSetCurrentAppl;Ansi"
Function long PBORCA_CompileEntryImport80(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc80.dll" alias for "PBORCA_CompileEntryImport;Ansi"
Function long PBORCA_CompileEntryImportList80(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc80.dll" alias for "PBORCA_CompileEntryImportList;Ansi"
Function long PBORCA_SessionGetError80(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc80.dll" alias for "PBORCA_SessionGetError;Ansi"
Function long PBORCA_CompileEntryRegenerate80(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc80.dll" alias for "PBORCA_CompileEntryRegenerate;Ansi"
Function long PBORCA_LibraryCommentModify80(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc80.dll" alias for "PBORCA_LibraryCommentModify;Ansi"
Function long PBORCA_LibraryCreate80(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc80.dll" alias for "PBORCA_LibraryCreate;Ansi"
Function long PBORCA_LibraryDelete80(ulong hORCASession, string lpszLibraryName) Library "pborc80.dll" alias for "PBORCA_LibraryDelete;Ansi"
Function long PBORCA_LibraryEntryCopy80(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc80.dll" alias for "PBORCA_LibraryEntryCopy;Ansi"
Function long PBORCA_LibraryEntryDelete80(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc80.dll" alias for "PBORCA_LibraryEntryDelete;Ansi"
Function long PBORCA_LibraryEntryMove80(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc80.dll" alias for "PBORCA_LibraryEntryMove;Ansi"
Function long PBORCA_LibraryEntryInformation80(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc80.dll" alias for "PBORCA_LibraryEntryInformation;Ansi"
Function long PBORCA_LibraryEntryExport80(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc80.dll" alias for "PBORCA_LibraryEntryExport;Ansi"
//For PB 9
Function long PBORCA_SessionOpen90() Library "pborc90.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose90(ulong hORCASession) Library "pborc90.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList90(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc90.dll" alias for "PBORCA_SessionSetLibraryList;Ansi"
Function long PBORCA_SessionSetCurrentAppl90(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc90.dll" alias for "PBORCA_SessionSetCurrentAppl;Ansi"
Function long PBORCA_CompileEntryImport90(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc90.dll" alias for "PBORCA_CompileEntryImport;Ansi"
Function long PBORCA_CompileEntryImportList90(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc90.dll" alias for "PBORCA_CompileEntryImportList;Ansi"
Function long PBORCA_SessionGetError90(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc90.dll" alias for "PBORCA_SessionGetError;Ansi"
Function long PBORCA_CompileEntryRegenerate90(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc90.dll" alias for "PBORCA_CompileEntryRegenerate;Ansi"
Function long PBORCA_LibraryCommentModify90(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc90.dll" alias for "PBORCA_LibraryCommentModify;Ansi"
Function long PBORCA_LibraryCreate90(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc90.dll" alias for "PBORCA_LibraryCreate;Ansi"
Function long PBORCA_LibraryDelete90(ulong hORCASession, string lpszLibraryName) Library "pborc90.dll" alias for "PBORCA_LibraryDelete;Ansi"
Function long PBORCA_LibraryEntryCopy90(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc90.dll" alias for "PBORCA_LibraryEntryCopy;Ansi"
Function long PBORCA_LibraryEntryDelete90(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc90.dll" alias for "PBORCA_LibraryEntryDelete;Ansi"
Function long PBORCA_LibraryEntryMove90(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc90.dll" alias for "PBORCA_LibraryEntryMove;Ansi"
Function long PBORCA_LibraryEntryInformation90(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc90.dll" alias for "PBORCA_LibraryEntryInformation;Ansi"
Function long PBORCA_LibraryEntryExport90(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc90.dll" alias for "PBORCA_LibraryEntryExport;Ansi"
//For PB 10
Function long PBORCA_SessionOpen100() Library "pborc100.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose100(ulong hORCASession) Library "pborc100.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList100(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc100.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl100(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc100.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport100(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc100.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList100(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc100.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError100(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc100.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate100(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc100.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify100(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc100.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate100(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc100.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete100(ulong hORCASession, string lpszLibraryName) Library "pborc100.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy100(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc100.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete100(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc100.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove100(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc100.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation100(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc100.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport100(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc100.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession100(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc100.dll" alias for "PBORCA_ConfigureSession"
//For PB 11
Function long PBORCA_SessionOpen110() Library "pborc110.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose110(ulong hORCASession) Library "pborc110.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList110(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc110.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl110(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc110.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport110(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc110.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList110(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc110.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError110(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc110.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate110(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc110.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify110(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc110.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate110(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc110.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete110(ulong hORCASession, string lpszLibraryName) Library "pborc110.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy110(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc110.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete110(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc110.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove110(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc110.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation110(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc110.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport110(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc110.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession110(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc110.dll" alias for "PBORCA_ConfigureSession"
//For PB 115
Function long PBORCA_SessionOpen115() Library "pborc115.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose115(ulong hORCASession) Library "pborc115.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList115(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc115.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl115(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc115.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport115(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc115.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList115(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc115.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError115(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc115.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate115(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc115.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify115(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc115.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate115(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc115.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete115(ulong hORCASession, string lpszLibraryName) Library "pborc115.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy115(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc115.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete115(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc115.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove115(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc115.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation115(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc115.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport115(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc115.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession115(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc115.dll" alias for "PBORCA_ConfigureSession"
//For PB 120
Function long PBORCA_SessionOpen120() Library "pborc120.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose120(ulong hORCASession) Library "pborc120.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList120(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc120.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl120(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc120.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport120(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc120.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList120(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc120.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError120(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc120.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate120(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc120.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify120(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc120.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate120(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc120.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete120(ulong hORCASession, string lpszLibraryName) Library "pborc120.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy120(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc120.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete120(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc120.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove120(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc120.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation120(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc120.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport120(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc120.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession120(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc120.dll" alias for "PBORCA_ConfigureSession"
//For PB 125
Function long PBORCA_SessionOpen125() Library "pborc125.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose125(ulong hORCASession) Library "pborc125.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList125(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc125.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl125(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc125.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport125(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc125.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList125(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc125.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError125(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc125.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate125(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc125.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify125(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc125.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate125(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc125.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete125(ulong hORCASession, string lpszLibraryName) Library "pborc125.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy125(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc125.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete125(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc125.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove125(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc125.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation125(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc125.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport125(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc125.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession125(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc125.dll" alias for "PBORCA_ConfigureSession"
//For PB 126
Function long PBORCA_SessionOpen126() Library "pborc126.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose126(ulong hORCASession) Library "pborc126.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList126(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc126.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl126(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc126.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport126(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc126.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList126(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc126.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError126(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc126.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate126(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc126.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify126(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc126.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate126(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc126.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete126(ulong hORCASession, string lpszLibraryName) Library "pborc126.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy126(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc126.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete126(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc126.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove126(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc126.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation126(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc126.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport126(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc126.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession126(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc126.dll" alias for "PBORCA_ConfigureSession"
//For PB 2017
Function long PBORCA_SessionOpen170() Library "pborc170.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose170(ulong hORCASession) Library "pborc170.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList170(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc170.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl170(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc170.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport170(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc170.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList170(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc170.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError170(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc170.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate170(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc170.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify170(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc170.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate170(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc170.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete170(ulong hORCASession, string lpszLibraryName) Library "pborc170.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy170(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc170.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete170(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc170.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove170(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc170.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation170(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc170.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport170(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc170.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession170(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc170.dll" alias for "PBORCA_ConfigureSession"
//For PB 2018
Function long PBORCA_SessionOpen180() Library "pborc180.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose180(ulong hORCASession) Library "pborc180.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList180(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc180.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl180(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc180.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport180(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc180.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList180(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc180.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError180(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc180.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate180(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc180.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify180(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc180.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate180(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc180.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete180(ulong hORCASession, string lpszLibraryName) Library "pborc180.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy180(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc180.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete180(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc180.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove180(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc180.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation180(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc180.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport180(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc180.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession180(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc180.dll" alias for "PBORCA_ConfigureSession"
////For PB 2019 (before R3)
//Function long PBORCA_SessionOpen190() Library "pborc190.dll" alias for "PBORCA_SessionOpen"
//Function long PBORCA_SessionClose190(ulong hORCASession) Library "pborc190.dll" alias for "PBORCA_SessionClose"
//Function long PBORCA_SessionSetLibraryList190(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc190.dll" alias for "PBORCA_SessionSetLibraryList"
//Function long PBORCA_SessionSetCurrentAppl190(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc190.dll" alias for "PBORCA_SessionSetCurrentAppl"
//Function long PBORCA_CompileEntryImport190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc190.dll" alias for "PBORCA_CompileEntryImport"
//Function long PBORCA_CompileEntryImportList190(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc190.dll" alias for "PBORCA_CompileEntryImportList"
//Function long PBORCA_SessionGetError190(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc190.dll" alias for "PBORCA_SessionGetError"
//Function long PBORCA_CompileEntryRegenerate190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc190.dll" alias for "PBORCA_CompileEntryRegenerate"
//Function long PBORCA_LibraryCommentModify190(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc190.dll" alias for "PBORCA_LibraryCommentModify"
//Function long PBORCA_LibraryCreate190(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc190.dll" alias for "PBORCA_LibraryCreate"
//Function long PBORCA_LibraryDelete190(ulong hORCASession, string lpszLibraryName) Library "pborc190.dll" alias for "PBORCA_LibraryDelete"
//Function long PBORCA_LibraryEntryCopy190(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc190.dll" alias for "PBORCA_LibraryEntryCopy"
//Function long PBORCA_LibraryEntryDelete190(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc190.dll" alias for "PBORCA_LibraryEntryDelete"
//Function long PBORCA_LibraryEntryMove190(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc190.dll" alias for "PBORCA_LibraryEntryMove"
//Function long PBORCA_LibraryEntryInformation190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc190.dll" alias for "PBORCA_LibraryEntryInformation"
//Function long PBORCA_LibraryEntryExport190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc190.dll" alias for "PBORCA_LibraryEntryExport"
//Function long PBORCA_ConfigureSession190(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc190.dll" alias for "PBORCA_ConfigureSession"
//For PB 2019 (R3 and later)
Function long PBORCA_SessionOpen190() Library "pborc.dll" alias for "PBORCA_SessionOpen"
Function long PBORCA_SessionClose190(ulong hORCASession) Library "pborc.dll" alias for "PBORCA_SessionClose"
Function long PBORCA_SessionSetLibraryList190(ulong hORCASession, string pLibNames[], int iNumberOfLibs) Library "pborc.dll" alias for "PBORCA_SessionSetLibraryList"
Function long PBORCA_SessionSetCurrentAppl190(ulong hORCASession, string lpszApplLibName, string lpszApplName) Library "pborc.dll" alias for "PBORCA_SessionSetCurrentAppl"
Function long PBORCA_CompileEntryImport190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, string lpszComments, string lpszEntrySyntax, ulong lEntrySyntaxBuffsize, ulong pCompErrorProc, ulong pUserData) Library "pborc.dll" alias for "PBORCA_CompileEntryImport"
Function long PBORCA_CompileEntryImportList190(ulong hORCASession, String pLibraryNames[], String pEntryNames[], ulong otEntryTypes[], String pComments[], String pEntrySyntaxBuffers[], ulong pEntrySyntaxBuffSizes[], ulong iNumberOfEntries, ulong pCompErrorProc, ulong pUserData) Library "pborc.dll" alias for "PBORCA_CompileEntryImportList"
Function long PBORCA_SessionGetError190(ulong hORCASession, ref String lpszErrorBuffer, ulong iErrorBufferSize) Library "pborc.dll" alias for "PBORCA_SessionGetError"
Function long PBORCA_CompileEntryRegenerate190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ulong pCompErrorProc, ulong pUserData) Library "pborc.dll" alias for "PBORCA_CompileEntryRegenerate"
Function long PBORCA_LibraryCommentModify190(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc.dll" alias for "PBORCA_LibraryCommentModify"
Function long PBORCA_LibraryCreate190(ulong hORCASession, string lpszLibraryName, string lpszComments) Library "pborc.dll" alias for "PBORCA_LibraryCreate"
Function long PBORCA_LibraryDelete190(ulong hORCASession, string lpszLibraryName) Library "pborc.dll" alias for "PBORCA_LibraryDelete"
Function long PBORCA_LibraryEntryCopy190(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc.dll" alias for "PBORCA_LibraryEntryCopy"
Function long PBORCA_LibraryEntryDelete190(ulong hORCASession, string lpszLibName, string lpszEntryName, ulong otEntryType) Library "pborc.dll" alias for "PBORCA_LibraryEntryDelete"
Function long PBORCA_LibraryEntryMove190(ulong hORCASession, string lpszSourceLibName, string lpszDestLibName, string lpszEntryName, ulong otEntryType) Library "pborc.dll" alias for "PBORCA_LibraryEntryMove"
Function long PBORCA_LibraryEntryInformation190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref PPBORCA_ENTRYINFO pEntryInformationBlock) Library "pborc.dll" alias for "PBORCA_LibraryEntryInformation"
Function long PBORCA_LibraryEntryExport190(ulong hORCASession, string lpszLibraryName, string lpszEntryName, ulong otEntryType, ref string lpszExportBuffer, ulong lExportBufferSize) Library "pborc.dll" alias for "PBORCA_LibraryEntryExport"
Function long PBORCA_ConfigureSession190(ulong hORCASession, PPBORCA_CONFIG_SESSION pSessionConfig) Library "pborc.dll" alias for "PBORCA_ConfigureSession"
In general, export and import are paired, export can export all, import can only import DataWindow, it is really confusing, as you said, all this is easy to understand :-)