Search:
Type: Posts; User: mitz89
Search:
Search took 0.12 seconds.
-
December 3rd, 2006, 11:29 PM
ei, thanks.. It works great.. :)
-
December 3rd, 2006, 09:52 PM
Thnx for the reply. It is because I don't want to show the image at first because First I want to change the size of the bitmap and then display it.
In this situation I used BITMAPINFO to retrieve...
-
December 3rd, 2006, 09:41 PM
I've created a dynamic multi-dimensional array.
However, when I close the program memory leak occurs.
I already placed a delete function at the end but memory leak still appears.
int **Arry...
-
November 28th, 2006, 07:55 PM
Is it possible to retrieve the color of the pixel with given the x and y coordinates of the pixel without using a CDC?
I'm thinking like saving the bitmap into a memory then retrieve the color of...
-
October 26th, 2006, 01:40 AM
I was able to debug the program and it seems that the manual testing that I performed was right. It does have an error in the program. It return after the second loop of polygonA.
-
October 26th, 2006, 01:18 AM
I tried creating a program however I get an access violation here:
int h;
POLYGON *g;
POLYGON *t;
g = new POLYGON();
t = new POLYGON();
-
October 26th, 2006, 12:06 AM
Manually. Graph the two polygons assign their respective coordinates and just follow the flow of the program. That's why I'm quite not sure with the output because from the result of my tests it...
-
October 25th, 2006, 11:49 PM
Actually it doesn't have a project yet. I just saw the code in a site and just tried testing it manually if the algorithm is correct.
-
October 25th, 2006, 11:39 PM
So you have already tried running the program?
So what happened?
I tried testing it twice but then on the condition part it enters the return 0 command.
-
October 25th, 2006, 11:03 PM
for (side = 0; side < a->NumSides; side++)
{
.....some codes
/* test if lines intersect, if not, return false */
if (maxA < minB || minA > maxB)
return...
-
October 25th, 2006, 10:27 PM
What do you mean? Is the program working? because I haven't tried running it I just tested it manually however in testing it seems that the next loop in testing polygonA it already return 0 even if...
-
October 25th, 2006, 08:27 PM
Really need help.. thanks..
-
October 25th, 2006, 07:58 AM
I'm trying to detect if two polygons have intersected.
The Center point of PolygonA is -1,2.5 with points[a1(-4,4),b1(2,4),c1(-4,1),and d1(2,1)] and PolygonB is 2.5,2.5 with...
-
October 4th, 2006, 05:00 AM
oops.. my mistake.
Actually I was just giving an example like if the sql you are trying to pass have multiple conditions you could use the Filter function instead of the Find function of...
-
October 3rd, 2006, 08:11 PM
ei, solved the problem. I used the function Filter.
ex.
CString strWhere;
//set connection to database and recordset.
//Find a recordset
strWhere = "field1='value1' AND field2='value2'...
-
October 3rd, 2006, 06:26 AM
Does anyone has any idea on what function to use which I can be able to pass two or more conditions into the SQL statement? It's because the current function that I'm using which is the find method...
-
October 3rd, 2006, 04:12 AM
ei salman108, I tried using what you suggested however in the part where I would use the putcollect function, it creates an error. It seems that it has affected the pRecord.
_variant_t vField,...
-
October 3rd, 2006, 03:46 AM
Then it will be able to execute same operation just like using the pRecordset.Find? Then how can I pass the value to the pRecordset?
-
October 3rd, 2006, 03:14 AM
Also tried using it but still doesn't work.
I think the function the I used is the problem.
I think it can only handle single conditions. Any ideas what other function
I can use to which can...
-
October 3rd, 2006, 02:56 AM
Im using a ADO connection an actually the program is running quite smoothly. However when I tried placing multiple conditions into the Find statement, it seems that it creates an error. I tried using...
-
September 26th, 2006, 10:24 PM
Yes.. thanks again..
The problem actually was in inserting data into the database.
I was so focus in coding that I forgot that there are also required
fields in the table which needed some input...
-
September 26th, 2006, 06:58 AM
Ei, your code works.. I quite don't know where is the problem in my code..
Have to double check my connections I think.. Thanks..
-
September 26th, 2006, 06:32 AM
Ei PadexArt,
It seems that the error still appears.. When you run the program you created, did the error appeared?
Yes, I'm havig a doubt in the part where I open the recordset if correct...
-
September 26th, 2006, 04:46 AM
I tried using it but still error appears..
Are there any other ways to insert a record into the database?
I also tried using Addnew("field","Value") But still error occurs.
Do you have any...
-
September 26th, 2006, 04:12 AM
I think i can be able to replicate it into a small project however the database is quite big to be uploaded.
|
Click Here to Expand Forum to Full Width
|