PDA

Click to See Complete Forum and Search --> : Need tiny DLL (in C++) $100 cash (paid via PayPal) for less than 1 hour work!


Latch
Jun 9th, 2008, 07:05 PM
We have a VB.Net app and one routine is too slow in VB.net so we need a quick solution in C++. It's real simple and any decent C++ programmer could accomplish this in a matter of minutes.

We have an app that manipulates a small bitmap (300x216) for displaying various things. There are various instructions carried out on the bitmap and most of them are simply drawing pixels. There is a need to "scroll" the image up, down, left, or right by X amount of pixels. The problem is that the bitmap is (and needs to stay) a 4bpp indexed palette image, and, unfortunately the graphics object in .Net won't work with images that have an indexed palette. Our only solution so far moves each pixel one by one but that is too slow for our app.

What we basically need is a DLL we can call that will scroll the bitmap in any direction by any amount of pixels, and wrap (meaning if we scroll 6 pixels to the right, the 6 pixels that got pushed off the right will wrap around to the left side).

The DLL needs to be written in Visual C++ 2005 or 2008. Upon receipt of the DLL and the source code (and a quick test to verify that it works), I will send $100 immediately via PayPal to the account of your chosing.

If you understand what we need, and this sounds like a piece of cake to you, and you want to make a quick $100, please inquire via our tech support page as we don't want to disclose any email address here.

http://www.latshawsystems.com/TechSupport.aspx

Thanks in advance,

Bob Latshaw
Latshaw Systems

wossname
Jun 10th, 2008, 06:31 AM
Give us a bitmap then...

Latch
Jun 10th, 2008, 11:11 AM
It's not a file I can send you. The bitmap is in memory.

Private Const iWidth As Integer = 300 ' Width of bitmap
Private Const iHeight As Integer = 216 ' Height of bitmap
Friend BM As New Drawing.Bitmap(iWidth, iHeight, Imaging.PixelFormat.Format4bppIndexed)

I need to be able to pass the object BM to the new DLL. If need be, I can pass the raw bitmap data by using the LockBits method. For more info on that, here's a good link we found

http://www.bobpowell.net/lockingbits.htm

It will also help you understand how the 4bpp Indexed image is stored in memory.

Atheist
Jun 10th, 2008, 12:35 PM
I've started working on a DLL for you, its currently scrolling the image to the left only, and the wrapping isnt..well.. 100% working yet, however i'll probably just need another 30-40 minutes to complete it. However I must be off now, but if no one else has completed this for you when I get back, I'll finish it for you.

Hack
Jun 10th, 2008, 01:30 PM
Moved

Latch
Jun 10th, 2008, 02:38 PM
I've started working on a DLL for you, its currently scrolling the image to the left only, and the wrapping isnt..well.. 100% working yet, however i'll probably just need another 30-40 minutes to complete it. However I must be off now, but if no one else has completed this for you when I get back, I'll finish it for you.

You are the only one to reply so far about the request. Contact me at the web site so we can continue discussing the details via private email. I'll even give you my cell phone number if you need it.

I surely hope you find this message since they took the liberty in moving the thread to a new forum.

Atheist
Jun 11th, 2008, 07:46 AM
I thought I had it finished just now, then I tried it with a really small bitmap and got a memory error, so I'll be troubleshooting a bit more after work today, then I hope it'll be ready.

Atheist
Jun 12th, 2008, 01:41 PM
Alright its finished, I've sent you a mail using the link you provided.