Click here to Skip to main content
15,881,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
Chris Meech1-Mar-12 6:40
Chris Meech1-Mar-12 6:40 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
appollosputnik1-Mar-12 16:34
appollosputnik1-Mar-12 16:34 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
Richard MacCutchan1-Mar-12 20:42
mveRichard MacCutchan1-Mar-12 20:42 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
appollosputnik1-Mar-12 21:54
appollosputnik1-Mar-12 21:54 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
Richard MacCutchan1-Mar-12 23:12
mveRichard MacCutchan1-Mar-12 23:12 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
appollosputnik1-Mar-12 20:19
appollosputnik1-Mar-12 20:19 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
Jochen Arndt1-Mar-12 21:46
professionalJochen Arndt1-Mar-12 21:46 
GeneralRe: loading dll second time giving error "A required resource was unavailable" Pin
appollosputnik2-Mar-12 3:59
appollosputnik2-Mar-12 3:59 
I have got the problem I have implemented the PrecreateWindow for my view class.
just check this code.

[code]
BOOL CMyView::PreCreateWindow(CREATESTRUCT& cs)
{
cs.lpszClass = ::AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS | CS_OWNDC,::LoadCursor(NULL, IDC_ARROW), NULL, NULL);

cs.style |= WS_CLIPSIBLINGS | WS_CLIPCHILDREN;

cs.dwExStyle = WS_EX_CLIENTEDGE;

return CView::PreCreateWindow(cs);
}
[/code]

If I remove the first line, i.e
cs.lpszClass = ::AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS | CS_OWNDC,::LoadCursor(NULL, IDC_ARROW), NULL, NULL);
then my dll window is coming all the times from the client call. But it's flickering .
So now please help me what can I do to resolve this. I think some of you must have understood the problem, please help me. Thanks a lot.
QuestionHow to read USB type Disk Drive device? Pin
Le@rner29-Feb-12 21:42
Le@rner29-Feb-12 21:42 
AnswerRe: How to read USB type Disk Drive device? Pin
Richard MacCutchan29-Feb-12 22:38
mveRichard MacCutchan29-Feb-12 22:38 
GeneralRe: How to read USB type Disk Drive device? Pin
Le@rner1-Mar-12 1:34
Le@rner1-Mar-12 1:34 
GeneralRe: How to read USB type Disk Drive device? Pin
Richard MacCutchan1-Mar-12 2:19
mveRichard MacCutchan1-Mar-12 2:19 
AnswerRe: How to read USB type Disk Drive device? Pin
Albert Holguin1-Mar-12 11:26
professionalAlbert Holguin1-Mar-12 11:26 
GeneralRe: How to read USB type Disk Drive device? Pin
Le@rner1-Mar-12 18:04
Le@rner1-Mar-12 18:04 
GeneralRe: How to read USB type Disk Drive device? Pin
Albert Holguin1-Mar-12 18:52
professionalAlbert Holguin1-Mar-12 18:52 
GeneralRe: How to read USB type Disk Drive device? Pin
Le@rner1-Mar-12 20:53
Le@rner1-Mar-12 20:53 
QuestionRe: How to read USB type Disk Drive device? Pin
David Crow2-Mar-12 2:41
David Crow2-Mar-12 2:41 
AnswerRe: How to read USB type Disk Drive device? Pin
Le@rner4-Mar-12 17:55
Le@rner4-Mar-12 17:55 
SuggestionRe: How to read USB type Disk Drive device? Pin
David Crow5-Mar-12 2:29
David Crow5-Mar-12 2:29 
GeneralRe: How to read USB type Disk Drive device? Pin
Le@rner5-Mar-12 18:56
Le@rner5-Mar-12 18:56 
GeneralRe: How to read USB type Disk Drive device? Pin
David Crow6-Mar-12 2:32
David Crow6-Mar-12 2:32 
GeneralRe: How to read USB type Disk Drive device? Pin
Le@rner6-Mar-12 17:15
Le@rner6-Mar-12 17:15 
QuestionRe: How to read USB type Disk Drive device? Pin
David Crow6-Mar-12 17:53
David Crow6-Mar-12 17:53 
AnswerRe: How to read USB type Disk Drive device? Pin
Le@rner12-Mar-12 20:41
Le@rner12-Mar-12 20:41 
QuestionRe: How to read USB type Disk Drive device? Pin
David Crow13-Mar-12 3:18
David Crow13-Mar-12 3:18 

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.