Click here to Skip to main content
14,326,017 members

Managed C++/CLI

 
GeneralRe: How to format DATETIME Pin
Richard MacCutchan21-Jan-19 2:44
protectorRichard MacCutchan21-Jan-19 2:44 
GeneralRe: How to format DATETIME Pin
Member 1412466121-Jan-19 3:30
memberMember 1412466121-Jan-19 3:30 
GeneralRe: How to format DATETIME Pin
Richard MacCutchan21-Jan-19 3:48
protectorRichard MacCutchan21-Jan-19 3:48 
GeneralRe: How to format DATETIME Pin
Member 1412466121-Jan-19 3:57
memberMember 1412466121-Jan-19 3:57 
GeneralRe: How to format DATETIME Pin
Richard MacCutchan21-Jan-19 4:52
protectorRichard MacCutchan21-Jan-19 4:52 
GeneralRe: How to format DATETIME Pin
Member 1412466121-Jan-19 6:08
memberMember 1412466121-Jan-19 6:08 
GeneralRe: How to format DATETIME Pin
Richard MacCutchan21-Jan-19 6:24
protectorRichard MacCutchan21-Jan-19 6:24 
Questionserial port, threads, events Pin
jeff rhodes 1240020410-Jan-19 20:30
memberjeff rhodes 1240020410-Jan-19 20:30 
hi guys love this site so helpful. i have a c++/cli program im writing. im not going to post no code at this time cause i hope my problem can be solved with just a explanation. in my main form i run some code that controls a pic chip that runs some servo motors, communicating through the serial port. all runs fine. the problem im having is that well you know serial port is on another thread. so i use invoke and run a data received method on the ui. now that has a switch statement that may call some other functions in my ui thread that all works fine until one of the functions actually needs some input from the serialport. but i dont get any data in until the invoke completes. i tryed to run it with begininvoke which seems to work fine for the serialport but the ui doesnt update the form at all during the invoktion. so i thought i would just try to have the datareceived funtion fire an event on the ui. but then i get a crossthread error. maybe im not doing the event correctlly im still trying to get my head around delegates and events. question? does this seem reasonable? what i need to do is get that serialport freed up so that it can receive data again while the ui runs its code. Please bear with me im learning. and i have been reading post after post about threads, delegates, and events. ive problebly seen the answer and didnt know it. ill be happy to read im just not sure of the correct implementation. and im writing this in c++/cli cause i copied some code from an old borland c++ program. thanks in advance. yes i could post some code but ill have to clean it up first and pick out important parts right now its quite sizable.
AnswerRe: serial port, threads, events Pin
Victor Nijegorodov11-Jan-19 3:28
memberVictor Nijegorodov11-Jan-19 3:28 
GeneralRe: serial port, threads, events Pin
jeff rhodes 1240020411-Jan-19 16:51
memberjeff rhodes 1240020411-Jan-19 16:51 
GeneralPlease Upvote: C++/CLI: std::move causes std::unique_ptr parameter to be destructed before function call Pin
John Schroedl3-Jan-19 2:13
professionalJohn Schroedl3-Jan-19 2:13 
GeneralRe: Please Upvote: C++/CLI: std::move causes std::unique_ptr parameter to be destructed before function call Pin
Richard MacCutchan3-Jan-19 2:23
protectorRichard MacCutchan3-Jan-19 2:23 
GeneralRe: Please Upvote: C++/CLI: std::move causes std::unique_ptr parameter to be destructed before function call Pin
John Schroedl3-Jan-19 2:28
professionalJohn Schroedl3-Jan-19 2:28 
QuestionHow to catch exception caused by third party dll in c++? Pin
Sampath5797-Dec-18 0:22
memberSampath5797-Dec-18 0:22 
AnswerRe: How to catch exception caused by third party dll in c++? Pin
Richard MacCutchan7-Dec-18 2:39
protectorRichard MacCutchan7-Dec-18 2:39 
GeneralRe: How to catch exception caused by third party dll in c++? Pin
Sampath5797-Dec-18 2:58
memberSampath5797-Dec-18 2:58 
GeneralRe: How to catch exception caused by third party dll in c++? Pin
Richard MacCutchan7-Dec-18 3:25
protectorRichard MacCutchan7-Dec-18 3:25 
GeneralRe: How to catch exception caused by third party dll in c++? Pin
sameer.p.deshmukh9-Jan-19 1:02
membersameer.p.deshmukh9-Jan-19 1:02 
QuestionHow to trace an unhandled exception in C++ using Visual Studio 2017 Pin
Dominick Marciano31-Oct-18 23:03
professionalDominick Marciano31-Oct-18 23:03 
AnswerRe: How to trace an unhandled exception in C++ using Visual Studio 2017 Pin
Richard MacCutchan31-Oct-18 23:55
protectorRichard MacCutchan31-Oct-18 23:55 
GeneralRe: How to trace an unhandled exception in C++ using Visual Studio 2017 Pin
AndreyAksenov7-Dec-18 2:38
memberAndreyAksenov7-Dec-18 2:38 
GeneralRe: How to trace an unhandled exception in C++ using Visual Studio 2017 Pin
Richard MacCutchan7-Dec-18 3:22
protectorRichard MacCutchan7-Dec-18 3:22 
AnswerRe: How to trace an unhandled exception in C++ using Visual Studio 2017 Pin
John Schroedl5-Nov-18 5:13
professionalJohn Schroedl5-Nov-18 5:13 
Questionmeaing of below code Pin
Member 139765087-Sep-18 22:01
memberMember 139765087-Sep-18 22:01 
AnswerRe: meaing of below code Pin
Richard MacCutchan7-Sep-18 22:32
protectorRichard MacCutchan7-Sep-18 22:32 

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.