I have the CreateProject addin where I succeeded to insert three option checkboxes in the Addin Manager. But now I fail to do the same in Colref addin. What is failing? This is what I have:
ADDINOPT struct

lpStr dd ?
nAnd dd ?
nOr dd ?
ADDINOPT ends

AddinOpt ADDINOPT <offset szAppTitle,1,1>

GetOptions proc
mov eax,offset AddinOpt
ret
GetOptions endp


No checkbox appears. But the version comming with RadAsm package have one check box. I also have GetOptions in the .def file
Posted on 2004-01-24 13:27:14 by minor28
You must have an empty structure at the end of your options array:

AddinOpt		ADDINOPT <offset szAppTitle,1,1>

ADDINOPT <0,0,0>
Posted on 2004-01-24 13:44:16 by donkey
Hi donkey

I forgot to copy that line to the thread. It don't work even though I have that line in the code. I can't understand whats wrong.
Posted on 2004-01-24 13:50:46 by minor28
Well, if you could post the project it would help. I would check to make sure that the GetOptions proc is being executed by inserting a MessageBox. That will give you an indication that it is at least being called.
Posted on 2004-01-24 14:40:08 by donkey
I inserted a messagebeep in the GetOptions process. The process was not executed. Then I found out that the GetOptions was deleted when compiling. Now it is OK. Thanks donkey.
Posted on 2004-01-24 15:14:15 by minor28