| hajokirchhoffKetchup Master
 
     
 
                Germany58 Posts
 | 
                    
                      |  Posted - Feb 09 2009 :  12:59:18 PM     
 |  
                      | Build 1711, VisualStudio 2008, Extract method still looses chars (in strings). 
 Extract this code snippet
 
 m_connection.execute(
 L"-CREATE TABLE jobs ( id $$IDENTITY PRIMARY KEY, title varchar(32), comment text, starttime DATETIME,"
 L" operator_name varchar(128), station_name varchar(128), longitude integer, longitude_min integer, longitude_sec integer, longitude_orientation integer,"
 L" latitude integer, latitude_min integer, latitude_sec integer, latitude_orientation integer,"
 L" duration_minutes integer, storage_interval_seconds integer, signal_detection_threshold_fixed real, signal_detection_threshold_nrt real"
 L");");
 
 to a method and the result is
 m_connection.execute(
 L"-CREATE TABLE jobs ( id $IDENTITY PRIMARY KEY, title varchar(32), comment text, starttime DATETIME,"
 [snip]
 
 The '$$IDENTITY' inside the wide-char string looses one '$' sign.
 
 Regards
 
 Hajo
 |  |