C API Formdesign update problem

Hello all.I’m currently using the C++ API to change design elements such as forms as views (in fact I change textual parts such as literals and columntitles). Because I went into trouble when changing Form and View actions using the C++ API I switched over to the raw C API for them. So far no problem. But after I ran my programmatic design change and open a changed form, every access to any action in this form is very slow. However, the action is displayed correctly afterwards in designer. If I close all open Notes Applications and open them again, access is as fast as usual. Why could this happen? Maybe any object not correctly deallocated by my program?

Regards

Ralph Menon

Subject: C API Formdesign update problem

have a look at your changed forms in notes-peek, but if you’d done anything wrong you’ll rather get a nice crash than performance problems.

But after I ran my programmatic design change and open a changed form…

do you open a doc using this form in client or displaying this form in designer? opening a doc in client could be slower, cause form isn’t cached yet.

but again: do changes on a small form once manually, store it (copy form). do it again using capi and compare all fields using notes-peek, you should be able to see any differences.

Markus Seitz

markus.seitz@icodex.com

Subject: RE: C API Formdesign update problem

Thanks for your fast response, I did it in the designer. Using NotesPeek I havent found any differences so far… But even worse, If I copy a form from one database to another, using C++ API, which contains at least one action (and I do not modify anything but the $Language item), if I doubleclick on an Action in designer of the newly created form, it takes very long to show the properties pane (even if I close and reoopen Notes). In Notespeek I don’t see any relevant differences. I guess I’ll have to compare raw hexdumps of both Notes :frowning:

Thanks

Subject: RE: C API Formdesign update problem

sounds quite strange - if it’s reproducable on other clients you could send me such a db? (containing one form)…

Markus Seitz

markus.seitz@icodex.com