Hi Joe,
jharn wrote:
I mislabeled my code. This is actually the tube material "70-30 Cu-Ni", "90-10 Cu-Ni", "Admiralty Metal", "Aluminum Brass", "Aluminum Bronze", "Arsenical Copper", "Cold-Rolled Low Carbon Steel", "Copper Iron 194 (Olin 194)", "Titanium Grades 1 & 2", "304 SS", "316/317 SS", "N08367 (AL6XN)", "S43035 (TP439)", "S44660 (Sea-Cure)", "S44735 (AL29-4C)" versus the tube gauge {12, 14, 16, 18, 20, 22, 23, 24, 25}; Which when matched up in x, y matrix returns the HEI gauge correction factor.
Change the names to relevant ones :)
jharn wrote:
Problem is I can pass the VBA string to C++, but have had no success in checking it against the tube material values as shown above
This is a really different issue. I suppose VBA uses Unicode, so what is transmitted to your dll is a BSTR or a wchar_t*. First investigate around that. If you don't solve post in the Questions and Answers area with VBA C++ dll tags; cheers, AR
When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)