1. Yakov Werde
  2. PowerBuilder
  3. Friday, 27 August 2021 19:20 PM UTC

Hello,

Know where I can find PFC_n_cst_filesrvWin32 "like" file services extracted and abstracted from the PFC?

I need to port PFC visual layer service code to a non-visual service layer. The windows code uses directory and a few other n_cst_filesrv services 

Thanks

 

Yakov Werde Accepted Answer Pending Moderation
  1. Monday, 30 August 2021 21:00 PM UTC
  2. PowerBuilder
  3. # 1

Thanks John

I'm taking the do-it-yourself porting strategy for now .  I worked in an ISV multi-developer shop for 5+ years.  They had the PFC services porting work already done before I arrived.  Since it was a part of their enterprise application suite, even though they kept the comment headers in the code, they didn't share their "Out of Framework" Port with the general public.

I really thought that so many years downstream from OpenSource PFC, some group would have made generic type services publicly available.

Today, I spent a some time moving of_dirlist( ) into a POPO (plain Old Powerbuilder Object) NVO.  I'll likely do the same for each function as I need it.

Yakov

Comment
  1. John Fauss
  2. Monday, 30 August 2021 21:48 PM UTC
That's probably the best approach, since no one has responded to your inquiry. I hope the number of functions you'll need is relatively small. Good luck!
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 27 August 2021 20:41 PM UTC
  2. PowerBuilder
  3. # 2

Yakov - 

Do you have a list of the File Service functions you need? If no one has exactly what you've asked for, it might be simpler to create an "equivalent" NVO with only the functions you need rather than convert all 60+ functions.

Do you need the external function declarations for the WinAPI calls to be 64-bit compatible (i.e., use Longptr datatype, etc.)?

How quickly do you need this?

Best regards, John

Comment
There are no comments made yet.
Yakov Werde Accepted Answer Pending Moderation
  1. Friday, 27 August 2021 20:01 PM UTC
  2. PowerBuilder
  3. # 3

Thanks Chris,

 

This is very nice useful information which I have known about for years.   But OpenSource PFC doesn't address my immediate requirement

I'm looking for a *standalone* version of PFC file service (which are higher level wrappers onto Windows API calls) 

EXTRACTED from PFC.  (Yes it can contain all the opensource copyright notices)

I.E. You can use file services without the PFC PFE spiderweb of interrelated classes in a NON visual application run as a service

Yakov

Comment
  1. Chris Pollach @Appeon
  2. Friday, 27 August 2021 20:23 PM UTC
If I recall, the FS module was not tied to the entire PFC framework and can be extracted for any App's use.
  1. Helpful
  1. Yakov Werde
  2. Friday, 27 August 2021 20:37 PM UTC
Not as easy as it sounds at first blush.



pfc_n_cst_filsrvwin32 references n_ds - pfc_n_ds refences n_tr pfc_tr and n_cst_dssrv and off we go to the sticky fly paper races

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 27 August 2021 19:37 PM UTC
  2. PowerBuilder
  3. # 4

Hi Yakov;

 FYI: http://github.com/OpenSourcePFCLibraries

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.