C++ :: Migration Of Taskmate
Sep 27, 2012
I have an application which uses taskmate and C++ together. now, Taskmate is to be retired/removed and we are thinking of a possible solution to migrate taskmate workflows(code written) into another language or if we can use an emulator or if there is a tool to which can convert workflows not 100% but near to it in another language (similar to Microsoft tool for conversion of VB 6 to VB DOTNET).
View 2 Replies
Jun 12, 2014
I have to migrate C++ source which is compiled with MinGW-gcc to be compiled with VS2013, and have one issue with one macro used for serialization.
Here is macro:
#define IMPLEMENT_SERIALIZE(statements)
unsigned int GetSerializeSize(int nType, int nVersion) const
{
CSerActionGetSerializeSize ser_action;
const bool fGetSize = true;
[Code] ....
Here is place in code were it is call (in class declaration):
IMPLEMENT_SERIALIZE(({
if (!fRead) {
uint64 nVal = CompressAmount(txout.nValue);
READWRITE(VARINT(nVal));
[Code] .....
When compile received errors:
main.h(555): error C2059: syntax error : '{'
main.h(555): error C2143: syntax error : missing ';' before '{'
line 555 is end of macro call ( "})").
How should look using of this macro in order to avoid that errors?
View 7 Replies
View Related