New Gui4Cli 19.38 version

"chris.kevany" <[email protected]> Sun, 09 Sep 2012 08:54:03 -0000
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>
Hi Dimitris,

Thanks for the new 19.38 full package!

Good thing to make it available on you website because many people
are reserved to sign-up everywhere even if they are interested.

The new additions look nice and useful but to be honest, I was a bit
disapointed when I red the version history. I was hoping for a fix
of something I posted a while ago...

http://tech.groups.yahoo.com/group/gui4cli/message/5627 <
http://tech.groups.yahoo.com/group/gui4cli/message/5627>

Currently I use this in my dll which is called this way ...

avcom32.uextract $var NOEXT var // for extract var NOEXT
avcom32.uextract $var NOEXT newvar // for extract var NOEXT newvar


  RETCODE _export WINAPI UEXTRACT (struct gcArguments *args)
          {

             char path[1024];
             char var[32];
             int cnt;
             char * ptr;

             strcpy(path,args[0].str);
             strser(path,"\"",""); // remove double quotes

             var[0] = 0;

             strcat(var,args[2].str);


             if (strstr(args[1].str,"NOEXT"))
             {
                for ( cnt = strlen(path)-1 ; cnt>-1 ; cnt-- )
                {

                  if (path[cnt] == '/') break;
                  if (path[cnt] == '\\') break;
                  if (path[cnt] == '.') { path[cnt] = 0; break; }

                }

                 gcSetVar(var,path);

                 return 0;
             }


             if (strstr(args[1].str,"EXT"))
             {

               gcSetVar(var,""); // first reset

               for ( cnt = strlen(path)-1 ; cnt>-1 ; cnt-- )
               {
                  if (path[cnt] == '/') { break; }
                  if (path[cnt] == '\\') { break; }
                  if (path[cnt] == '.')
                  {
                     ptr = &path[cnt];

                     gcSetVar(var,ptr);

                     break;
                  }
               }

               return 0;

             }

             return 10;

          }


I would also be happy if you could take a look into this again ...

http://tech.groups.yahoo.com/group/gui4cli/message/5628
<http://tech.groups.yahoo.com/group/gui4cli/message/5628>

Gui4Cli is still my favorite soft and I'm glad that you still
take the time and continue development.

Thanks,

Chris