The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: lamer on April 19, 2006, 08:32:12 PM

Title: How to add structure?
Post by: lamer on April 19, 2006, 08:32:12 PM
Hi,KetilO!
I wanted to add BIDIOPTIONS structure (used with EM_GETBIDIOPTIONS and EM_SETBIDIOPTIONS messages).
I added it to masmApiStruct.api file, closed RadAsm, open it again, but still have "error A2006: undefined symbol : BIDIOPTIONS" while assembling.
Where should I define it in addition to  masmApiStruct.api?
Obviously, I can just add it to one of project files :(

Thank you.
Title: Re: How to add structure?
Post by: KetilO on April 19, 2006, 09:54:56 PM
Hi lamer

I would add it to windows.inc

KetilO
Title: Re: How to add structure?
Post by: lamer on April 20, 2006, 03:45:04 AM
Oh, really?  :green2 :green2 :green2
Thanks!
Title: Re: How to add structure?
Post by: P1 on April 20, 2006, 01:46:12 PM
With the updates to windows.inc, you would lose your personalizations.

I would put it in the project file itself.  So that if windows.inc gets updated, your project will not break for that reason.

Regards,  P1  :8)
Title: Re: How to add structure?
Post by: Mark Jones on April 20, 2006, 06:53:31 PM
If BIDIOPTIONS is supposed to be part of Windows API, then post a note in the MASM32 forum so Hutch can include it in the next Windows.inc.
Title: Re: How to add structure?
Post by: lamer on April 20, 2006, 08:13:34 PM
P1, Mark Jones,
Thank you. I also prefer to keep such things in my own code.
And I post request for the next windows.inc release.