Droopy's Lib
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
Duplicate AboutBox Error
Hi all,
I've installed version 1.31.13 and it is telling me that I have already got AboutBox() in Droopy and in Droopy leading me to believe that I have two libraries but I don't see any others. I've even done a file search and this is the only one that turns up.
It may not be the library that's causing the problem but something I've done. Does anyone have any ideas?
Thanks,
Randy
I've installed version 1.31.13 and it is telling me that I have already got AboutBox() in Droopy and in Droopy leading me to believe that I have two libraries but I don't see any others. I've even done a file search and this is the only one that turns up.
It may not be the library that's causing the problem but something I've done. Does anyone have any ideas?
Thanks,
Randy
Maybe it's just a bunch of stuff that happens -- Homer Simpson
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
can u post the exact text of the error box?
check that you do not have any old versions still installed (this version has all lib files named Droopy, older versions had differing names.)
also please note that this release is only for PB 4.20. (as you did not specify which PB version, i thought it worth mentioning)
check that you do not have any old versions still installed (this version has all lib files named Droopy, older versions had differing names.)
also please note that this release is only for PB 4.20. (as you did not specify which PB version, i thought it worth mentioning)
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!
Here it is...
Duplicated library command: AboutBox() (in libraries Droopy and Droopy)
I'm running 4.20. However, it's good to ask these questions because I've obviously done something wrong.
What would the other libraries have been named? I have four (including this one) in the UserLibraries folder. JHGadget_400, PureRESIZE, ScintillaStaticFull, and of course, droopy (8/18/2008).
Thanks for your efforts, there are definitely some utilities I could use within this library... if I could just get PureBasic working again.
Randy
I'm running 4.20. However, it's good to ask these questions because I've obviously done something wrong.
What would the other libraries have been named? I have four (including this one) in the UserLibraries folder. JHGadget_400, PureRESIZE, ScintillaStaticFull, and of course, droopy (8/18/2008).
Thanks for your efforts, there are definitely some utilities I could use within this library... if I could just get PureBasic working again.

Randy
Maybe it's just a bunch of stuff that happens -- Homer Simpson
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
hmmm... interesting situation...
open cmd (start>run>type cmd>ok) - the following presumes you know some about cmd... (if u dont, follow every command with a press of the enter key)
type cd c:\Program Files\purebasic (change this if PB is installed elsewhere)
type dir /s droopy > droopy.txt
type notepad droopy.txt
copy and paste the contents of the file into a post
then type del droopy.txt
then close cmd
the contents of the file should look something like this:
open cmd (start>run>type cmd>ok) - the following presumes you know some about cmd... (if u dont, follow every command with a press of the enter key)
type cd c:\Program Files\purebasic (change this if PB is installed elsewhere)
type dir /s droopy > droopy.txt
type notepad droopy.txt
copy and paste the contents of the file into a post
then type del droopy.txt
then close cmd
the contents of the file should look something like this:
Volume in drive C has no label.
Volume Serial Number is C05B-3B45
Directory of C:\Program Files\PureBasic4.20\PureLibraries\UserLibraries
03/10/2008 09:12 PM 102,437 droopy
1 File(s) 102,437 bytes
Directory of C:\Program Files\PureBasic4.20\SubSystems\UserLibThreadSafe\PureLibraries
03/10/2008 09:11 PM 105,301 droopy
1 File(s) 105,301 bytes
Directory of C:\Program Files\PureBasic4.20\SubSystems\UserLibUnicode\PureLibraries
03/10/2008 09:11 PM 103,181 droopy
1 File(s) 103,181 bytes
Directory of C:\Program Files\PureBasic4.20\SubSystems\UserLibUnicodeThreadSafe\PureLibraries
03/10/2008 09:12 PM 106,129 droopy
1 File(s) 106,129 bytes
Total Files Listed:
4 File(s) 417,758 bytes
0 Dir(s) 6,631,890,944 bytes free
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:
The command RegGetValue is inaccurate when returning #REG_BINARY.
Orginal data was: 00,35,15,0A,8A,37
Value returned was: 002515A8A370
It removed the 0 from the hex value 0A and shifted the whole string left.
This solved the problem for me
Code from RegGetValue procedure
Regards
Sveinung
Orginal data was: 00,35,15,0A,8A,37
Value returned was: 002515A8A370
It removed the 0 from the hex value 0A and shifted the whole string left.
This solved the problem for me
Code from RegGetValue procedure
Code: Select all
Case #REG_BINARY
BinaryBytes=1024
*RegBinary=AllocateMemory(BinaryBytes)
GetHandle = RegQueryValueEx_(hKey, ValueName, 0, @lType, *RegBinary, @BinaryBytes)
If GetHandle = 0 ; SUCCESS
GetValue=""
For i = 0 To (BinaryBytes-1 )
Temp3=PeekB(*RegBinary+i)&$FF
;If Temp3<10 : GetValue+"0" : EndIf <<< removed this one
If Len(Hex(Temp3))>1
GetValue+ Hex(Temp3)
Else
GetValue+ "0"+Hex(Temp3)
EndIf
Next
FreeMemory(*RegBinary)
EndIf
Sveinung
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
Sorry, but "when" would be a more useful question.KIKI wrote:Were can i download a new version for PB 4.30 final ?
Thanks,
It will probably be released by the weekend - as I have just got a new computer (and will now be able to make an x64 version of the lib), and I am still in the process of setting it up.
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:
How do you use:
from the lib? Is there an example for it?
Code: Select all
ImpersonateUserRunas(CommandLine.s,Argument.s)
-
- Addict
- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
See Library\Impersonation in the help fileSFSxOI wrote:How do you use:
from the lib? Is there an example for it?Code: Select all
ImpersonateUserRunas(CommandLine.s,Argument.s)
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!