Click here to Skip to main content
15,916,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Cannot change transfer var? Pin
Gary R. Wheeler29-Sep-02 5:53
Gary R. Wheeler29-Sep-02 5:53 
QuestionIs there a limit on amt of timers in an app? Pin
JohnnyG26-Sep-02 11:06
JohnnyG26-Sep-02 11:06 
AnswerRe: Is there a limit on amt of timers in an app? Pin
RedZenBird26-Sep-02 11:18
RedZenBird26-Sep-02 11:18 
GeneralRe: Is there a limit on amt of timers in an app? Pin
JohnnyG27-Sep-02 3:17
JohnnyG27-Sep-02 3:17 
GeneralRe: Is there a limit on amt of timers in an app? Pin
RedZenBird27-Sep-02 6:52
RedZenBird27-Sep-02 6:52 
GeneralRe: Is there a limit on amt of timers in an app? Pin
JohnnyG27-Sep-02 9:11
JohnnyG27-Sep-02 9:11 
AnswerRe: Is there a limit on amt of timers in an app? Pin
Shog926-Sep-02 12:12
sitebuilderShog926-Sep-02 12:12 
GeneralDialog boxes and Notification Msg Prob. Pin
Phrozen Banana26-Sep-02 10:53
sussPhrozen Banana26-Sep-02 10:53 
Hi there,

I'm having problem displaying a dialogbox. Here's the scenario.

1. I've an asynchronous function. CAsyncSocket::OnReceive()

2. In OnReceive(), I'm receiving some data from in a buffer.


3. And I'm trying to display the contents of the buffer in the dialogbox. So, I'm calling the Dialogbox's class's DoModal() inside the OnReceive() fn. It fails when DoModal() is invoked.... gives me access violation 00005. I know it has to do with sending a notification message to my dialog to inform that's ready... but I'm unsure about doing it so. Any ideas, clues, suggestions, thougths? Smile | :)

MyClass::OnReceive() //asyn. function, invoked if the
//socket has some data in it.
{
ar.Read(buf, 4095); //ar is CArchive instance
MyDialog dlg;
dlg.DoModal(); //fails right here, I think I've to
// send teh parent dialog some
// message and set the input focus?
}


Very much appreciated
JJ Confused | :confused:
GeneralParsing cmd line arguments in Win32 appl Pin
rsasalm_26-Sep-02 10:41
rsasalm_26-Sep-02 10:41 
GeneralRe: Parsing cmd line arguments in Win32 appl Pin
Jon Hulatt26-Sep-02 22:57
Jon Hulatt26-Sep-02 22:57 
General#define and data types Pin
James A Beggs26-Sep-02 9:33
James A Beggs26-Sep-02 9:33 
GeneralRe: #define and data types Pin
Pavel Klocek26-Sep-02 9:38
Pavel Klocek26-Sep-02 9:38 
GeneralRe: #define and data types Pin
Maciej Pirog26-Sep-02 9:47
Maciej Pirog26-Sep-02 9:47 
GeneralRe: #define and data types Pin
RedZenBird26-Sep-02 10:04
RedZenBird26-Sep-02 10:04 
GeneralRe: #define and data types Pin
James A Beggs26-Sep-02 10:12
James A Beggs26-Sep-02 10:12 
GeneralRe: #define and data types Pin
RedZenBird26-Sep-02 11:25
RedZenBird26-Sep-02 11:25 
QuestionWhat's a LARGE_INTEGER, and where is it defined? Pin
Anonymous26-Sep-02 8:57
Anonymous26-Sep-02 8:57 
AnswerRe: What's a LARGE_INTEGER, and where is it defined? Pin
lucy26-Sep-02 9:19
lucy26-Sep-02 9:19 
AnswerRe: What's a LARGE_INTEGER, and where is it defined? Pin
lucy26-Sep-02 9:21
lucy26-Sep-02 9:21 
AnswerRe: What's a LARGE_INTEGER, and where is it defined? Pin
Anders Molin26-Sep-02 9:18
professionalAnders Molin26-Sep-02 9:18 
AnswerThanks all, included winnt.h and it worked :) Pin
Anonymous26-Sep-02 9:51
Anonymous26-Sep-02 9:51 
QuestionDoes no one know any way around??? Pin
Anonymous26-Sep-02 6:39
Anonymous26-Sep-02 6:39 
AnswerRe: Does no one know any way around??? Pin
Todd Smith26-Sep-02 7:47
Todd Smith26-Sep-02 7:47 
GeneralRe: Does no one know any way around??? Pin
Anonymous26-Sep-02 10:20
Anonymous26-Sep-02 10:20 
GeneralDetecting network card duplex Pin
majk26-Sep-02 6:23
majk26-Sep-02 6:23 

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.