Search found 9 matches

by batcherx
Sun Apr 17, 2005 3:30 pm
Forum: Coding Questions
Topic: Monitoring a directory for new files being added
Replies: 56
Views: 37851

Look up these four APIs:

FindFirstChangeNotificationA
MsgWaitForMultipleObjects
FindNextChangeNotification
FindCloseChangeNotification

to set up a loop to:

init, set monitoring time interval, get change item, terminate monitoring.
by batcherx
Tue Mar 29, 2005 11:19 pm
Forum: Coding Questions
Topic: Add version # to a DLL
Replies: 4
Views: 1553

Thanks, that was easy :)
by batcherx
Tue Mar 29, 2005 10:54 pm
Forum: Coding Questions
Topic: Add version # to a DLL
Replies: 4
Views: 1553

Add version # to a DLL

The DLL I create with PB does not have a version tab when looking at the DLL's property in explorer.

How can I add the various version items names (Comment, Company, File Version etc) when creating the DLL?
by batcherx
Sun Jul 11, 2004 11:04 pm
Forum: Coding Questions
Topic: Resize array
Replies: 3
Views: 1160

Great! thanks.
by batcherx
Sun Jul 11, 2004 10:24 pm
Forum: Coding Questions
Topic: Resize array
Replies: 3
Views: 1160

Resize array

In the following prog layout how can I resize arraysort.s in proc itemcollatesort?
Help file talks about resizing but gives no example/s.

THX

Dim arraysort.s(1) ; template array for itemcollatesort
; array can be between 1 and 10,000,000 elements
; arraysort.s(10000000) would take up 30M approx ...
by batcherx
Mon Jun 28, 2004 1:35 am
Forum: Coding Questions
Topic: Adding file version info to PB DLLs and EXEs. How?
Replies: 7
Views: 1944

Site not up/available. Anybody know of another source/site?
by batcherx
Mon Jun 28, 2004 12:29 am
Forum: Coding Questions
Topic: Adding file version info to PB DLLs and EXEs. How?
Replies: 7
Views: 1944

Adding file version info to PB DLLs and EXEs. How?

How would I go about adding file version, internal name , product name etc to a PB dll or exe?

THX
by batcherx
Wed Jun 09, 2004 6:26 am
Forum: Coding Questions
Topic: OnError
Replies: 1
Views: 1042

OnError

Onerror problem.

OnErrorGoto(?label) ; sample
label: ; code

Using PureBasic 3.91 Beta 1
...\PureBasic\Compilers\SystemBase.lib 18206 bytes (latest)
...\PureBasic\Examples\OnError\errordialog.pb
Enable inline ASM support checked
Enable OnError lines support checked

Compile/Run errordialog.pb ...
by batcherx
Mon May 31, 2004 11:56 pm
Forum: General Discussion
Topic: memory command changes since last version..
Replies: 10
Views: 2354

Why wasn't the new simplified AllocateMemory command called AllocateMemoryx ?
How many old script got broken or had to be changed, or do people throw away their scripts after compilation?
For new PB users like me it's no problem. Howerver, for seasoned PBer it must have been unwelcomed.
As a newbie ...