Search:
Type: Posts; User: Brownhead
Search:
Search took 0.05 seconds.
-
January 26th, 2009, 03:07 AM
I feel rather silly, immediately after I posted this I realized what I was doing wrong. I was creating a new array but the array was not being filled with constructed instances of X. The following...
-
January 26th, 2009, 03:01 AM
I've created a static function inside of a class, and then tried to create an array of instances of said class inside the static function and during run time a NullReferenceException is thrown. I am...
-
November 8th, 2008, 02:45 AM
Hmm, alright. I see that requring activation online will be the best and possibly only semi-secure option, thankyou everybody who has helped me and offered their suggestions.
-
November 7th, 2008, 11:34 AM
Thanks, but the problem with storing the MAC address in some hidden file is exactly that, the person would simply copy the EXE, which would be the first thing most users would try.. This protection...
-
November 6th, 2008, 08:48 PM
I need a way to make a program work on only the first computer it is run on, it doesn't need to be very secure but it needs to work. The idea that I came up with is to have the program save the MAC...
-
August 9th, 2008, 03:18 AM
I have a pointer to a dynamically allocated array that is in a shared data section. Defined as
DWORD* ThreadIDs __attribute__((section ("shared"), shared)) = NULL;(Using GCC Compiler) I want to know...
-
Thank you :), I never learned about references.
-
I've run across this code and have seen similar code before, but I'm not sure what it means
//--- file Person.h
. . .
class Person {
private:
char* _name;
int _id;
...
-
June 25th, 2008, 11:48 PM
Thank you, sorry for asking an already covered question. I also may have come up with an alternate solution. I haven't been able to test it yet though.
Column operator [] (int X)
...
-
June 25th, 2008, 11:17 PM
As the title implies, I have a wrapper for a two dimensional array that I want to access by simple saying ColorCluster[X][Y]. But I can't figure out how to overload it. I came up with this idea
...
-
June 22nd, 2008, 01:50 PM
Thanks! That was the problem. And I'm looking for a window that doesn't have any child windows, not necessarily top level. Thanks again!
-
June 21st, 2008, 06:18 PM
Thanks :), I'm sure I'll get it eventually! You've been a great help!
You seem to know a lot about graphic manipulation though, any chance you could glance through a function I've been having a lot...
-
June 21st, 2008, 05:00 PM
I think I understand, I never would have though of that :), thanks!
-
June 21st, 2008, 12:55 PM
Thanks but I don't think that'd work too well.. My way was very difficult to understand so I made a writeup, its on another computer though, so I'll post it when I can.
-
June 21st, 2008, 03:48 AM
I'm trying to create a routine that will trace a road stored in a monochrome bitmap. The road can have any amount of forks and splits in it but it stays a pretty consistent width the whole way...
-
June 19th, 2008, 12:07 PM
I do know it works, the callback function is being passed the same window multiple times though, and I'm just trying to figure out why that is.
ANd I have the lParam set as the handle because I'm...
-
June 18th, 2008, 10:31 PM
I have an enumeration set up kind of like this (Its missing the code that actually does something, but you should get the point)
BOOL CALLBACK EW_Main (HWND hWnd, LPARAM lParam)
...
-
Someone on another website has helped me out. The problem was in how I was formatting the CHAR array I was passing to CreateBitmap. Sorry for the empty thread, if a mod could just delete this I'd...
-
Hello, I have a function that will find pixels (of a certain color) in a DC that are grouped together. Like an ellipse, or really any shape. The dimensions of the data is stored inside a RECT...
-
April 23rd, 2008, 10:34 AM
Thanks everyone! I'll just use vectors, it looks to be alot simpler because I have many dynamic arrays in my code and handling them has been a bit of a chore. Thanks again everyone!
-
April 23rd, 2008, 02:19 AM
// Check to see if the Found array needs to be expanded
if (Entry > Max)
{
// Give the array 30 more spaces to fill
Max += 30;
/* Create a temp array with the amount of space...
-
April 16th, 2008, 12:37 AM
Thankyou for the responses everyone :-)! I know nothing about how GetDIBits works or how to use it and was just trying to go off the examples I've looked at. I'll look into what everyone has said and...
-
April 14th, 2008, 11:01 PM
I'm sure that was going to be a large problem but GetDIBits still fails which is the current problem at hand.. I think the problem may be the array size but increasing it doesn't work so I'm not...
-
April 14th, 2008, 07:44 PM
*Slaps Head*
****, can't believe I missed that, thankyou :-), I'll see if that works.
-
April 13th, 2008, 02:46 PM
Your right, I was assuming too much, there were a couple of problems but I'm still stuck on the second one. The call to GetDIBits is failing. It is returning 0 as a result, here is the altered code
...
|
Click Here to Expand Forum to Full Width
|