...PHOTO.MATRIX
where PHOTO is a structure data type, with a member MATRIX previously
defined in this way:
ReDim PHOTO.MATRIX(1 TO PHOTO.WIDTH*3,1 TO PHOTO.HEIGHT)
in this way,the program read bytes starting from PIXELSTART in bmp file and
put them in transpose matrix resultant.
For...
...PHOTO.MATRIX
where PHOTO is a structure data type, with a member MATRIX previously defined in this way:
ReDim PHOTO.MATRIX(1 TO PHOTO.WIDTH*3,1 TO PHOTO.HEIGHT)
in this way,the program read bytes starting from PIXELSTART in bmp file and put them in transpose matrix resultant.
For example...
...PHOTO.MATRIX
where PHOTO is a structure data type, with a member MATRIX previously defined in this way:
ReDim PHOTO.MATRIX(1 TO PHOTO.WIDTH*3,1 TO PHOTO.HEIGHT)
in this way,the program read bytes starting from PIXELSTART in bmp file and put them in transpose matrix resultant.
For example...
...serialization of the array and
related class elements contained it's ok, but if i use a CArray it's going in
this error
_AFX_INLINE CStringData* CString::GetData() const
{ ASSERT(m_pchData != NULL); return ((CStringData*)m_pchData)-1; }
Can someone know the reason?
i defined
CObArray...
i explain better ... i have a Vector declared in CView derived class
typedef vector <CRectTracker*> TrackerVec;
CRectTracker* pTracker;
TrackerVec myVec;
and a function that creates dinamically CRectTracker objects
std::auto_ptr<CRectTracker> pTracker(
new...
actually i have some CRectTracker object in CView class and i need to serialize them...how could i do?i thonk obtaining a CView oointer from within the CDoc and so get access to CView member to serialize...i'm going wrong?
...in CView derived class that must return to CDoc derived class the active view pointer...how can i do?
i tried something similar
CSdicap10View* CSdicap10View::GetView()
{
CSdicap10View* pView = GetActiveView();
return pView;
}
it return error GetActiveView undeclared identifier...
thanks for reply but i don't understand if the callback function is called directly by operating system and if it must be a win api function or if i can create a user-defined callback function and i decide to call it calling the function that has its address as an argument
I can't find a good definition and explanation about callback functions in Win32... can someone explain me what are callback functions and how they work and receive parameters?
thanks for help, i've solved the problem starting with a new project and importing cpp and h files...the old project probably was corrupted... i'm building a paint graphic app and i've some problems with flickering view, i've some object of type CRectTracker and other simple graphic objects...
i know there are 2 lists one for cpp and one for h files...yes i'm trying to build my project but it doesn't i get a list of strange errors...and if i try to compile a single class the error above appears...
i've lost my project i can't compile it due to following message:
Cannot compile the file "d:\temp\myfile.h"; no compile tool is associated
with the file extension.
how can i solve?
Thanks
Can someone explain or help me to find some tutorial and sample apps about
API for creating an application that implements a VU METER for audio wave
soundcard device?What API win32 and algorithms i have to use and look for?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.