FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 10 matches
Forum Index
Author Message
  Topic: looking for a queue or semaphore [phobos, win32]
cracki

Replies: 2
Views: 9209

PostForum: General   Posted: Thu Aug 23, 2007 5:33 pm   Subject: looking for a queue or semaphore [phobos, win32]
(1) it's pure luck that i noticed my old thread on the "new threads" list
(2) i knew of synchronized back then. it's a low level primitive that i feel no urge to implement stuff on that's s ...
  Topic: Changing color of ProgressBar
cracki

Replies: 2
Views: 9370

PostForum: DFL   Posted: Tue Aug 07, 2007 12:27 pm   Subject: Changing color of ProgressBar

enum : uint {
PBM_SETBARCOLOR = 0x0409,
PBM_SETBKCOLOR = 0x2001,
}


should work with that.
  Topic: How to find out if a form has been created
cracki

Replies: 3
Views: 9365

PostForum: DFL   Posted: Sun Jun 17, 2007 9:07 am   Subject: How to find out if a form has been created
you need to keep a handle to it.
  Topic: Error: 4 invalid UTF-8 sequence [Weird]
cracki

Replies: 5
Views: 12469

PostForum: General   Posted: Wed Jun 06, 2007 7:35 pm   Subject: Error: 4 invalid UTF-8 sequence [Weird]
you change the string before outputting it.
walk it, change chars that are >127.
  Topic: Error: 4 invalid UTF-8 sequence [Weird]
cracki

Replies: 5
Views: 12469

PostForum: General   Posted: Wed Jun 06, 2007 3:11 pm   Subject: Error: 4 invalid UTF-8 sequence [Weird]
D's standard output can only handle utf8.
you try to output something other than utf8.
you need to transform your strings. simplest solution: just escape everything that's outside of the range of as ...
  Topic: Using PictureBox with STRETCH_IMAGE Mode
cracki

Replies: 3
Views: 11255

PostForum: DFL   Posted: Tue Jun 05, 2007 9:39 am   Subject: Using PictureBox with STRETCH_IMAGE Mode
you need to set the docking of `pic` to FILL

see there for more
http://wiki.dprogramming.com/DflDoc/HomePage


please don't use classes just because you can.
there is no reason why you need a ...
  Topic: Linux Daemon in D
cracki

Replies: 2
Views: 9199

PostForum: General   Posted: Mon Jun 04, 2007 3:29 am   Subject: Linux Daemon in D
unix daemons are whole processes.

you can't split a process into a "daemon" thread and another thread.

here some stuff on IPC
http://www.ecst.csuchico.edu/~beej/guide/ipc/
  Topic: looking for a queue or semaphore [phobos, win32]
cracki

Replies: 2
Views: 9209

PostForum: General   Posted: Thu May 24, 2007 10:15 am   Subject: looking for a queue or semaphore [phobos, win32]
Hi,

i'm looking for a queue or semaphore
i'm running DMD/phobos on win32

my program:
one thread produces images, the other thread displays them with tight timing.
i need to produce images in ...
  Topic: How am I supposed to work?
cracki

Replies: 12
Views: 40290

PostForum: Tutorials   Posted: Wed May 23, 2007 4:27 pm   Subject: How am I supposed to work?
put that in a recompile_and_run.bat:
@echo off
del yoursource.exe
dmd yoursource.d
yoursource.exe
pause

doubleclick it.
  Topic: How am I supposed to work?
cracki

Replies: 12
Views: 40290

PostForum: Tutorials   Posted: Wed May 23, 2007 2:33 pm   Subject: How am I supposed to work?
if you start console programs, which the pasted code of yours clearly is, they open a console and close it when they're done. that's what console programs do.

all C, C++ and D newbies ask that same ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group