![]() |
|
|||||||
| CQC Support Report bugs, make wishes, discuss plans, ask questions |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I was updating my Maxent Driver today trying to help it handle all the junk messages it spits out when it's in the AV1/AV2 modes. I discovered that the device sends my ACK but appends a bunch of crap to it with no CR/LF, so I was missing the ACK. Put in some code to check for that and remove the crap and it works great in CML debug mode. The driver is doesn't lose connection now in that mode. However, when I packaged the driver and imported it and then tried to Add a new driver, I get a C++ exception error at this line of code:
Code:
This snippet of code is taking a reply of "RCV4600 Key Got" and returning "RCV". Again, works great in the CML Harness, but errors out on adding the driver. Last edited by robertmee : 10-29-2006 at 09:07 AM. |
|
#2
|
||||
|
||||
|
What's the error?
__________________
Dean Roddey Software Geek Extraordinaire |
|
#3
|
|||
|
|||
|
Quote:
A C++ Error occurred during Macro Parsing Expected a method call, object reference or flow control statement here, Process CQCServer, Class DataFormat Compiles fine within CML Debugger. Last edited by robertmee : 10-29-2006 at 09:12 AM. |
|
#4
|
|||
|
|||
|
My Fubar....
I had the string sMessage declared within the Debug section. So, of course it ran in the CML Editor because I had Debug mode checked. Sorry for the trouble. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|