Search found 296 matches

by newbie
Fri Feb 20, 2009 10:10 pm
Forum: Linux
Topic: Compiling 32bit application on 64bit Linux
Replies: 4
Views: 3194

Hello,

Also waiting for it.

Thanks for your work.

Rergards,
newbie.
by newbie
Mon Sep 18, 2006 12:03 am
Forum: Tricks 'n' Tips
Topic: Menu Icons
Replies: 23
Views: 14297

Amazing srod, thanks for sharing :P

Just an addition, for people wanting to get the current default system background color for the text, just use this API :

Code: Select all

Global Menu_BackColour = GetSysColor_(#COLOR_MENU)
Thanks again srod ;)
by newbie
Tue Sep 12, 2006 1:24 am
Forum: Tricks 'n' Tips
Topic: TCP and UDP tables + PID
Replies: 8
Views: 7002

The author says explicitely that he uses Native API, and that it's app communicate with a driver. Native API can only be accessed from a driver.
From the description, it seems that the app made in VB is only communicating with the driver. However this last one must have been done in C++ with the ...
by newbie
Mon Sep 11, 2006 11:27 pm
Forum: Tricks 'n' Tips
Topic: TCP and UDP tables + PID
Replies: 8
Views: 7002

Sadly, there is no API (documented or known undocumented) available for Windows 2000 :? Programs working on Windows 2000 uses a driver.
by newbie
Sat Sep 09, 2006 7:07 pm
Forum: Tricks 'n' Tips
Topic: TCP & UDP connection table
Replies: 3
Views: 3086

Do you know how to force disconnect a connection and/or block ports?

Use something like this to kill an established connection :

TcpEntry.MIB_TCPROW
TcpEntry\dwState = #MIB_TCP_STATE_DELETE_TCB
TcpEntry\dwLocalAddr = inet_addr_(YOURADDR)
TcpEntry\dwLocalPort = htons_(YOURPORT)
TcpEntry ...
by newbie
Sat Sep 09, 2006 7:03 pm
Forum: Tricks 'n' Tips
Topic: Increase your program privileges
Replies: 1
Views: 1791

Increase your program privileges

Code updated For 5.20+
Hello,

Increasing it's own program privileges is needed for instance if you want to enumerate all running processes. With the search fucntion I found few other posts with a procedure like this, but mine checks (hopefully) all errors that can happens.


Procedure.b ...
by newbie
Sat Sep 09, 2006 11:14 am
Forum: Coding Questions
Topic: CopyMemory() only in ASM without API possible ?
Replies: 1
Views: 1076

CopyMemory() only in ASM without API possible ?

Hello,

Just out of curiosity, I've looked at the /COMMENTED ASM output, and noticed the following :


; CopyMemory(*Fromaddr, *Toaddr, 5)
PUSH dword 5
PUSH dword [esp+PS28+4]
PUSH dword [esp+PS28+12]
CALL _PB_CopyMemory@12


Isn't it possible to copy directly the memory in pure ASM ?
MOV eax ...
by newbie
Mon Sep 04, 2006 3:25 pm
Forum: Coding Questions
Topic: Returning string from multiselect
Replies: 8
Views: 2450

Very good piece of code, deserves a bump ;)
by newbie
Mon Sep 04, 2006 10:09 am
Forum: Coding Questions
Topic: Multiple window event handling?
Replies: 15
Views: 5556

I do a single whole enumeration for all gadgets, this way eveything has necessarily a different number, and my two windows work fine :)
by newbie
Sun Sep 03, 2006 11:02 pm
Forum: Coding Questions
Topic: Managing multiple windows, any help/tutorial ?
Replies: 6
Views: 1885

Ok then, and thanks for the link, very informative.
Also, adding items to the listicon gadget of the second window, from the first window, works. All I needed :)
by newbie
Sun Sep 03, 2006 8:18 pm
Forum: Coding Questions
Topic: Managing multiple windows, any help/tutorial ?
Replies: 6
Views: 1885

Then it should be moved to this forum :

Just starting out? Need help? Post your questions and find answers here.


I didn't think that the announcement forum :

Developed or developing a new product in PureBasic? Tell the world about it.


Would provide anything other than new libs or softwares ...
by newbie
Sun Sep 03, 2006 7:42 pm
Forum: Coding Questions
Topic: Managing multiple windows, any help/tutorial ?
Replies: 6
Views: 1885

It's sounds already far easier, thanks for the tip ;)
This question should be added to the FAQ IMO :)
by newbie
Sun Sep 03, 2006 7:31 pm
Forum: Coding Questions
Topic: Managing multiple windows, any help/tutorial ?
Replies: 6
Views: 1885

Managing multiple windows, any help/tutorial ?

Hello,

I didn't found in the help file how to manage multiple windows, and it's not obvious. If you create two windows, does each one should have it's own event management, or should it be only one event loop which handles both windows ?
Does each window should be created in a separate thread with ...
by newbie
Tue Aug 29, 2006 10:17 am
Forum: Tricks 'n' Tips
Topic: API hooking
Replies: 26
Views: 14461

Great info Rings ;)

About the driver, you will need to do it in C++ with the MS SDK I guess, and hook native API. Far less easy than PB :?
by newbie
Sat Aug 26, 2006 11:21 pm
Forum: Coding Questions
Topic: Passing variables instead of pointers works anyway ?
Replies: 2
Views: 1127

Thanks for the explanation, I didn't know the address was always passed for a string to an API. Things are clearer now :)