Black Locust Software

Technology Solutions for Business

Visual C++ .NET: Fatal Error C1191

'dll' can only be imported at global scope

You may have put a #using within a namespace definition as Microsoft's example suggests.

More likely, you have dropped a trailing '}' somewhere. I had put a ')' in for a '}' in a .h file. I got error messages in the .cpp file that included the .h file.

Hope this helps somebody.

dwilson