Experimental FindAsmProto Add-In for POAsm

Started by TimoVJL, December 08, 2013, 02:23:09 PM

Previous topic - Next topic

TimoVJL

Experimental FindProto Add-In for POAsm users.

With Add-In from FindAsmProto_WS.zip and from source window context-menu 'Find Proto'
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
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.
       2017-09-28 AsmProto_WS_a9.zip padding support
May the source be with you

jj2007

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?

jj2007

#2
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?

jj2007

Quote from: timovjl on December 11, 2013, 03:50:24 PM
Quote from: jj2007 on December 10, 2013, 10:35:06 AM
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))

jj2007

Version 21 July 2016 works fine!

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