Jump to content
Xtreme .Net Talk

Enumeration problem...


Recommended Posts

Guest mutant
Posted

Hi.

I created a dll that contains an enumeration, I want to be able to pass the values of that enumerations to other functions in that dll but when I try to use in code I get variable not declared error, enumeration is public btw. I never really used enumerations so i have this little problem :rolleyes:

Posted

make sure you add reference to that .dll to your project if it is not written in the same project

 

if the reference is there already... make sure you use the complete namespace

 

your error message doesn't seem to match up with your question... are you sure it's the enumeration that's the problem

 

maybe these ideas will at least get u on some sort of track

i'm not lazy i'm just resting before i get tired.
Guest mutant
Posted
Yeh, its referenced. Its the enumeration that the problem, ill try to fix it :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...