Pelles C forum

Pelles C => Add-ins => Topic started by: TimoVJL on December 08, 2013, 02:23:09 PM

Title: Experimental FindAsmProto Add-In for POAsm
Post by: TimoVJL 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.
       2017-09-28 AsmProto_WS_a9.zip padding support
Title: Re: Experimental HelpBrInfo Add-In
Post by: jj2007 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?
Title: Re: Experimental FindProto Add-In for POAsm
Post by: jj2007 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?
Title: Re: Experimental FindProto Add-In for POAsm
Post by: jj2007 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))
Title: Re: Experimental FindAsmProto Add-In for POAsm
Post by: jj2007 on July 26, 2016, 09:09:51 PM
Version 21 July 2016 works fine!

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