Recent

Author Topic: Read/Parse PDB file to get symbol details  (Read 1072 times)

tooknox

  • New Member
  • *
  • Posts: 40
Re: Read/Parse PDB file to get symbol details
« Reply #15 on: May 16, 2026, 09:57:17 am »

LeP

  • Sr. Member
  • ****
  • Posts: 348
Re: Read/Parse PDB file to get symbol details
« Reply #16 on: May 16, 2026, 04:12:58 pm »
In replay to @Marcov (as note) in gitlab regarded to issue (I don't have acces sto it), safecall working as getter / setter property in Delphi.

Code: Pascal  [Select][+][-]
  1.     .......
  2.     function Get_Visible: WordBool; safecall;
  3.     procedure Set_Visible(Value: WordBool); safecall;
  4.     ........
  5.     property Visible: WordBool read Get_Visible write Set_Visible;
  6.  

EDIT: how is described in RIDL

Code: Pascal  [Select][+][-]
  1.     [propget, id(0x000000C9)]
  2.     HRESULT _stdcall Visible([out, retval] VARIANT_BOOL* Value);
  3.     [propput, id(0x000000C9)]
  4.     HRESULT _stdcall Visible([in] VARIANT_BOOL Value);
  5.  
« Last Edit: May 16, 2026, 06:26:24 pm by LeP »
Un Sistema per domarli, un IDE per trovarli, un codice per ghermirli e nel framework incatenarli.
An operating system to tame them, an IDE to find them, a code to catch them and in the framework chain them.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Re: Read/Parse PDB file to get symbol details
« Reply #17 on: May 31, 2026, 10:33:08 pm »
I committed an initial fix to trunk, please test.

tooknox

  • New Member
  • *
  • Posts: 40
Re: Read/Parse PDB file to get symbol details
« Reply #18 on: June 05, 2026, 07:36:13 pm »
Hey marcov,

That's awesome  :)

Had a tough week at work, will test and report back in some time
« Last Edit: June 06, 2026, 08:56:26 am by tooknox »

tooknox

  • New Member
  • *
  • Posts: 40
Re: Read/Parse PDB file to get symbol details
« Reply #19 on: June 06, 2026, 10:01:58 am »
Just tested it works flawlessly. All the getters are properly declared now.

Saw your commit too with bFoldHResult, good work !!  :)

Thanks for pushing the change this quick, didn't expect it.
« Last Edit: June 06, 2026, 10:03:29 am by tooknox »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Re: Read/Parse PDB file to get symbol details
« Reply #20 on: June 06, 2026, 02:48:12 pm »
Great that it works. I'll see if I can merge it to fixes.

 

TinyPortal © 2005-2018