Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

misturas

@misturas
About
Posts
12
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • managing serial port interrupt
    M misturas

    Ok, for rage, yes it was 5 p.m. I know the way ReadFile Overlapped IO etc. I was asking myself if there was a way of control interrupt the way dos/microcontroller do I think the only suitable way is creating a device driver It's better if re-study behavior of ReadFile,Events and Overlapped IO Thanks to all:)

    C / C++ / MFC question

  • managing serial port interrupt
    M misturas

    I use Visual C++ 6.0 and I studied the article "Serial Communications in Win32" of msdn My question is a question my boss made me I know it's not very easy to interact with hardware at low level on Windows and all the articles I found uses overlapped operation and ReadFile/WriteFile to read/write COM ports Now in Italy is 6 p.m., so I have to leave office ;P Sorry if I don't reply immediately Thanks in advance ;)

    C / C++ / MFC question

  • managing serial port interrupt
    M misturas

    Hi to all, I made a deep search in this and other sites about serial communications management in Win32 (Win9X,2000,XP) All the results leads to using ReadFile and the other file-style functions But is any way to use interrupts (int of received char) on Windows?Must I create a device drivers? Thanks to all Cristian

    C / C++ / MFC question

  • Problem with COleDateTime obj
    M misturas

    DavidCrow wrote:

    What about this instead: m_oStartTm = (DATE) 0; Even if this does pacify the compiler, I feel the underlying problem still exists. I just created a test program with a class derived from CDaoRecordset, and an Access table having a date/time column. The constructor looked liked yours and I got no assertion. At this point, I would suggest you do the same thing, and then start adding bits and pieces of code until the problem shows up. Make sense?

    I apologize if i reply only now, I had problems with internet connection I just want to ask if you have the same configuration I submit in my first msg, because if I use win 2000 I have no problem!

    C / C++ / MFC c++ help debugging question announcement

  • Problem with COleDateTime obj
    M misturas

    So, using m_oStartTm = COleDateTime(0); causes a compiling error(0); DoFieldExchange is: pFX->SetFieldType(CDaoFieldExchange::outputColumn); DFX_Long(pFX, _T(cRSsbUser), m_lUser); DFX_Long(pFX, _T(cRSsbCode), m_lCode); DFX_Long(pFX, _T(cRSsbDept), m_lDept); DFX_Long(pFX, _T(cRSsbWork), m_lWork); DFX_DateTime(pFX, _T(cRSsbDateHour), m_oStartTm); DFX_Long(pFX, _T(cRSsbSource), m_lSource); where cRSsbUser is the name of a access table column And finally, if I set a breakpoint in winctrl5.cpp, when i run the debug Visual C++ disable that brakpoint Now in italy is quite late, i think I'll go sleepin an hour, if i apologize if i don't reply immediately Thanks in advance, tomorrow i will try again:) -- modified at 16:34 Thursday 1st December, 2005

    C / C++ / MFC c++ help debugging question announcement

  • Problem with COleDateTime obj
    M misturas

    DavidCrow wrote:

    Have you stepped into COleDateTime::GetCurrentTime() to see what is causing the crash?

    As I try to step into using F11 the program crashes, the debug window says: Debug assertion failed! File: winctrl5.cpp line: 189 Before calling that function obj m_oStartTm.dt = 0.0000 & m_oStartTm.status = valid I don't understand...

    C / C++ / MFC c++ help debugging question announcement

  • What if...???
    M misturas

    For me it seems strange, :doh: I know that AppWizard makes the reverse for CAboutDlg of a single/multidocument app It inserts the declaration in .cpp before the implementation I think it's better the usual way

    C / C++ / MFC c++ question discussion

  • Problem with COleDateTime obj
    M misturas

    Hi to all, I've got a big problem with the code below CWorkRecordset::CWorkRecordset(CDaoDatabase* pdb) : CDaoRecordset(pdb) { //{{AFX_FIELD_INIT(CWorkRecordset) m_lUser = 1; m_lCode = 0; m_lDept = 0; m_lWork = 0; m_lSource = 0; m_oStartTm = COleDateTime::GetCurrentTime(); m_nFields = 6; //}}AFX_FIELD_INIT m_nDefaultType = dbOpenDynaset; } The problem occours during the creation of the obj, and only if: - I'm running in debug mode - The PC where Visual C++ Professional 6.0 (no service pack) is installed has Win XP as OS Program crashes when it execute: m_oStartTm = COleDateTime::GetCurrentTime(); If I run in release mode, no crash occours If I run in debug/release mode in a Win 2000 PC, no problem The state of obj m_oStartTm is "valid" before assignment Can anybody help me?:confused: Thanks in advance Cristian

    C / C++ / MFC c++ help debugging question announcement

  • How to create a CEdit derived class
    M misturas

    Thanks to the users who replied me You're so great!

    C / C++ / MFC regex help tutorial question

  • How to create a CEdit derived class
    M misturas

    Hi to all, I would like to create a CEDit derived class with the following caratteristic: Every time the user digits a char in the edit box, the class should control the value of that char and compare it with a defined list of allowed chars If the char doesn't match the list, char should not be accepted and a MessageBeep should be prompt Anyone can help me? Thanks in advance

    C / C++ / MFC regex help tutorial question

  • Change help file in my app
    M misturas

    Thanks very much I first tried to search the solution in MSDN library but I didn't found anything,probably I was searching in the wrong direction:doh::doh: And like we say in Italy... CIAO CIAO :cool::cool:

    C / C++ / MFC c++ help question

  • Change help file in my app
    M misturas

    Hi to all, I made a Visual C++ MDI app with help support Project name is *****Manager,and I set the builder to build my app as *****Man.exe My help file is *****Manager.hlp,but if I click on the help button in my app It requested me for *****Man.hlp Who can I set my app to search for default for *****Manager.hlp? Thanks to all:):) Cristian

    C / C++ / MFC c++ help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups