vincentlaucsb / csv-parser

A high-performance, fully-featured CSV parser and serializer for modern C++.
MIT License
864 stars 144 forks source link

How do you use this with a MFC based application? #189

Closed ajtruckle closed 2 years ago

ajtruckle commented 2 years ago

I am building with the newer C++17 etc but I want to read in cells as either:

CString

or

COleDateTime

I can't work it out.

Thanks.

vincentlaucsb commented 2 years ago

I'm sorry but I wouldn't have a clue as MFC is older than I am

ajtruckle commented 2 years ago

ROTFL - a reply 5 months later ... :)

Thanks all the same!

I used an alternative CSV library.

bangusi commented 2 years ago

You can construct CString from std::string. I am curious which CSV library you used that went out of its way to accommodate CString.

ajtruckle commented 2 years ago

I should of clarified. I ended up adding my CSV requirements into my C# COM DLL support library. So used CsvHelper. Then I called my interface DLL functions from MFC.

Get Outlook for iOShttps://aka.ms/o0ukef


From: bangusi @.> Sent: Monday, May 30, 2022 2:30:57 AM To: vincentlaucsb/csv-parser @.> Cc: ajtruckle @.>; Author @.> Subject: Re: [vincentlaucsb/csv-parser] How do you use this with a MFC based application? (Issue #189)

You can construct CString from std::string. I am curious which CSV library you used that went out of its way to accommodate CString.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvincentlaucsb%2Fcsv-parser%2Fissues%2F189%23issuecomment-1140586805&data=05%7C01%7C%7C6efa6e58f5144f9dee5b08da41dc0c6b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637894710599416071%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wcn8SUUj2XpK3LZWysHzD7akf5a5zjNtKH%2F6xMtBOlw%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB45RM4JECABQEPJNRMPZZ3VMQK5DANCNFSM5LJ35GJQ&data=05%7C01%7C%7C6efa6e58f5144f9dee5b08da41dc0c6b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637894710599416071%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wAy%2B8onAZWNCAvNeR155w1MQRfVXw16w%2B55TLL2VzB8%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>