Are there any loglines written? I checked the code and saw that there are many loglines being written. Manybe it shows at what point it goes wrong.
You could try to immediately exit the callback function to reduce the possibilities where it fails. This will tell you whether or not the EM is loaded and invoked at all.
You could also add extra logging to an external file, so you can see how far it goes well.
No the extmail.log file is not created.I coudn’t find at what point its going wrong.I think the problem is with the EM.I am new to lotus notes and have never worked with API’s
Can you say me where could I have made the mistake
Hi CauActually with the help of this code only I have to start my project .Once this code worked I can gohead with my project.I just want to know how this dll function works in the lotus notes/domino
Did you compile it using the command line makefile, or did you try to do it through an IDE? The most common mistake people make when starting with the C API is to miss the structure packing, which must be on a single byte, not the default. Obviously, that is handled in their makefile, but if you went through an IDE, you could miss it.
Hi ben,I don’t know how to compile it in command line makefile,can you help me with it.I created extmail.dll using IDE ,I couldn’t find any makefile in the output folder.Please help me with this
you must have /Zp or /Zp1 among your flags. I assume you are compiling on windows… or alternately you must be able to set it somewhere from project properties menus. On MS VC++ 6.0 that I use (the supported compiler on windows) it can be set through project settings, “C/C++”, “Code generation”, “Struct member alignment” - it should say “1 byte”
Hi thanks for the replyYa I am compiling in windows ,Project setting are already as you said the “Struct member alignment” is set to /Zp1 ,Can you give me some more information regarding the Configuration setting