Login Page - Create Account

Support Board


Date/Time: Sun, 11 May 2025 00:34:23 +0000



Post From: CreateFile Compile Error

[2016-05-23 20:23:58]
Sierra Chart Engineering - Posts: 104368
This:

"error C2664: 'CreateFileW' : cannot convert parameter 1 from 'const char *' to 'LPCWSTR'

Is the result of using a preprocessor definition or a compiler setting which is causing wide strings to be used rather than single byte strings.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing