|
Have you tried to email the author or post this on the Blue forums (assuming they have any)? You'll probably get a more accurate answer there.
Never mind, the project looks dead, the last release was 3 years ago, the forums are full of spam, or old (the last author post was 4 years ago), and the site's online docs are defacaced/hacked
Bummer
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
VCF Blog
|
|
|
|
|
out of curiosity ...
What is a general purpose library and why should one use it instead of what is already available when developing with Visual Studio ?
Why would you need to use it ? does it have something in particular ?
|
|
|
|
|
I'm "googled" this out searching for free IMAP library
and found many C# things bun tot so many for good old C++
YAP, this is wery dead project...
Thanks to wverybody anyway
|
|
|
|
|
I am a begginer in vc++, I am slowly working through a manual
can I driectly draw from the Onidle or call the cview-ondraw
can I do both? how do I go about this?
also, each time the onidle function is called, I would like to update
a variable and invoke this when I do the drawing methods
where do I declare this variable? I presume it to be a global
Please help, I'm stuck and i'm not very bright!!!!
simon
|
|
|
|
|
simon alec smith wrote: also, each time the onidle function is called, I would like to update
a variable and invoke this when I do the drawing methods
The best way is to update your variable and if you need to redraw, then call Invalidate()
This way, a WM_PAINT-message is sent, and automagically MFC calls your OnDraw() . And there (and only there!) you draw on the screen.
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
Hi !
I have a small problem with CArray.
I have some different places ( number not available ) where I measure temperatures every minute.
Now I want to store these temperatures in a CArray.
class CTempReader
{
struct GRAPH_POINTS // Holds the information of Temperature, Time and Date
{
int Temperature;
CString Date;
CString Time;
} St_Graph_Points;
struct TEMP_POINTS // Holds all temperatures of one place
{
CArray<graph_points,graph_points> TempZone;
} St_Temp_Points;
private:
CArray<temp_points,temp_points> TempZone; // The different places
}
If I try to compile these I get the following error:
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afxtempl.h(272) : error C2248: "CObject::CObject": Kein Zugriff auf private Member, dessen Deklaration in der CObject-Klasse erfolgte.
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(553): Siehe Deklaration von 'CObject::CObject'
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(524): Siehe Deklaration von 'CObject'
Diese Diagnose trat in der vom Compiler generierten Funktion "CArray<type,arg_type>::CArray(const CArray<type,arg_type> &)" auf.
with
[
TYPE=CCSVReader::GRAPH_POINTS,
ARG_TYPE=CCSVReader::GRAPH_POINTS
]
Any idea how to solve ?
This is the last part of a big program and I dont know how to solve it.
Thanks
Stefan
|
|
|
|
|
StefanRMB wrote: Any idea how to solve ?
Your post misses the < and > because codeproject thought they belong to some HTML-Tags and filtered them.
Please change your message to use the pre-tag.
Or better:
Use std::vector<GRAPH_POINTS> .
CArray is some sort of malformed older brother of the vector.
It is mostly hidden in the dark, because Microsoft is so ashamed of it. They had to invent it back when teir compiler only barely handeled templates.
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
You seem to have omitted some important code, or this is a VS200x-specific problem.
I compiled this with VS6 just fine:
#include <afxtempl.h>
class CTempReader
{
struct GRAPH_POINTS
{
int Temperature;
CString Date;
CString Time;
} St_Graph_Points;
struct TEMP_POINTS
{
CArray<GRAPH_POINTS, GRAPH_POINTS> TempZone;
} St_Temp_Points;
private:
CArray<GRAPH_POINTS, GRAPH_POINTS> TempZone;
};
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi again,
I found out that these code is not the problem. The problem is the following:
TEMP_POINTS MyTempPoints;
for( int i=0; i < MaxPoints; i++ )
{
TempZone.Add( MyTempPoints );
}
Any idea why ?
Regards
Stefan
|
|
|
|
|
Hi Stefan,
I think that CArray can only works with CObject. Can you try to derive youre structures like TEMP_POINTS from CObject.
But like the jhwurmbach said, you should try to use std::vector instead.
codito ergo sum
|
|
|
|
|
StefanRMB wrote: TempZone.Add( MyTempPoints );
Since TempZone is a member of TEMP_POINTS and CTempReader , its Add() method must be called in the context of one of them. What you've shown here does not.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
You don't give line numbers, but the compiler complains that the default constructor CObject::CObject() is private (which it is not, it is protected!)
Something Fishy going on here Check Afx.h in your implementation and see if it is private there.
Hope this helps
Bram van Kampen
|
|
|
|
|
I have an instant message packet.how can i block this specific packet to reach to the destination?I can block this by changing the content of packet.
But after that no more messages are send by the messenger(Yahoo).
sorry for my english..
Please someone help me ..very urgent............
Thanks in advance.......
Jomon
Jomon
|
|
|
|
|
Without knowing Yahoo's protocol, you can't reliably do this.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi Mark,
Thanks for your suggestion. Im working with the packet according to this protocol help.
.http://libyahoo2.sourceforge.net/ymsg-9.txt[^]
I got the packet. But i can't block this.I think yahoo or TCP\IP send an acknowledgement signal before sending each and every packet or one of them calculate the check sum.So it resend the packet.
How can i do this. If you have any idea please tell me ...
Thanks in advance..
Jomon
|
|
|
|
|
my programme invironment is Visual Studio 2005.when i open the .sln down from the msdn and compile it,it always said jump over.how can i do ? the second question is i can't see anything in the toolbox,but sometimes it appear.what is wrong?
|
|
|
|
|
youbo wrote: it always said jump over
What?
Did you translate the error message from chinese?
Sorry, but your translation is incomprehensible.
Maybe you can cite the original message here and a native speaker of chinese can help you?
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
youbo wrote: what is wrong?
maybe you should... "jump over" ?
more seriously, i think you meant to say "convert the solution to a VS2005 solution", right ?
|
|
|
|
|
Experts,
I'm taking a course in image processing (under Homeland Security). This class was supposed to be an Analysis course; however, the teacher has been focusing heaviliy on C/C++ programming. That's a different story though...
Anyhow, I need to develop a (simple) C/C++ program that does do "something fun" with images (as it relates to Homeland Security).
This project is due in 3 weeks. The instructor isn't very helpful as far as guiding us through the process (e.g. recommendations for "manageable" projects). I have VERY limited C/C++ programming skills and I feel like I'm running out of options.
So, my question:
- where can I find some source code that relates to image processing? Obviusly, I've googled sites, but don't seem to find some existing code that I could either try to enhance or built upon. I tried sites such as Yuv408.com, CodeCogs, CoderProject, etc. Unfortunately, I don't see anything that I use given the "image processing" and "homeland security" constraints.
PLEASE HELP!
Thanks,
skydivetom
|
|
|
|
|
skydivetom wrote: Anyhow, I need to develop a (simple) C/C++ program that does do "something fun" with images (as it relates to Homeland Security).
You could draw clown noses on detected faces.
Why the heck is "Homeland Security" related to your image processing class ?
|
|
|
|
|
skydivetom wrote: Anyhow, I need to develop a (simple) C/C++ program that does do "something fun" with images (as it relates to Homeland Security).
Such as?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
David,
I probably want to implement e.g. "Canny Edge Detection":
http://cs.nyu.edu/~cil217/Vision/vision_edge_detector.htm[^]
Otherwise, I'd like to find the algorithm/code (C/C++) for either "denoising images" or "deblurring images".
Any pointers where I might find some code? It needs to be very basic though... preferably no more than 1 or 2 CPP files.
EEH
|
|
|
|
|
skydivetom wrote: Any pointers where I might find some code?
Other than searching for them, I've no clue. Image processing is not something I've ever done.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
skydivetom wrote: or "deblurring images".
this is not as easy as it sounds depending on what you are trying to do. However, sharpening and smoothing are simple matrix operations. http://www.vbaccelerator.com/codelib/gfx/imgproc.htm[^] (sorry for the vb reference, first one google turned up)
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
skydivetom wrote: Anyhow, I need to develop a (simple) C/C++ program that does do "something fun" with images (as it relates to Homeland Security).
You know those whack-the-mole games in the kids section of an arcade? Well - I suggest you create a whack-the-mole game. Only instead of a mole, use Michael_Chertoff's[^] face. A large mallat as the mouse cursor, and a 3x3 grid should suffice.
-- modified at 10:43 Thursday 8th November, 2007
Note: There is even an image of his face in that Wiki
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|