Droopy's Lib 1.31.12 (PB4.20)
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
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.
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.
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Hi,
I'm use this Library from long time (I love It)!
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.
best
jpd
I'm use this Library from long time (I love It)!

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)
jpd
PB 5.10 Windows 7 x64 SP1
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
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)
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)
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
Help File
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.
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
Re: Help File
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.chmtrather 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.
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
Here, Lexvictory version works fine (you only be sure to delete old Droppy's libs)
PB 6.21 beta, PureVision User