Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
GeneralRe: Microsoft Animation Control Pin
Heath Stewart8-Jan-04 6:23
protectorHeath Stewart8-Jan-04 6:23 
GeneralRe: Microsoft Animation Control Pin
obelisk298-Jan-04 10:45
obelisk298-Jan-04 10:45 
GeneralInheriting from DirectX problem ! Pin
pahluwalia8-Jan-04 2:49
pahluwalia8-Jan-04 2:49 
GeneralRe: Inheriting from DirectX problem ! Pin
obelisk298-Jan-04 4:17
obelisk298-Jan-04 4:17 
GeneralRe: Inheriting from DirectX problem ! Pin
pahluwalia8-Jan-04 5:51
pahluwalia8-Jan-04 5:51 
GeneralRe: Inheriting from DirectX problem ! Pin
Kentamanos8-Jan-04 5:52
Kentamanos8-Jan-04 5:52 
GeneralRe: Inheriting from DirectX problem ! Pin
leppie8-Jan-04 6:13
leppie8-Jan-04 6:13 
GeneralRe: Inheriting from DirectX problem ! Pin
Heath Stewart8-Jan-04 6:14
protectorHeath Stewart8-Jan-04 6:14 
Another alternative would be to implement an explicit cast operator in the MyAudio class. See "explicit keyword" in your VS.NET help for details.

Essentially, the CLR will use this explicit cast operator to cast from Audio to MyAudio but in the implementation of the cast operator, you'll have to take care of the details.

[edit]
Nevermind. I forgot and was quickly reminded that casting to/from a base class (or for that matter, casting to/from derived class) isn't allowed and throws a compiler error.
[/edit]

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Inheriting from DirectX problem ! Pin
Kentamanos8-Jan-04 6:24
Kentamanos8-Jan-04 6:24 
GeneralRe: Inheriting from DirectX problem ! Pin
leppie8-Jan-04 7:33
leppie8-Jan-04 7:33 
GeneralRe: Inheriting from DirectX problem ! Pin
leppie8-Jan-04 8:14
leppie8-Jan-04 8:14 
GeneralRe: Inheriting from DirectX problem ! Pin
pahluwalia8-Jan-04 8:02
pahluwalia8-Jan-04 8:02 
GeneralRe: Inheriting from DirectX problem ! Pin
Kentamanos8-Jan-04 9:03
Kentamanos8-Jan-04 9:03 
GeneralRe: Inheriting from DirectX problem ! Pin
pahluwalia9-Jan-04 2:45
pahluwalia9-Jan-04 2:45 
GeneralMultiple table data in dataGrid Pin
Hayat8-Jan-04 2:41
Hayat8-Jan-04 2:41 
GeneralRe: Multiple table data in dataGrid Pin
Mazdak8-Jan-04 3:18
Mazdak8-Jan-04 3:18 
GeneralRe: Multiple table data in dataGrid Pin
Heath Stewart8-Jan-04 6:04
protectorHeath Stewart8-Jan-04 6:04 
GeneralInexplicable errors on forms. Pin
Martin Cross8-Jan-04 0:39
Martin Cross8-Jan-04 0:39 
GeneralRe: Inexplicable errors on forms. Pin
Aryo Handono8-Jan-04 1:14
professionalAryo Handono8-Jan-04 1:14 
GeneralRe: Inexplicable errors on forms. Pin
Heath Stewart8-Jan-04 5:56
protectorHeath Stewart8-Jan-04 5:56 
GeneralRe: Inexplicable errors on forms. Pin
Martin Cross8-Jan-04 22:38
Martin Cross8-Jan-04 22:38 
GeneralRe: Inexplicable errors on forms. Pin
Niels Penneman8-Jan-04 10:50
Niels Penneman8-Jan-04 10:50 
GeneralDisposing Audio after finished playing Pin
thomasa8-Jan-04 0:19
thomasa8-Jan-04 0:19 
GeneralRe: Disposing Audio after finished playing Pin
Heath Stewart8-Jan-04 5:51
protectorHeath Stewart8-Jan-04 5:51 
GeneralDeveloping a Client/Server application Pin
Kingvest7-Jan-04 23:49
Kingvest7-Jan-04 23:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.