Re: [Quickfix-developers] Compile error in Exceptions.h
Brought to you by:
orenmnero
|
From: briancurtin <bri...@gm...> - 2006-10-31 08:22:16
|
I'm seeing this same issue currently and I was wondering if Mike Smith or anyone else has come across it and would be willing to pass on a hint or two.=20 I'm new to QuickFIX (and FIX on the whole) and this is the first applicatio= n I'm writing from scratch, using the tradeclient example somewhat as a guide in places. Everything else in my project compiles fine, it's just the error that Mike has below is holding things back. Thanks, Brian Curtin What causes this FormatMessage error to=20 Mike Smith-14 wrote: >=20 > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html >=20 > 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... >=20 > 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. >=20 > I then compiled quickfix_vs8 and everything was fine. >=20 > I then went to compile my acceptor application and got the following > error. >=20 > Error=091=09error C2664: 'FormatMessage' : cannot convert parameter > 5 from 'char [2048]' to 'LPTSTR' > c:\source\quickfix\quickfix\include\quickfix\Exceptions.h=09247=09 >=20 > 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. >=20 > I know this is pretty obscure, but does anyone know how I might get past > this? >=20 > Thanks, >=20 > Mike >=20 >=20 > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers >=20 >=20 --=20 View this message in context: http://www.nabble.com/Compile-error-in-Except= ions.h-tf1626703.html#a7090112 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |