-
API enum
How can I use the enum in a C++ dll file.
I am calling the functions just fine, but I can't find info on using the enums.
-
Unless the DLL is a .NET or COM DLL, you cannot use the enums directly from the DLL. In most cases, you would declare symbolic constants in your .NET code which correspond to the enum values, e.g.:
Const ENUM_VALUE_1 As Integer = 1
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
By jubalince in forum Careers
Replies: 0
Last Post: 03-13-2007, 07:36 PM
-
Replies: 0
Last Post: 05-22-2003, 12:12 PM
-
By scott gilbert in forum VB Classic
Replies: 4
Last Post: 01-17-2001, 09:26 PM
-
By Armando Cardenas in forum VB Classic
Replies: 10
Last Post: 07-12-2000, 02:22 PM
-
By Armando Cardenas in forum VB Classic
Replies: 0
Last Post: 07-10-2000, 02:21 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks