[Quickfix-developers] .net undefined native type issue
Brought to you by:
orenmnero
From: Nicolas <nic...@ya...> - 2003-10-21 18:53:29
|
I'm trying to compile this code using quickfix 1.6.0 ".net" dlls. What should I do to get it to compile? I get the following error message: c:\TraFix\TrafixApp.cpp(19): error C3635: 'FIX::SessionSettings': undefined native type used in 'QuickFix::SessionSettings'; imported native types must be defined in the importing source code and c:\Documents and Settings\Dcm\My Documents\Visual Studio Projects\FixTrader2\Form1.cpp(17): error C3377: 'QuickFix::SessionSettings::unmanaged' : cannot import method - a parameter type or the return type is inaccessible #include "StdAfx.h" #include "trafixapp.h" #using <mscorlib.dll> using QuickFix::SessionSettings; using QuickFix::FileStoreFactory; using QuickFix::FileLogFactory; namespace TraFix { TrafixApp::TrafixApp(void) { System::String * s= new System::String("C:\\temp\\sessionSettings.txt"); SessionSettings * settings = new SessionSettings(s); } __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |