![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Open Source Projects The place to discuss Basic4ppc open source applications. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
What I was hoping to achieve was the ability to see the pixels as soon as you made it. I forgot that this would not be needed so yes you are right, it wouldn't be necissary.
When I move the code and dlls to the original file it works apart from the fact that it is very very slow and flickers a lot. Do you knwo what i am doing wrong? Also where is it in that code where you set the colour? It used to use cYellow didn't it but now I can't find it? It also would be good to have it work on a computer but that is not the main priority so does not need to be worked on until a satble ppc version is released. EDIT: Oops... i get why it was taking so slow... I had made amistake in the timer. Last edited by neilnapier : 12-10-2007 at 05:04 PM. |
|
|||
|
Neil, Ive just seen how uve merged the two codes - not efficient because its doing all the processing for pensize, drawing lines etc in the loop thats moving the pixels. I'll merge the code, u work on the dll?
do u have Visual C# 2008 compiler, Express edition is free from Microsoft, if not can u download it because then u can maintain the dll library? To get rid of those stray pixels I need an extra line in the C# routine If u can be the C# guy on this we wont have to keep asking Agraham to bail us out? Last edited by colin9876 : 12-10-2007 at 05:27 PM. |
|
||||
|
I've found time to look at this again. The previous dll versions were quick and dirty and the loop ends and indexing weren't quite right as I hadn't bothered too much, also it left pixels behind.
Here's what should be a clean version with bounds limiting so it won't error and won't leave pixels behind. Note that there are changes in bstest.sbp. At pixel creation you were effectively indexing from base1 - it is now base 0 and your bounds checking is gone. Visual C++ 2005 Express edition might do for the desktop as I believe that you can create managed assemblies with it - but I have never used it. However none of the Express editions can compile for a device. You need Visual Studio or SharpDevelop for that or roll your own at the command line with the free Microsoft SDK. |
|
||||
|
Quote:
But its all or nothing I'm afraid. You could always pass the colours in as another array like in this version! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Personal Pocket PC Wiki | tsteward | Open Source Projects | 121 | 11-29-2008 09:06 AM |
| Tippy v.1.0 [open source] | N1c0_ds | Share Your Creations | 4 | 11-20-2008 10:08 PM |
| Another Pocket Wiki | digitaldon37 | Open Source Projects | 1 | 09-17-2008 11:01 AM |
| Pocket Burning Sand | neilnapier | Questions & Help Needed | 2 | 11-05-2007 08:53 PM |
| dzSpy - Spy and Task Manager App - Open Source | dzt | Share Your Creations | 3 | 07-15-2007 06:21 AM |