It is an C++ engine that acts as a parser,ie it recieves messages and sends messages. On recieving messages it parses them and then takes action accordingly. It firsts loads a script for processing(parsing),then it displays the script according to the parsed results and sends messages accordingly to the server.
Hi Mr. Arjun
at what point you are getting the debug assertion i.e. during receiving or parsing.
i think it is at the time of parsing,it ususal programmer break the boundry of MS collection arrays.
as assertion is not applicable in RELEASE MODE, thats why i ask you to Build in relase Mode (though it bad programming habit to test the product in release mode),but it surely tell you where you getting error.
The debug assertion failure that i get is a run time error...but in the release mode i get so many errors(build/compile),i cannot even get the project to run,can u help me clear these errors then please
aj1682 wrote: Can anyone tell me what this method GetAt actually does?,What it returns,where it Getsfrom etc.
You are talking about the function CPtrArray::GetAt(), right? Then reading the relevant MSDN entry will help you more than anyone of us possibly could.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
Once upon a time i created a wrapper for the Drives Enumertaion and for other information, but due to my poor english i am unable to document it enough.I will try to redocument whole article some day.......
may be you be able to use that Wrapper Class Easily,it can be found here[^]
I am writing an application in Embedded C++ 4.0 for a PocketPC and have run into a problem. I am retrieving 4 bytes of data from a PLC (Programmable Logic Controller) via a custom written winsock based interface. These 4 bytes (32 bits) are a IEEE real number. I am trying to get these 4 bytes into a C++ float type. they are currently in a buffer array i.e. DataBuff,,,
The PLC is an AutomationDirect DL06.
The precision is not the issue. In the PLC there is only one kind of real number; IEEE 32 bit. The problem I have is that I have 4 chars full of bits, in the right format for a type float, but c++ will not let you do bit manipulation of a float. I need to get this bit pattern into a type real.