troubleshooting Question

compare two strings

Avatar of XK8ER
XK8ERFlag for United States of America asked on
C++
9 Comments1 Solution406 ViewsLast Modified:
I would like to compare two string and return true or false..
how do I go about making this work?

Public string daString;

extern "C" bool __declspec(dllexport) 
myCompare()
{
	if (daString == L"6YD01ZH5" | daString == L"5L0BX10HB0")
		return true;
	else
		return false;
}
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros