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



Williamston Consulting is now ...

Black Locust Software


Technology Solutions for Business ... Large or Small
.



Home

Auto Dealers' Form Software

Software Development

Website Development

Website Advice

IT Guys' Stuff:

Certification
Study Guides

Programming
Tips