Click here to Skip to main content
15,888,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: function time Pin
Julberto Danray24-Aug-06 12:49
Julberto Danray24-Aug-06 12:49 
AnswerRe: function time Pin
ThatsAlok24-Aug-06 18:14
ThatsAlok24-Aug-06 18:14 
GeneralRe: function time Pin
afpr25-Aug-06 1:09
afpr25-Aug-06 1:09 
QuestionDialogBox of win32 dll Pin
Manjunath S24-Aug-06 8:51
Manjunath S24-Aug-06 8:51 
AnswerRe: DialogBox of win32 dll Pin
prasad_som24-Aug-06 22:15
prasad_som24-Aug-06 22:15 
GeneralRe: DialogBox of win32 dll Pin
Manjunath S24-Aug-06 23:21
Manjunath S24-Aug-06 23:21 
GeneralRe: DialogBox of win32 dll Pin
prasad_som24-Aug-06 23:32
prasad_som24-Aug-06 23:32 
GeneralRe: DialogBox of win32 dll Pin
Manjunath S25-Aug-06 0:14
Manjunath S25-Aug-06 0:14 
Hi

code is as follows
if((hInst_temp = GetModuleHandle(NULL))==NULL)
{
MessageBox(NULL,"GetModuleHandle error",NULL,MB_OK);

}

if(-1 ==WlxDialogBoxParam(hWlx, hInst_temp,MAKEINTRESOURCE(IDD_DXCAPTURE_DIALOG),NULL, MyCaptureDlgProc, dwInitParam))
{
LPVOID lpMsgBuf;
LPVOID lpDisplayBuf;

DWORD dw = GetLastError();
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
dw,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &lpMsgBuf,
0, NULL );

lpDisplayBuf = (LPVOID)LocalAlloc(LMEM_ZEROINIT,
lstrlen((LPCTSTR)lpMsgBuf)+lstrlen((LPCTSTR)"gina")) *sizeof(TCHAR));

wsprintf((LPTSTR)lpDisplayBuf,
TEXT("%s failed with error %d: %s"),
"Gina", dw, lpMsgBuf);

MessageBox(NULL, (LPCTSTR)lpDisplayBuf, TEXT("Error"), MB_OK);

LocalFree(lpMsgBuf);
LocalFree(lpDisplayBuf);
}

error number is 1813( ths specified resource type cannot found in image file)

Manjunath S
GESL
Bangalore

GeneralRe: DialogBox of win32 dll Pin
prasad_som25-Aug-06 1:46
prasad_som25-Aug-06 1:46 
GeneralRe: DialogBox of win32 dll Pin
Manjunath S25-Aug-06 3:02
Manjunath S25-Aug-06 3:02 
GeneralRe: DialogBox of win32 dll Pin
prasad_som25-Aug-06 3:08
prasad_som25-Aug-06 3:08 
QuestionDefault edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 8:17
lctrncs24-Aug-06 8:17 
AnswerRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
David Crow24-Aug-06 9:14
David Crow24-Aug-06 9:14 
AnswerRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. [modified] Pin
Justin Tay24-Aug-06 9:17
Justin Tay24-Aug-06 9:17 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 14:32
lctrncs24-Aug-06 14:32 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
Justin Tay24-Aug-06 15:30
Justin Tay24-Aug-06 15:30 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 15:33
lctrncs24-Aug-06 15:33 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
Justin Tay24-Aug-06 15:47
Justin Tay24-Aug-06 15:47 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 21:21
lctrncs24-Aug-06 21:21 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs25-Aug-06 3:55
lctrncs25-Aug-06 3:55 
QuestionApp Icon not showing correctly on desktop Pin
$motty24-Aug-06 8:05
$motty24-Aug-06 8:05 
AnswerRe: App Icon not showing correctly on desktop Pin
Waldermort24-Aug-06 8:34
Waldermort24-Aug-06 8:34 
GeneralRe: App Icon not showing correctly on desktop Pin
$motty24-Aug-06 12:04
$motty24-Aug-06 12:04 
GeneralRe: App Icon not showing correctly on desktop Pin
Waldermort24-Aug-06 14:37
Waldermort24-Aug-06 14:37 
GeneralRe: App Icon not showing correctly on desktop Pin
$motty24-Aug-06 20:58
$motty24-Aug-06 20:58 

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.