Search:

Type: Posts; User: LowlyIntern

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    992

    I'm not sure we're on the same wavelength here,...

    I'm not sure we're on the same wavelength here, but I've isolated the problem a bit more. Basically, I have a group of tabs (File, Options, OS_Attitude, and two that aren't important) such that the...
  2. Replies
    5
    Views
    992

    If I understand you correctly, wouldn't that only...

    If I understand you correctly, wouldn't that only work if the data and the controls are in the same dialog?
  3. Replies
    5
    Views
    992

    Refreshing a seperate Dialog

    Hello everyone,

    I'm writing an MFC application and I need help with the GUI. So basically, I have some values that are stored as defaults to the registry and whenever the program is run/"Reset...
  4. Replies
    7
    Views
    2,433

    Got it, I was breaking a thread that I was...

    Got it, I was breaking a thread that I was supposed to keep going potentially forever. Thanks for your help, though! More clear answer here:
    ...
  5. Replies
    32
    Views
    5,438

    Hey guys, thanks for all of your help and all,...

    Hey guys, thanks for all of your help and all, but one of my co-workers figured it out and it's all good now. The error resided in the code



    UINT C_RS_422_Port::Send_Crypto_Key(int key)
    {...
  6. Replies
    7
    Views
    2,433

    "The following breakpoint was hit: When...

    "The following breakpoint was hit:

    When '0x00BF64A0' changes (4 bytes) in process 'RS_SIMULATOR.exe'"

    How can the application be changing it?! And only that one, too! The first 3 PortThreads...
  7. Replies
    7
    Views
    2,433

    I've been trying to, but I don't know how to set...

    I've been trying to, but I don't know how to set data break points to trigger when something (a HANDLE in this case) changes. In it's stead I've been trying other things like having the function name...
  8. Replies
    32
    Views
    5,438

    I don't see how they wouldn't seeing as how it's...

    I don't see how they wouldn't seeing as how it's a local object, it's declared in the function, and is only used once.
  9. Replies
    32
    Views
    5,438

    Whoops, sorry. I accidentally put in...

    Whoops, sorry. I accidentally put in StartGPSPortThread, but I've editted the post to include StartCryptoPortThread.
  10. Replies
    32
    Views
    5,438

    Yeah, I agree, but I'm not the first one to get...

    Yeah, I agree, but I'm not the first one to get my hands on this code and I have to do what's already been done only change it slightly. So I've been copying and pasting a lot of code and that musta...
  11. Replies
    32
    Views
    5,438

    UINT C_Control::StartCryptoPortThread( LPVOID...

    UINT C_Control::StartCryptoPortThread( LPVOID pParam )
    {
    char* buffer;
    int size = 0;
    C_RS_422_Port* pObject = ( C_RS_422_Port*)pParam;

    if (pObject == NULL )
    return 1; // if...
  12. Replies
    32
    Views
    5,438

    But, what I posted in #3 is what I'm doing...

    But, what I posted in #3 is what I'm doing...
  13. Replies
    32
    Views
    5,438

    Similar how? As in the same functions, just...

    Similar how? As in the same functions, just updated? Or are there other functions required?
  14. Replies
    32
    Views
    5,438

    If I understand correctly, it seems Salem and...

    If I understand correctly, it seems Salem and Hunter2 are asking the same basic question right now, and the answer is yes,
    >>UINT C_Control::StartCryptoPortThread( LPVOID pParam )
    is declared...
  15. Replies
    32
    Views
    5,438

    Also, since the problem has been narrowed down to...

    Also, since the problem has been narrowed down to and the original "odd declaration" seems to be connected to whether there were breakpoints at those locations are during debugging, I've posted a new...
  16. Replies
    32
    Views
    5,438

    To Hunter2, Yes, I've checked the thread...

    To Hunter2,
    Yes, I've checked the thread creation and I get valid values similar too other PortThreads that work fine.

    PortThread[3] doesn't change between the constructor to...
  17. Replies
    7
    Views
    2,433

    CWinThread messing itself up

    Hello,

    I've been have some trouble lately with a CWinThread. Here's my original declaration:



    PortThread[3]= AfxBeginThread(StartCryptoPortThread,...
  18. Replies
    32
    Views
    5,438

    PortThread[3]=...

    PortThread[3]= AfxBeginThread(StartCryptoPortThread, &Port[3],THREAD_PRIORITY_NORMAL,0,CREATE_SUSPENDED);

    That is being defined in the constructor of the Port[] instances. And yes, PortNumber is...
  19. Replies
    32
    Views
    5,438

    Oh, now I see the drop down box, yeah, I was...

    Oh, now I see the drop down box, yeah, I was using Debug, not Release.
  20. Replies
    32
    Views
    5,438

    Okay, that's what I figured, but how do I...

    Okay, that's what I figured, but how do I distinguish between the two when compiling? All I've been doing is hitting F5 or the Play button next to "Debug."
  21. Replies
    32
    Views
    5,438

    I'm not quite sure what the difference is between...

    I'm not quite sure what the difference is between the two, the problem is I can't step into the StartCryptoPortThread function from the declaration and when i put a breakpoint in the function itself,...
  22. Replies
    32
    Views
    5,438

    It won't let me get to pObject in the debugger. I...

    It won't let me get to pObject in the debugger. I don't think thats the problem though, the pre-existing code that I'm trying to replicate and expand upon seems to handle that part just fine.
  23. Replies
    32
    Views
    5,438

    Yeah, I tried rebuilding and different...

    Yeah, I tried rebuilding and different optimizations and neither worked.



    PortThread[3]= AfxBeginThread(StartCryptoPortThread, &Port[3],THREAD_PRIORITY_NORMAL,0,CREATE_SUSPENDED);

    UINT...
  24. Replies
    32
    Views
    5,438

    Odd declaration

    Hello everyone, I've been running into some problems writing code for my boss and I was wondering if you could help me. You see, I have a function that is called after clicking a button on a GUI....
  25. Replies
    1
    Views
    1,492

    COM Port not accepting "11" bytes

    Hello, I 've been working on some code that requires me to output a stream of byte through a COM port. Everything works fine until I have to output a value that corresponds to the byte "11." In that...
Results 1 to 25 of 34
Page 1 of 2 1 2