1. ma jack
  2. PowerBuilder
  3. Wednesday, 8 March 2023 09:40 AM UTC

Hello everyone!


I use the LibraryExport function to export all the objects in pbl. When I want to use the LibraryImport function to import, I see in the document that the LibraryImport function can only import the DataWindow type. Why is this ?

Are there any other function that can import other types into pbl, such as window

LibraryExport: https://docs.appeon.com/pb2019r3/powerscript_reference/ch02s04s477.html
LibraryImport: https://docs.appeon.com/pb2019r3/powerscript_reference/ch02s04s478.html

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 8 March 2023 09:59 AM UTC
  2. PowerBuilder
  3. # 1

Hi,

That's a very good question, but I don't know the answer to it. It would make a great feature request though!

Many years ago, I found some code from someone who figured out how to be able to do this using some API functions, but unfortunately I've lost that code long time ago. I used it and allowed to import any type of object.

[EDIT], correctly corrected by Andreas: you cannot do this using orca SCRIPT. See my other answer with sample code to figure out how to use orca API functions.

So, without that information, the only way you could do this now, is by using ORCA script, maybe by running it from a batch file.

regards.

Comment
  1. Miguel Leeuwe
  2. Wednesday, 8 March 2023 10:42 AM UTC
  1. Helpful
  1. Andreas Mykonios
  2. Wednesday, 8 March 2023 10:53 AM UTC
I don't think it can be done using orca script. It can be done using orca sdk (pborca.h & pborca.lib provided with PB). This will require some C knowledge. Whatever you have seen in the past could be based on orca. I think that there was also a PBNI extension based on orca...

Andreas.
  1. Helpful 1
  1. Miguel Leeuwe
  2. Wednesday, 8 March 2023 11:20 AM UTC
Andreas, I think you're right. Orca script was build using the SDK, which indeed does allow it. See my other answer with the link to the icon-replace-tool-for-pb-2019 (R3 or higher versions of PB need to adapt some code).
  1. Helpful 1
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 8 March 2023 10:24 AM UTC
  2. PowerBuilder
  3. # 2

Hi,

Datawindows are only text files. There is no compiled code of it in the PBLs. 

The other objects have source code and compiled code. I think this is the reason you can't import it because it would be necessary to compile it and maybe also depending objects.

Regards,

René

Comment
  1. Miguel Leeuwe
  2. Wednesday, 8 March 2023 13:06 PM UTC
That's probably the best solution!
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 8 March 2023 15:33 PM UTC
(BTW: this is what Ren'e also said :) )
  1. Helpful
  1. Roland Smith
  2. Thursday, 9 March 2023 01:58 AM UTC
A DataWindow object does have compiled code. I believe the difference is that a DataWindow import doesn't require the entire IDE being installed, it works with just the runtime.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 8 March 2023 11:12 AM UTC
  2. PowerBuilder
  3. # 3

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"

 

Comment
  1. Arnd Schmidt
  2. Wednesday, 8 March 2023 13:59 PM UTC
LOL... I love this forum and how replies, comments and timelines are still confusing me :-)
  1. Helpful 1
  1. Miguel Leeuwe
  2. Wednesday, 8 March 2023 14:02 PM UTC
Yes, I'm having trouble too sometimes. Also, you might be commenting something or answering something and meanwhile other people have done the same.

regards.
  1. Helpful
  1. Roland Smith
  2. Wednesday, 8 March 2023 15:07 PM UTC
I created a Migrator tool for our InfoMaker users. It migrates all libraries in a folder to the latest version.

I created an ancestor object that defines the ORCA functions in pborc.dll and has the PB code in it. Then I have objects that inherit from that and override the external function declarations for versions prior to 2019-R3. The app just instantiates the object needed for the desired IM version.
  1. Helpful 2
There are no comments made yet.
Kevin Ridley Accepted Answer Pending Moderation
  1. Wednesday, 8 March 2023 15:15 PM UTC
  2. PowerBuilder
  3. # 4

Just FYI u can drag objects like windows from one pbl to another in the library painter to copy them.  If they are in different targets, just add the second target to your workspace temporarily and drag.

 

HTH, 

Kevin

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 8 March 2023 15:29 PM UTC
  2. PowerBuilder
  3. # 5

Hi Ma;

  It was actually PowerSoft that blocked the LibraryImport() command from working for only DataWindow objects because they wanted to sell ORCA licenses (to make more money). The original LibraryImport feature did not have this restriction. There is no technical reason that the LibraryImport()  command could not work on any PB object class! This restriction was not changed by Sybase (who stopped charging for ORCA) nor SAP either. When Appeon inherited PB from SAP in 2016, this restriction was still in place.

  My suggestion would be to open a Support Ticket as an enhancement request to drop this restriction. IMHO, it would also promote 3rd party PB tool development as well as ORCA can be quite unwieldy to use. Using the LibraryImport() command with no object class restrictions would be a more 4GL approach as well - and of course - PB was originally designed to be a 4GL not a 3GL like C++ (or even C# for that matter). 

I love KISS.  Just my $0.02 (before COVID inflation).  ;-)

Regards ... Chris

Comment
  1. ma jack
  2. Thursday, 9 March 2023 01:41 AM UTC
Thank you Chris

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 :-)
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.