1. Pierre DETE
  2. PowerBuilder
  3. Wednesday, 29 April 2020 16:03 PM UTC

Hi PB users,

I have an issue using Orca librairie, I get (randomly) an error (R0015) calling the compileentryimport function. 

I'm almost sure my process was ok in R2.

I use pborca.h and pborca.lib 2017 R2 version but my Powerbuilder version is 1880 R3. 

Is there pborca.h and pborca.lib 2017 R3 Version ? If yes where to find it ? 

In fact, I can't remember where I found the 3 files orca.pdf, pborca.h and pborca.lib for R2. When I open the PDF, it contains : Orca Guide Powerbuilder 2017 R2.

The user guide says it should be available on Powerbuilder developer website but I can't find it.

Thx in advance.

Best regards,

(Take care)

 

 

 

Pierre DETE Accepted Answer Pending Moderation
  1. Thursday, 30 April 2020 12:25 PM UTC
  2. PowerBuilder
  3. # 1

Thank you.

Roland the lib was here and it's different from R2, I use it,  but it's not working better. 

Chris I applied the 1915 but same issue.

I'm going to open a support ticket ... but it's a random problem.  I

Well sorry, I found the solution and it's kind of my fault. There was a missing PBL in the librairie list I was using. We already identify this crashing issue in an old doc done for PB11.5.

It would be great to be able to not crashing PB in this case.

I try to use TRY  CATCH but the error is not caught, now I even don't get error message, PB crashes and disappear.

Is it the correct syntax?

wf_add_message("Import Orca: " + as_name)
ll_syntax_len = Len (as_syntaxe)
TRY
ll_buffer_len = wuo_orca.compileentryimport (wstr_orca_info, &
as_library, &
as_name, &
as_type, &
as_comment, &
as_syntaxe, &
ll_syntax_len)
CATCH (runtimeerror er)
MessageBox ("Erreur", er.GetMessage())
END TRY

 

Thx

 

 

Comment
  1. Roland Smith
  2. Thursday, 30 April 2020 13:52 PM UTC
If you are calling the ORCA functions directly from PowerBuilder, the .lib file isn't used. A .lib file is how the C compiler tells what functions a DLL has and what the arguments are. The functionality is in PBORC###.DLL and other DLLs called from it.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 29 April 2020 19:15 PM UTC
  2. PowerBuilder
  3. # 2

The ORCA files are found here:

C:\Program Files (x86)\Appeon\PowerBuilder ##.0\SDK\ORCA

My guess is that the PDF wouldn't be changed unless there was a change to the ORCA functions that needed to be in the documentation.

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 29 April 2020 19:05 PM UTC
  2. PowerBuilder
  3. # 3

Hi Pierre;

   Build 1880 is the first release or R3 (GA). Since then there were some MR's. The current MR for R3 would place you on build 1915. Please try this build and see if the problem is resolved. If not, please open a Support Ticket.

Regards ... Chris

Comment
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.