Domino 9 und frühere Versionen > ND6: Entwicklung
OO Entwicklung mit LotusScript - Frage externer Editor / Eclipse?
Hernan Cortez:
ein paar sinnvolle Links:
Forum für Eclipse plugin Entwicklung in deutsch: http://www.jsurfer.de/modules.php?name=Forums&file=viewforum&f=2
swt-Tutorial von Aust: http://www.3plus4software.de/sma/Ein_SWT_Tutorial.html
[wird fortgeführt]
JulianBuss:
@Semeaphoros: C-API: gute Idee! Wie heißt denn der Aufruf?
In die Richtung kann man auf jeden Fall auch forschen; wenn die C-API bei einem Fehler die Art des Fehlers und Zeilennummer mitteilt, wäre viel gewonnen.
Semeaphoros:
Scheint uns aber nicht die notwendigen Infos zurückzugeben :(
--- Zitat ---#include <nsfnote.h>
STATUS LNPUBLIC NSFNoteLSCompile(
DBHANDLE hDb,
NOTEHANDLE hNote,
DWORD dwFlags);
Description :
The API compiles all the LotusScript code found in a design document. This includes document classes such as Views, Agents, Forms, Pages, Navigators, Shared fields, script libraries, Help documents, using database documents, etc. It is a way of making sure that the object code of the script is up-to-date.
For the Agent note, the compiled object code is saved in the $AssistAction_Ex item.
Parameters :
Input :
hDb - Handle to the database.
hNote - Handle to the note containing LotusScript modules.
dwFlags - (Reserved for future use) Must be 0.
Output :
(routine) - (routine) - Return indicates either success or what the error is. The return codes include:
NOERROR - Operation was successful.
ERR_NULL_NOTEHANDLE - if hNote was not specified.
ERR_xxx - STATUS returned from a lower level Notes function call.
Sample Usage :
...
/* Compile the Agent note */
if (error=NSFNoteLSCompile(hDb,hAgent,0))
{
printf("Error: LS Compile\n");
goto Exit1;
}
/* Update the note */
if (error=NSFNoteUpdate(hAgent,0))
{
printf("Error: can't update note after LS Compile\n");
goto Exit1;
}
--- Ende Zitat ---
JulianBuss:
ja, wird auch hier bestätigt:
http://www.looseleaf.net/Looseleaf/Forum.nsf/0/b26afc497efb086b85256cad004e0caf?OpenDocument
Semeaphoros:
Und wenn Bob das sagt, ist es unwahrscheinlich, dass es anders ist :(
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln