martes, octubre 28, 2003
Inode zenbakia erabiliz fitxategi bat borratzeko
find . -inum 16353 -ok rm '{}' \;
lunes, octubre 20, 2003
Movil MF.TC
martes, octubre 14, 2003
Lotus Notes and Domino Server 4.6 -- Ch 27 -- Lotus LSX Architecture and Microsoft ActiveX
Lotus Extensioak -- Oso interesgarria
viernes, octubre 10, 2003
Apache: How to install JDBC for MySQL
jueves, octubre 09, 2003
Details and Optional Commands of the Post Office Protocol (POP)
miércoles, octubre 08, 2003
Win32 Programming with GNU C and C++
Interprocess Communication
http://msdn.microsoft.com/library/en-us/ipc/base/interprocess_communications.asp
Distributed applications, the easy way (part 2)
Interprocess communication
Horrela deitzen da bi prozesuen arteko komunikazioa ingelesez. Hitz gako batzuk:
pipe, names pipes, shared memory, sockets
pipe, names pipes, shared memory, sockets
The Code Project - Interprocess Communication using Shared Memory - Threads, Processes & IPC
Creating Dynamic Link Libraries
lunes, octubre 06, 2003
flipCode - Tutorial - Creating And Using DLLs
flipCode - Tutorial - Creating And Using DLLs: "#include
#include
#include
#include
#define MAXMODULE 50
typedef void (WINAPI*cfunc)();
cfunc NumberList;
cfunc LetterList;
void main() {
HINSTANCE hLib=LoadLibrary('DLLTEST.DLL');
if(hLib==NULL) {
cout << 'Unable to load library!' << endl;
getch();
return;
}
char mod[MAXMODULE];
GetModuleFileName((HMODULE)hLib, (LPTSTR)mod, MAXMODULE);
cout << 'Library loaded: ' << mod << endl;
NumberList=(cfunc)GetProcAddress((HMODULE)hLib, 'NumberList');
LetterList=(cfunc)GetProcAddress((HMODULE)hLib, 'LetterList');
if((NumberList==NULL) || (LetterList==NULL)) {
cout << 'Unable to load function(s).' << endl;
FreeLibrary((HMODULE)hLib);
return;
}
NumberList();
LetterList();
FreeLibrary((HMODULE)hLib);
getch();
}"
#include
#include
#include
#define MAXMODULE 50
typedef void (WINAPI*cfunc)();
cfunc NumberList;
cfunc LetterList;
void main() {
HINSTANCE hLib=LoadLibrary('DLLTEST.DLL');
if(hLib==NULL) {
cout << 'Unable to load library!' << endl;
getch();
return;
}
char mod[MAXMODULE];
GetModuleFileName((HMODULE)hLib, (LPTSTR)mod, MAXMODULE);
cout << 'Library loaded: ' << mod << endl;
NumberList=(cfunc)GetProcAddress((HMODULE)hLib, 'NumberList');
LetterList=(cfunc)GetProcAddress((HMODULE)hLib, 'LetterList');
if((NumberList==NULL) || (LetterList==NULL)) {
cout << 'Unable to load function(s).' << endl;
FreeLibrary((HMODULE)hLib);
return;
}
NumberList();
LetterList();
FreeLibrary((HMODULE)hLib);
getch();
}"
Lotus Domino Designer 6 Help - Running servlets in Domino
Servlet-ei buruzko hainbat ohar. Bereziki, kontutan hartu honako esaldia:
After the servlet manager loads a servlet's classes, they stay in memory until the Domino HTTP task is stopped by the console command "tell http quit" or restarted by the console command "tell http restart." Before unloading a servlet, the servlet manager calls the destroy() method for each instance of the servlet, to give it a chance to clean up resources.
A class that has been loaded by the JVM class loader remains loaded until the HTTP task is stopped. The "tell http restart" command will not unload the class.
Lotus Domino Designer 6 Help - Running servlets in Domino
After the servlet manager loads a servlet's classes, they stay in memory until the Domino HTTP task is stopped by the console command "tell http quit" or restarted by the console command "tell http restart." Before unloading a servlet, the servlet manager calls the destroy() method for each instance of the servlet, to give it a chance to clean up resources.
A class that has been loaded by the JVM class loader remains loaded until the HTTP task is stopped. The "tell http restart" command will not unload the class.
Lotus Domino Designer 6 Help - Running servlets in Domino
Web para bajar series TV
viernes, octubre 03, 2003
JNI arazoak Lotus-en
chroot login HOWTO
Getting Started with LSX Toolkit - Need Help
Lotus Notes: PID returned from new ShellId function cannot be used in WinAPI calls
Notes/Domino 4 and 5 Forum : RE: Shell a 32-bit process and Wait till Finish...
Lotus agenteei buruzko artikulua
Perleko documentazioa XML::LibXML paketearena:
XML::LibXML::Document - DOM Document Class
Linux-etik dokumentazioa lortzeko erabili perldoc komandoa:
perldoc XML::LibXML
perldoc XML::LibXML::Document etab.
XML::LibXML::Document - DOM Document Class
Linux-etik dokumentazioa lortzeko erabili perldoc komandoa:
perldoc XML::LibXML
perldoc XML::LibXML::Document etab.
jueves, octubre 02, 2003
Lotus-en DLL bat beti kargatuta egoteko
Lotus-en DLL beti kargatuta egoteko, honako erantzuna jaso dut foroetatik:
Hi,
What I meant is: just as you are calling your DLL --
Declaring somewhere your external function -- you can
declare Notes C API function and call it from script
to load your DLL before calling it.
I'd expect you should be able to declare it like this:
Declare Function OSLoadLibrary Lib "nnotes" (
ByVal LibraryName As String,
ByVAl Flags As Long,
rethModule as Long,
byVal retEntryPoint As Long)
And call:
irc = OSLoadLibrary ("mydll.dll",0, hModule, 0);
now you should be able to call your function from
mydll.ll and it will not be unloaded. It seems that
you need to call also OSFreeLibrary and use hModule
for that. I'm not sure how this works in case of
agents. Probably you can leave it loaded without any
problems.
I haven't tried this myself, it's just I think this
should work.
Regards
Normunds
--- Gregorio_Hernández_Piris wrote:
> Hello,
>
> Thank you for replying!
>
> I don't know if I have understood you properly...
> I thought C API was to make programs outside Lotus
> to access Lotus data...
> In my case, it is the opposite case: I want to use
> the a DLL made in C++
> from a Lotus Domino LS agent...
>
> Or you are saying that I should make a dll using
> Notes C API that loads my
> DLL and then use that new DLL from Lotusscript?
>
> Sorry if my questions are too "stupid", but I'm not
> an expert in Lotus, I'm
> just beginning...
>
> TIA!
>
> Grego.
> ----- Original Message -----
> From: "Normunds Kalnberzins"
>
> Newsgroups: comp.groupware.lotus-notes.programmer
> Sent: Thursday, October 02, 2003 7:48 AM
> Subject: Re: Using a DLL from a Lotusscript agent
>
>
> > you might try to load your dll using Notes C API
> function
> > OSLoadLibrary (or maybe some OS function dunno).
> >
> > IMO, when you call external dll, Notes loads dll
> if not loaded and
> > unloads at the end of the code. However if the dll
> is already loaded
> > when you call it Notes should not unload it.
> >
> > Worth a try
> > cheers
> >
> > Normunds
> > http://www.rtlib.com
>
Hi,
What I meant is: just as you are calling your DLL --
Declaring somewhere your external function -- you can
declare Notes C API function and call it from script
to load your DLL before calling it.
I'd expect you should be able to declare it like this:
Declare Function OSLoadLibrary Lib "nnotes" (
ByVal LibraryName As String,
ByVAl Flags As Long,
rethModule as Long,
byVal retEntryPoint As Long)
And call:
irc = OSLoadLibrary ("mydll.dll",0, hModule, 0);
now you should be able to call your function from
mydll.ll and it will not be unloaded. It seems that
you need to call also OSFreeLibrary and use hModule
for that. I'm not sure how this works in case of
agents. Probably you can leave it loaded without any
problems.
I haven't tried this myself, it's just I think this
should work.
Regards
Normunds
--- Gregorio_Hernández_Piris
> Hello,
>
> Thank you for replying!
>
> I don't know if I have understood you properly...
> I thought C API was to make programs outside Lotus
> to access Lotus data...
> In my case, it is the opposite case: I want to use
> the a DLL made in C++
> from a Lotus Domino LS agent...
>
> Or you are saying that I should make a dll using
> Notes C API that loads my
> DLL and then use that new DLL from Lotusscript?
>
> Sorry if my questions are too "stupid", but I'm not
> an expert in Lotus, I'm
> just beginning...
>
> TIA!
>
> Grego.
> ----- Original Message -----
> From: "Normunds Kalnberzins"
>
> Newsgroups: comp.groupware.lotus-notes.programmer
> Sent: Thursday, October 02, 2003 7:48 AM
> Subject: Re: Using a DLL from a Lotusscript agent
>
>
> > you might try to load your dll using Notes C API
> function
> > OSLoadLibrary (or maybe some OS function dunno).
> >
> > IMO, when you call external dll, Notes loads dll
> if not loaded and
> > unloads at the end of the code. However if the dll
> is already loaded
> > when you call it Notes should not unload it.
> >
> > Worth a try
> > cheers
> >
> > Normunds
> > http://www.rtlib.com
>
Lotus C API
Lotus-eko C APIaren dokumentazioa:
IBM Lotus software: Lotus Documentation: C API Toolkit 5.0.3 (English)
IBM Lotus software: Lotus Documentation: C API Toolkit 5.0.3 (English)