Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview

A new plugin

Last post 04-02-2008, 14:18 by pmerik. 35 replies.
Page 1 of 3 (36 items)   1 2 3 Next >
Sort Posts: Previous Next
  •  07-30-2007, 16:49

    A new plugin

    I wrote a little plugin and was hoping for some feedback.  Read about it here:

      http://barnyard.syr.edu/~vefatica/xclose32.txt

     
    Get it (4665 bytes) here:

      ftp://lucky.syr.edu/pmaddons/xclose32.zip

      http://barnyard.syr.edu/~vefatica/xclose32.zip

    Thanks!

    P.S.  The software used for these forums is nice.  The forums work very well.  I just inserted links with virtually no effort. 

     - Vince
     


    - Vince
  •  08-03-2007, 21:14

    • bitseeker is not online. Last active: 09-08-2008, 13:56 bitseeker
    • Not Ranked
    • Joined on 08-03-2007
    • Germany
    • Member
    • Points 25

    Re: A new plugin

    Hi Vince,

     

    i just d/l your plugin and tested it right away. It´s great. I like the

    "hard to close" and "tray to foreground" feature, so i don´t have to click the tray icon 4x anymore Big Smile
     
    thx for your excellent work,
     greets from germany
     
     

     

  •  08-03-2007, 22:38

    Re: A new plugin

    bitseeker:
     

    i just d/l your plugin and tested it right away. It´s great. I like the

    "hard to close" and "tray to foreground" feature, so i don´t have to click the tray icon 4x anymore Big Smile

    Thanks for the feedback bitseeker.  They're all features I hope DH will incorporate in a future version.  Got any ideas for what else might be done at startup time?

    Since I first mentioned it here I changed the technique a little.  It now uses functions which are (according to the docs) available only on XP or later.

     - Vince
     


    - Vince
  •  08-04-2007, 2:56

    • irelam is not online. Last active: 11-21-2008, 12:28 irelam
    • Top 10 Contributor
    • Joined on 03-23-2007
    • Edmonton, Alberta, Canada
    • Contributor
    • Points 4,005
    • BetaTeam Moderator

    Re: A new plugin

    Nice extension, I presume machine language/assembler?

    Martin 

  •  08-04-2007, 3:19

    Re: A new plugin

    irelam:

    Nice extension, I presume machine language/assembler?

    Martin 

    No, good old Win32/VC8.  It doesn't use any C runtime library routines so I linked it with "/ENTRY:MyCustomEntry" and avoided the RTL initialization that DllMain usually does.  That's how it gets to be so small.  If I merely change the entry point to DllMain, it becomes about 42 KB.


    - Vince
  •  08-04-2007, 9:56

    Re: A new plugin

    Hi !

    First of all, this plug-in is GREAT !!!! My operating system is not Windows XP SP2, but windows 2000 Professional, and on that it did not work at the beginning. To be precise, I unzipped the file into Pegasus Mail root directory but nothing happened. Then, I renamed the file "xclose32.FFF" into "xclose32.FFR", and it worked perfectly. I think this should be added to the readme file. One other thing, why not ask putting this plug-in into the download section of the community site ?

    Thank you for taking the time to write this.

    Cheers !

    Ginhead. 

  •  08-04-2007, 16:23

    Re: A new plugin

    Ginhead:

    My operating system is not Windows XP SP2, but windows 2000 Professional, and on that it did not work at the beginning. To be precise, I unzipped the file into Pegasus Mail root directory but nothing happened. Then, I renamed the file "xclose32.FFF" into "xclose32.FFR", and it worked perfectly. I think this should be added to the readme file. One other thing, why not ask putting this plug-in into the download section of the community site ?

    I know nothing, and can find no information, about FFR files.  Renaming the FFF file with FFR doesn't work here.  Perhaps someone can enlighten us.

    The docs say, of three functions I use in the latest ones, that COMCTL32.DLL v5.8 or later is needed and that Windows XP is the minimum operating system.  Maybe you have an older version of the extension, maybe the docs are just wrong, or maybe you have a sufficient COMCTL32.DLL (what's your version?) because of a service pack, update or other MS installation.

    XClose32 has little exposure so far (but so far all positive comments).  When I and others are convinced that it's sound, I'd be pleased if it were included in the download section.  Who administers the download section?
     


    - Vince
  •  08-04-2007, 17:26

    Re: A new plugin

    Ginhead:

    Hi !

    First of all, this plug-in is GREAT !!!! My operating system is not Windows XP SP2, but windows 2000 Professional, and on that it did not work at the beginning. To be precise, I unzipped the file into Pegasus Mail root directory but nothing happened. Then, I renamed the file "xclose32.FFF" into "xclose32.FFR", and it worked perfectly. I think this should be added to the readme file. One other thing, why not ask putting this plug-in into the download section of the community site ?

    Thank you for taking the time to write this.

    Cheers !

    Ginhead. 

     

    FFF works for English language, what language are you running?

     


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team
  •  08-04-2007, 18:04

    Re: A new plugin

    Ginhead wrote: FFF works for English language, what language are you running?

    I use English.  Does each supported language have its own extension for a form facts file?  What's FFR?  I am not qualified to translate XCLOSE32.FFF into other languages.  How should I handle it?  Would it suffice to say, in XCLOSE32.TXT, that it may be necessary to rename XCLOSE32.FFF with an extension appropriate to your language module?

    As for it running on Windows 2000, my best guess is that you have a satisfactory COMCTL32.DLL because of some MS software installation, perhaps an updated IE.

    Thanks!
     


    - Vince
  •  08-06-2007, 19:47

    • Guy is not online. Last active: 2008/11/18, 0:58 Guy
    • Top 500 Contributor
    • Joined on 08-06-2007
    • Member
    • Points 50

    Re: A new plugin

    Vincent Fatica:

    I wrote a little plugin and was hoping for some feedback.

     



    Hello,

    In order to use the plugin I must exempt Pegasus from Data Execution Prevention (DEP).
    XP Pro sp2 / 5.1.2600.2562

    Regards,
    Guy

    Regards,
    Guy
  •  08-06-2007, 21:04

    Re: A new plugin

    Guy:
    Vincent Fatica:

    I wrote a little plugin and was hoping for some feedback.


    In order to use the plugin I must exempt Pegasus from Data Execution Prevention (DEP).
    XP Pro sp2 / 5.1.2600.2562

    Thanks Guy.  I didn't know about DEP in XP but I do know about it in Vista and should have anticipated the problem.  XClose32 asks (using a Pegasus Mail extension mechanism) for about 160 bytes of memory in which to write a couple of additions to the window process of the main window.  Done this way, the memory comes from Pegasus Mail's "heap", an area typically containing data.  I changed XClose32 so it uses the VirtualAlloc function to get the memory and told that function to mark the memory as executable.  It seems to me that this should fix the DEP problem but I have nothing around here to test it on.  New files are in place (links below).  Please tell me if this fixes the problem.

    ftp://lucky.syr.edu/pmaddons/xclose32.zip

    http://barnyard.syr.edu/~vefatica/xclose32.zip


     


    - Vince
  •  08-06-2007, 21:08

    Re: A new plugin

    Guy wrote: In order to use the plugin I must exempt Pegasus from Data Execution Prevention (DEP).
    XP Pro sp2 / 5.1.2600.2562

    Thanks, Guy.  I replied in depth, but with links, so I think a moderator must approve the post.  In the meantime ... there's an updated xclose32.zip in place at the original locations.  Please try it and let me know if it fixes the DEP problem.

     


    - Vince
  •  08-07-2007, 19:33

    Re: A new plugin

    Hi !

    I have just updated your plug-in by taking the latest version, but it is not working anymore. Therefore I was wondering if you could send me by email the previous one which was perfectly working. Also, may I suggest that you number the different versions of the plug-in.

    I already miss it. Thanks !

    Ginhead. 

  •  08-07-2007, 20:23

    Re: A new plugin

    Ginhead:

    I have just updated your plug-in by taking the latest version, but it is not working anymore. Therefore I was wondering if you could send me by email the previous one which was perfectly working. Also, may I suggest that you number the different versions of the plug-in.

    I already miss it. Thanks !

    Ginhead. 

    Do you get any error messages?


     


    - Vince
  •  08-07-2007, 22:46

    Re: A new plugin

    Ginhead:

    I have just updated your plug-in by taking the latest version, but it is not working anymore. Therefore I was wondering if you could send me by email the previous one which was perfectly working. Also, may I suggest that you number the different versions of the plug-in.

    I already miss it. Thanks !

    Ginhead, I couldn't figure out how to add an attachment to an email while using the forum's email interface.  So I put the following files in place.  The XClose32 in them uses the old method to allocate memory in Pegasus Mail.

    ftp://lucky.syr.edu/pmaddons/xclose32nodep.zip

    http://barnyard.syr.edu/~vefatica/xclose32nodep.zip

    Oddly, I turned DEP on and could *not* make the older one fail (and I *know* it executes code from a data location).  And I can't imagine why the newer one would fail for you.  I made a little change to the newer one (xclose32.zip); perhaps you'd try it again.


    - Vince
Page 1 of 3 (36 items)   1 2 3 Next >
View as RSS news feed in XML

Copyright © 2007 David Harris / Peter Strömblad. All Rights Reserved. | Terms of Use | Privacy Statement
Questions/Problems with community.pmail.com? | Visit our Hoster: PraktIT | Pegasus Mail Home Page