Page 4 of 6

Posted: Fri Dec 21, 2007 2:21 pm
by lexvictory
whoops, my fault

i had to add a windowid parameter to some functions when i first compiled it for pb4, because since v4.0, windowid() needs a window number.
i'll update the help file soon, as i think it would need a complete rewrite to get the tooltips functions going without the new parameter
problem was, i lost the help file that i edited for the pb4 version of the lib, so had to remodify the original that i got sent.

Posted: Fri Dec 21, 2007 2:59 pm
by jpd
Hi,

I'm use this Library from long time (I love It)! :D

actually used Version 1.30.9.

on testing one application that Compiled in Unicode Modus,

I found out that the function "PidToFileName" is not

able to works why the used function "GetModuleFileNameEx"

only the ANSI used and not the Unicode.

I have me permitted to change the procedure PidToFileName

and here the results.


Code: Select all

ProcedureDLL.s PidToFileName(PID.l) 
  ; pid.l=0 
  ; GetWindowThreadProcessId_( hWnd, @pid ) 
  hProcess.l = OpenProcess_( #PROCESS_ALL_ACCESS, 0, PID ); 
  Name.s=Space(256) 
  
  If OpenLibrary(0,"PSAPI.DLL") 
    CompilerIf #PB_Compiler_Unicode
    *F=GetFunction(0,"GetModuleFileNameExW") 
    CompilerElse
    *F=GetFunction(0,"GetModuleFileNameExA") 
    CompilerEndIf 
    If *F 
      CallFunctionFast(*F,hProcess,0,@Name,#MAX_PATH ) 
    Else 
      Debug "Fonction non trouvé" 
      CloseLibrary(0) 
      End 
    EndIf 
  Else 
    Debug "Library non ouverte" 
    End 
  EndIf 
  ProcedureReturn Name 
EndProcedure 

Debug PidToFileName(1332)

best
jpd

Posted: Thu Jan 17, 2008 11:58 am
by lexvictory
new version with fixes will be released in a few days time, along with a version compiled for the new beta.
i say a few days as i am unable to download the new beta, etc where i am.

Posted: Thu Jan 24, 2008 7:26 am
by lexvictory
new version released, see first post.

still to do:
- fix functions using openlibrary(0, ...)
- find out how to fix background colour in help file

Posted: Sat Jan 26, 2008 4:16 am
by lexvictory
updated help file released.
when i made 1.31.9 i couldnt find the help file source for 1.31 and without realising it used the one from 1.30.
this help file is from 1.31.4 and is more updated, but will probably still have some errors.
i think it still has the tooltips functions listed as needing the now removed windowid parameter, but ive only just realised it typing this post, will be fixed for the next version.

http://downloads.sourceforge.net/droopy ... update.chm
download that and replace droopy.chm in the help folder with it. (if the link doesnt work, go to the sourceforge downloads page)

Posted: Wed Mar 05, 2008 8:32 pm
by Micko
hi lexvictory !
some function of droopy lib not work on Unicode mode
ex: AssociateFile() and Remove_AssociateFile()

Posted: Sat Mar 08, 2008 3:31 am
by lexvictory
on the list to fix for next version

Help File

Posted: Sat Mar 08, 2008 11:31 pm
by trather
I got the Lib to work just great. When I go and replace the Help file I have a problem. I go to open the help file and I get the information in the left pane but in the right where the example would be there is a message Navigation to the webpage was canceled. What can I do to fix this.

Posted: Sun Mar 09, 2008 2:31 am
by Baldrick
@trather,
Try right clicking on the help file & check that windows has not blocked it

Re: Help File

Posted: Sun Mar 09, 2008 5:00 am
by lexvictory
trather wrote:I got the Lib to work just great. When I go and replace the Help file I have a problem. I go to open the help file and I get the information in the left pane but in the right where the example would be there is a message Navigation to the webpage was canceled. What can I do to fix this.
never heard or seen that happening, try Baldrick's solution, and make sure u deleted the old droopy.chm, and have renamed the new file droopy.chm

Posted: Sun Mar 09, 2008 4:12 pm
by SFSxOI
happens a lot on Vista due to its security features involved with letting another app browse. Right click the .chm, choose 'Properties', click the 'Unblock' button then apply or OK out.

Posted: Sun May 25, 2008 11:19 am
by lexvictory
new version, see original post

Posted: Wed Jun 04, 2008 5:26 pm
by ABBKlaus
The droopy lib for PB4.20 is crashing (CRC32=ca873a1f28fdd0249fd99219089028a3 *Droopy)
If i recompile the library with TailBite v1.3 PR 1.876 it works :wink:

Posted: Thu Jun 05, 2008 6:49 am
by lexvictory
ABBKlaus wrote:The droopy lib for PB4.20 is crashing (CRC32=ca873a1f28fdd0249fd99219089028a3 *Droopy)
If i recompile the library with TailBite v1.3 PR 1.876 it works :wink:
what was the error?

Posted: Thu Jun 05, 2008 8:42 am
by zikitrake
Here, Lexvictory version works fine (you only be sure to delete old Droppy's libs)