1. Ed Haskin
  2. PowerBuilder
  3. Wednesday, 25 July 2018 19:38 PM UTC

 

I am working with PowerBuilder 2017 Standard Edition Version 2017 Build 1666. Application has been in use with many enhancements for many years.  Some the of the External Function definitions have an entry in the alias element that I cannot find any explanation of. An example is the "?" and "@@YGHPAD0@Z" part of the external function script "function long GetFormNumber2(string printer_name, string form_name) library "fcwin2.dll" alias for "?GetFormNumber2@@YGHPAD0@Z;Ansi""

Arthur Hefti Accepted Answer Pending Moderation
  1. Friday, 27 July 2018 07:23 AM UTC
  2. PowerBuilder
  3. # 1

Hi

these is a C++ behaviour when no DEF file was used. See: https://stackoverflow.com/questions/2804893/c-dll-export-decorated-mangled-names

Regards
Arthur

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 27 July 2018 06:47 AM UTC
  2. PowerBuilder
  3. # 2

First of all: Are these external functions being called anywhere? If not, you have no problem :)

The only advice I can give you, is to find out who made the FCWIN2.DLL and check for their documentation. If you haven't got a clue, but do have the DLL somewhere, right click on the file in the file explorer of windows and check the "details" tab. That might be filled with the information of the maker of the dll.

Other things you could do, is to use a tool like https://www.nirsoft.net/utils/dll_export_viewer.html or any other similar tool to view the functions.

If you search on "@@YGHPAD0@Z" it seems to be used more frequently with other DDL's.

Sorry I can't be of too much help, maybe someone else.

MiguelL

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.