Click here to Skip to main content
15,919,340 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: new to c++ need help about compiling Pin
berndg9-Sep-03 20:25
berndg9-Sep-03 20:25 
GeneralRe: new to c++ need help about compiling Pin
DougW4810-Sep-03 2:00
DougW4810-Sep-03 2:00 
GeneralRe: Char * w/ escaped character to char Pin
Abin9-Sep-03 13:55
Abin9-Sep-03 13:55 
GeneralDirectX video capture without audio Pin
cje9-Sep-03 12:12
cje9-Sep-03 12:12 
GeneralRe: DirectX video capture without audio Pin
Andrew Walker9-Sep-03 12:21
Andrew Walker9-Sep-03 12:21 
GeneralRe: DirectX video capture without audio Pin
cje9-Sep-03 12:47
cje9-Sep-03 12:47 
GeneralOverriding CMDIChildWnd::OnCreateClient Pin
Ori K9-Sep-03 11:49
Ori K9-Sep-03 11:49 
Generalvalues for MFC function in VC++ Pin
extraeye9-Sep-03 11:45
extraeye9-Sep-03 11:45 
I'm trying to get some code working that was available at another site. Having difficulty identifying how to pass values to the following function.

void WnWd_CreateHWDrv(CWnd* pWnd ,
WORD wHWCardNo ,
BYTE* lpImage,
BITMAPINFO* lpDIBHdr)
{
CWnDrv* pThread;

pThread = new CWnDrv(pWnd,
wHWCardNo,
lpImage ,
lpDIBHdr);

if (pThread == NULL) return;

ASSERT_VALID(pThread);

// Create Thread in a suspended state so we can set the Priority
// before it starts getting away from us
if (!pThread->CreateThread(CREATE_SUSPENDED))
{
delete pThread;
return;
}

// since everything is successful, add the thread to our list
m_threadList.AddTail(pThread);

}

Are these standard values obtained from windows somewhere, or do I have to give them from an MFC dialouge application ? If I have to give them, where do I get them from in windows? The wHWCardNo is straight forward enough, thats zero or '0'. Does anyone know what form or value this should take ?


QuestionWhat function am I? Pin
krauskim9-Sep-03 11:19
krauskim9-Sep-03 11:19 
AnswerRe: What function am I? Pin
Alvaro Mendez9-Sep-03 11:38
Alvaro Mendez9-Sep-03 11:38 
AnswerRe: What function am I? Pin
Andrew Walker9-Sep-03 12:24
Andrew Walker9-Sep-03 12:24 
GeneralRe: What function am I? Pin
krauskim9-Sep-03 14:37
krauskim9-Sep-03 14:37 
GeneralRe: What function am I? Pin
Andrew Walker10-Sep-03 14:12
Andrew Walker10-Sep-03 14:12 
AnswerRe: What function am I? Pin
parths9-Sep-03 16:05
parths9-Sep-03 16:05 
GeneralObtaining the ascii value of a character Pin
elchip9-Sep-03 11:02
elchip9-Sep-03 11:02 
GeneralRe: Obtaining the ascii value of a character Pin
Michael Dunn9-Sep-03 11:15
sitebuilderMichael Dunn9-Sep-03 11:15 
GeneralRe: Obtaining the ascii value of a character Pin
Jonathan de Halleux9-Sep-03 11:15
Jonathan de Halleux9-Sep-03 11:15 
GeneralRe: Obtaining the ascii value of a character Pin
Jagadeesh VN9-Sep-03 22:44
Jagadeesh VN9-Sep-03 22:44 
Generalerror using "sick" text file with character > 255 Pin
Jonathan de Halleux9-Sep-03 10:55
Jonathan de Halleux9-Sep-03 10:55 
GeneralRe: error using "sick" text file with character > 255 Pin
Michael Dunn9-Sep-03 11:17
sitebuilderMichael Dunn9-Sep-03 11:17 
GeneralRe: error using "sick" text file with character > 255 Pin
Jonathan de Halleux9-Sep-03 11:23
Jonathan de Halleux9-Sep-03 11:23 
GeneralRe: error using "sick" text file with character > 255 Pin
Jonathan de Halleux9-Sep-03 12:17
Jonathan de Halleux9-Sep-03 12:17 
GeneralRe: C++ Question. Pin
ZoogieZork9-Sep-03 10:52
ZoogieZork9-Sep-03 10:52 
GeneralRe: C++ Question. Pin
WREY9-Sep-03 10:56
WREY9-Sep-03 10:56 
Generalget tape drive info using vc++ Pin
Anonymous9-Sep-03 10:43
Anonymous9-Sep-03 10: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.