[Quickfix-developers] Compile error in Exceptions.h
Brought to you by:
orenmnero
|
From: Mike S. <MS...@rj...> - 2006-05-15 17:24:55
|
I'm currently writing a Session Acceptor program in Visual Studio 2005 C++. I wanted to create a custom message type to pass back to the initiator. So, what I did was... 1. Create a TraderLogon.h file under quickfix_vs8->Message->Message Header->fix42. 2. Update MessageCracker.h under the same directory structure. 3. Updated Values.h under Field Header Files directory. I then compiled quickfix_vs8 and everything was fine. I then went to compile my acceptor application and got the following error. Error 1 error C2664: 'FormatMessage' : cannot convert parameter 5 from 'char [2048]' to 'LPTSTR' c:\source\quickfix\quickfix\include\quickfix\Exceptions.h 247=09 I couldn't figure out how to get past this, so I backed out all my changes and recompiled quickfix_vs8. I then recompiled my acceptor application, but I still get the same error. I know this is pretty obscure, but does anyone know how I might get past this? Thanks, Mike |