NO

Author Topic: Experimental FindAsmProto Add-In for POAsm  (Read 2416 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1555
Experimental FindAsmProto Add-In for POAsm
« on: December 08, 2013, 02:23:09 PM »
Experimental FindProto Add-In for POAsm users.

With Add-In from FindAsmProto_WS.zip and from source window context-menu 'Find Proto'
Code: [Select]
WINBASEAPI DECLSPEC_NORETURN VOID WINAPI ExitProcess(UINT);
ExitProcess PROTO :DWORD


Experimental HelpBrInfo Add-In.
Search keyword from sysdefs.tag, if it's in PellesC\bin folder.
Current location of sysdefs.tag : Tools -> Options... -> Folder -> Browse info...

For example 'ExitProcess' returns
Code: [Select]
WINBASEAPI DECLSPEC_NORETURN VOID WINAPI ExitProcess(UINT);EDIT 2015-11-02 FindAsmProto_WS_a6.zip fix struct member line order
       2015-11-05 AsmProto_WS_a7.zip fix xx DUP (?)
       2016-07-21 AsmProto_WS_a8.zip support for 32/64 projects.
« Last Edit: July 21, 2016, 02:42:55 PM by TimoVJL »
May the source be with you

Offline jj2007

  • Member
  • *
  • Posts: 441
Re: Experimental HelpBrInfo Add-In
« Reply #1 on: December 08, 2013, 04:59:10 PM »
POLINK: fatal error: File not found: 'SQLite3x.lib'

I've moved your dll to \Masm32\PellesC\Bin\AddIns, and it shows up under Tools/Options/Add-ins - but how can I actually use it? In which menu should it appear?

Offline jj2007

  • Member
  • *
  • Posts: 441
Re: Experimental FindProto Add-In for POAsm
« Reply #2 on: December 10, 2013, 10:35:06 AM »
Both work like a charm. Thanks, Timo :)

Same for the new version, but clicking FindProto in the menu for the selected AddIn_AddCommand yields this:

AddIn_AddCommand EQU AddIn_AddCommandW
AddIn_AddCommand EQU AddIn_AddCommandA

Is that the intended result?
« Last Edit: December 11, 2013, 10:30:12 AM by jj2007 »

Offline jj2007

  • Member
  • *
  • Posts: 441
Re: Experimental FindProto Add-In for POAsm
« Reply #3 on: December 11, 2013, 04:24:21 PM »
AddIn_AddCommand yields this:

AddIn_AddCommand EQU AddIn_AddCommandW
AddIn_AddCommand EQU AddIn_AddCommandA

Is that the intended result?
Sure, AddIn_AddCommand is macro with ANSI and UNICODE versions.

It would add some complexity, but probably users would like to see this, or its asm equivalent... ;-)

#define AddIn_AddCommandA(hwnd,pAddCmd)  (BOOL)SNDMSG((hwnd),AIM_ADD_COMMAND_A,0,(LPARAM)(PADDIN_ADD_COMMAND_A)(pAddCmd))

Offline jj2007

  • Member
  • *
  • Posts: 441
Re: Experimental FindAsmProto Add-In for POAsm
« Reply #4 on: July 26, 2016, 08:09:51 PM »
Version 21 July 2016 works fine!

Example:
gluLookAt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD