Re[2]: NetPlug 0.10.00
El lunes, 20 ene 2003 a las 18:37, escribiste: I don't speak Spanish so I can't read the message. Can you or someone else enlighten me, so that I know what is going wrong? Sorry the plugin it's now in his first development and now it's on spanish. FWIW I placed the plug-in and the subjects.rls in a subdirectory of my TB! installation dir. Maybe that's the problem? No need to copy tbp file and rls file on C:\Program files\The Bat! (or the directory where you have installed The Bat! --- /\/ / \ / \ / /\/ e t \/ i c i o u s [EMAIL PROTECTED] Using The Bat! 1.63 Beta/4 on Windows XP (5.1.2600 Service Pack 1) Current version is 1.62 | Using TBDEV information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: NetPlug 0.10.00
Fichero = file El lunes, 20 ene 2003 a las 22:48, escribiste: The word Fischero didn't exist in Spanish. Could it be fichero? If so it means cardfile --- /\/ / \ / \ / /\/ e t \/ i c i o u s Using The Bat! 1.63 Beta/4 on Windows XP (5.1.2600 Service Pack 1) Current version is 1.62 | Using TBDEV information: http://www.silverstones.com/thebat/TBUDLInfo.html
TBP_Initialize()
Stefan- Actually, TBP_Initialize() is called right after the DLL_PROCESS_ATTACH message gets processed, which could allow the user to set things up if necessary. And TBP_Finalize() gets called right after the DLL_PROCESS_ATTACH messages gets processed on deleting the plugin. I have both of them defined as do-nothing stubs right now, just because you never know when you might need something like that. It's true that these things could be handled in a DLLMain() function, but it's nice to have another option as well. Saturday, January 18, 2003, 6:03:26 PM, you wrote: ST Well, they are called when the plugin is loaded/unloaded. If you do ST everything at the DLL entry, you simple should not implement them - ST their absence is not critical. -Mark Wieder Using The Bat! v1.63 Beta/4 on Windows 2000 5.0 Build 2195 Service Pack 2 -- Current version is 1.62 | Using TBDEV information: http://www.silverstones.com/thebat/TBUDLInfo.html
TBP_GetName() etc.
Bats- And now that I have things working, I have to question the logic of calling things like TBP_GetName() or TBP_GetVersion() twice. Why not just call it once, see if the return value is zero, and process it if not? i.e., instead of if (TBP_GetName(NULL, 0) 0) iRet = TBP_GetName(strDest, iSize); else DisplaySomeErrorMessageHereAndExit(); why not just if(0 == TBP_GetName(strDest, iSize)); { DisplaySomeErrorMessageHereAndExit(); } -Mark Wieder Current version is 1.62 | Using TBDEV information: http://www.silverstones.com/thebat/TBUDLInfo.html