[Quickfix-developers] building QuickFix demo application with C# Express on XP64
Brought to you by:
orenmnero
From: John D. <jd...@so...> - 2009-04-30 05:55:02
|
Hello, Is a C# demo application available that is already built? I am using 2008 C# express on XP64. Purhaps someone might share some essential parts, or provide a reccomendation? I read that a 64 bit version is available by email only. I would like to use that if possible. Can it be built by using only the latest version of C# express? As it stands now my compiler crashes and terminates when building the provided minimal demo application. Am not sure if quickfix_vs8.sln was intended to operate on 2008 C# Express. Here is what I did... 1) Downloaded and unzipped quickfix-bin-vs8-1.12.4.zip into C:\. 2) Searched for the location of quickfix_vs8.sln It was not found in or under C:\quickfix. However, it was located by the Windows search tool in a folder at an unknown location named quickfix. 3) Searched for the location of *.bat under C:\quickfix\. document.bat was located at C:\quickfix\doc\. 4) Searched for any DLLs under C:\quickfix\. quickfix_jni.dll, quickfix_net.dll, and quickfix_net_messages.dll were located under C:\quickfix\lib\. 5) Searched for any .lib files under C:\quickfix\. quickfix.lib was located under C:\quickfix\lib\. 6) Not being sure of the exact location of quickfix_vs8.sln, I invoked it from the resulting search window. A dialog box named "File Download" asked "Do you want to open this file?: I then responded by clicking on the "Open" button. Then I clicked "Next" anf "Finish" to convert the version to the updated format. The conversion failed and reported an error indicating that C:\Documants and Settings\ Temp\Temporary Directory 2 for quickfix1.12.4/zip\quickfix\quickfix_vs8.sln can not be converted because it cannot be modified. 7) I then copied quickfix_vs8.sln into c:\quickfix\ and changed the attribute "Read-only" to allow modifications to the file. The following two errors occurred during the conversion: error#1 examples\executor\csharp\example_executor_csharp_vs8.csproj 1 0 Conversion Issues - examples\executor\csharp\example_executor_csharp_vs8.csproj: Unable to open project file to perform upgrade. error#2 src\.NET\quickfix_net_messages_vs8.csproj 1 0 Conversion Issues - src\.NET\quickfix_net_messages_vs8.csproj: Unable to open project file to perform upgrade. 8) I searched for those missing files but did not find their directory. So I tried to copy them from the search results window into newly made directories under C:\quickfix\. quickfix_net_messages_vs8.csproj could not be copied because C:\quickfix\src\.NET could not be created. C:\quickfix\src\NET was created instead. That is where I placed quickfix_net_messages_vs8.csproj. I then modified quickfix_vs8.sln to look in C:\quickfix\src\NET instead of C:\quickfix\src\.NET\. Also I modified quickfix_vs8.sln to look for quickfix_net_vs8.vcproj at C:\quickfix\src\NET instead of C:\quickfix\src\.NET\. 9) Next I invoked C:\quickfix\quickfix_vs8.sln which was then converted sucessfully. There were two warnings which both indicated ... "The referenced component 'quickfix_net_vs8' could not be found." 10) I then compiled the baseline empty solution. It yeilded 279 errors similar to this... Error 278 Source file 'C:\quickfix\src\NET\fix44\TradeCaptureReport.cs' could not be opened ('Unspecified error ') quickfix_net_messages_vs8 11) I searched for the missing files and placed them under C:\quickfix\src\NET\. This took a while because they could only be found by the search tool, not by manually poking around under \temp directories. Copying the contents of src\.NET\fix40 - src\.NET\fix44 got the number of errors down to 14. Copying the contents of \temp\src\.NET\ to C:\quickfix\src\NET\ got the number of errors to zero when the solution is first opened. However, the compiler crashes and exits when the solution is compiled. 12) I found a way to copy the \temp\src\.NET\ directory to C:\quickfix\src\.NET\ and modified the solution file to use that path instread of C:\quickfix\src\NET\. The solution again loads with zero errors, and posts warnings about not being able to find the project files in languages other than C#, and then crashes and exits when compiled. Any suggestions would be greatly appreciated. The compiler indicates various program elements that are unavailable. I suppose some of the project components which appear to be redundant of multiple languages could probably be removed from the solution explorer. Those seem fairly obvious. However, others are not so clear. I am not certain which if any of the unavailable project components should be removed. I didn't see this mentioned in the documentation. Any advice would be welcomed. Thanks in advance for your assistance, :) John Devron |