Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange Codes Pin
FlyingDancer29-Jul-03 14:39
FlyingDancer29-Jul-03 14:39 
GeneralRe: Strange Codes Pin
David Crow29-Jul-03 16:49
David Crow29-Jul-03 16:49 
GeneralSet Fullscreen mode Pin
soundman3229-Jul-03 3:39
soundman3229-Jul-03 3:39 
GeneralRe: Set Fullscreen mode Pin
zeki yugnak29-Jul-03 4:26
zeki yugnak29-Jul-03 4:26 
GeneralRe: Set Fullscreen mode Pin
soundman3229-Jul-03 5:06
soundman3229-Jul-03 5:06 
GeneralRe: Set Fullscreen mode Pin
wb29-Jul-03 5:18
wb29-Jul-03 5:18 
GeneralRe: Set Fullscreen mode Pin
User 2237029-Jul-03 6:04
User 2237029-Jul-03 6:04 
GeneralSAFEARRAY.. Pin
JoeSox29-Jul-03 3:36
JoeSox29-Jul-03 3:36 
what is a SAFEARRAY?
I am having a hard time understanding the little documentation that I have found. I am interested in constructing one because of this function I have found...
<br />
//----------------------------------------------------------------------------------------<br />
//detect objects within the image<br />
//----------------------------------------------------------------------------------------<br />
int CFacedetectApp::RCobj_detectfaces(SAFEARRAY **bmp)<br />
{  <br />
  BYTE *bmp2;<br />
  int i;<br />
<br />
  SafeArrayLock(*bmp);<br />
<br />
  bmp2 = (BYTE *)(*bmp)->pvData;<br />
<br />
  for (i=0;i<width*height*3;i++) video_image[flip]->imageData[i] = bmp2[i];  <br />
<br />
  if (!trackingEnabled)<br />
    DetectFaces(video_image[flip]);<br />
    else<br />
	updateTracking();<br />
<br />
  flip = 1-flip;<br />
<br />
  SafeArrayUnlock(*bmp);<br />
<br />
  return(NoOfObjects);<br />
}<br />


The code is from....
http://www.fuzzgun.btinternet.co.uk/rodney/components.htm#FaceDetection[^]
Why is it so hard just to give a function a simple file name and let it do it's detectionUnsure | :~
I like his .dlls because they are simplified but I am having trouble understanding them. any help would be great. thanks

Later,
JoeSox
www.humanaiproject.org
"The worst fad has been these stupid little robots,
Graduate students are wasting 3 years of their lives
soldering and repairing robots, instead of making them smart.
It's really shocking." -Marvin Minsky.

GeneralRe: SAFEARRAY.. Pin
Ian Darling29-Jul-03 4:17
Ian Darling29-Jul-03 4:17 
GeneralRe: SAFEARRAY.. Pin
JoeSox29-Jul-03 6:05
JoeSox29-Jul-03 6:05 
GeneralCDC BitBlt problem Pin
_crs_29-Jul-03 3:12
_crs_29-Jul-03 3:12 
GeneralHmmm, it should have worked... Pin
Kochise29-Jul-03 4:30
Kochise29-Jul-03 4:30 
GeneralRe: CDC BitBlt problem Pin
Chris Losinger29-Jul-03 5:36
professionalChris Losinger29-Jul-03 5:36 
GeneralDebug Assertion Failed Pin
Luke Murray29-Jul-03 3:06
Luke Murray29-Jul-03 3:06 
GeneralRe: Debug Assertion Failed Pin
Michael Dunn29-Jul-03 5:05
sitebuilderMichael Dunn29-Jul-03 5:05 
GeneralRe: Debug Assertion Failed Pin
Luke Murray29-Jul-03 21:18
Luke Murray29-Jul-03 21:18 
Question#region in vc? Pin
novachen29-Jul-03 2:01
novachen29-Jul-03 2:01 
AnswerRe: #region in vc? Pin
Alexander M.,29-Jul-03 9:22
Alexander M.,29-Jul-03 9:22 
GeneralPrint a postscript file Pin
Jerome Conus29-Jul-03 2:01
Jerome Conus29-Jul-03 2:01 
GeneralRe: Print a postscript file Pin
jhwurmbach29-Jul-03 3:17
jhwurmbach29-Jul-03 3:17 
GeneralRe: Print a postscript file Pin
Jerome Conus29-Jul-03 3:22
Jerome Conus29-Jul-03 3:22 
GeneralRe: Print a postscript file Pin
jhwurmbach29-Jul-03 3:35
jhwurmbach29-Jul-03 3:35 
Generalbmp2png Pin
ariez29-Jul-03 1:57
ariez29-Jul-03 1:57 
GeneralRe: bmp2png Pin
zeki yugnak29-Jul-03 4:30
zeki yugnak29-Jul-03 4:30 
General.dll HELLP.... Pin
JoeSox29-Jul-03 1:43
JoeSox29-Jul-03 1:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.