- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.3
>>
Bugs
>>
License ERROR
Pages: [
1
]
« previous
next »
Print
Author
Topic: License ERROR (Read 1635 times)
hogdog
Customers
Community Member
Posts: 8
License ERROR
«
on:
March 07, 2007, 08:51:34 AM »
When I set the license key using the following lines of code using C# on winx64...
TV.SetBetaKey("username", "xxxxxxx-xxxxxxxx-xxxxxxx-xxxxxxx");
TV.SetLicenseKey(TV_LICENSE_COMMERCIAL, "Project Name", "xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx");
... i get the error,
The name 'TV_LICENSE_COMMERCIAL' does not exist in the current context
I have searched every forum post and nobody has had the same error. Can anyone please help!
Kind regards,
Tom
Logged
likedonuts
Customers
Community Member
Posts: 246
Diesel connoisseur
License ERROR
«
Reply #1 on:
March 09, 2007, 01:18:50 AM »
You must qualify enumerations in C#, try
Code:
TV.SetLicenseKey(CONST_TV_LICENSEMODE.TV_LICENSE_COMMERCIAL, "xxx", "xxx");
/Mike
Logged
information is not wisdom, wisdom is not knowledge, knowledge is not truth, truth is not beauty, beauty is not love, love is not music, music is the best - Frank Zappa
hogdog
Customers
Community Member
Posts: 8
License ERROR
«
Reply #2 on:
March 09, 2007, 05:37:31 AM »
Many thanks for you help.
Thankfully I stumbed across that fact and managed to get it working.
Kinda funny... I was just coming online to post the working code.
Tom
Logged
likedonuts
Customers
Community Member
Posts: 246
Diesel connoisseur
License ERROR
«
Reply #3 on:
March 11, 2007, 11:54:49 PM »
Happy if i can help, I'm just a rokie as well
/Mike
Logged
information is not wisdom, wisdom is not knowledge, knowledge is not truth, truth is not beauty, beauty is not love, love is not music, music is the best - Frank Zappa
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
=> TV3D SDK 6.5
===> Bugs
===> Content Pipeline
===> Shader Development
-----------------------------
Projects
-----------------------------
=> Announcements
=> In-Development
=> Showcase
=> Recruitment
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
=> Game Development
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks