Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Non-rectangular Windows :: the 24-bit issue [advanced] Pin
Heath Stewart8-Jan-04 7:29
protectorHeath Stewart8-Jan-04 7:29 
GeneralRe: Non-rectangular Windows :: the 24-bit issue [advanced] Pin
leppie8-Jan-04 8:17
leppie8-Jan-04 8:17 
GeneralGenerating strings that are matched by a regex Pin
bnieland8-Jan-04 6:34
bnieland8-Jan-04 6:34 
GeneralRe: Generating strings that are matched by a regex Pin
Kentamanos8-Jan-04 6:58
Kentamanos8-Jan-04 6:58 
GeneralRe: Generating strings that are matched by a regex Pin
leppie8-Jan-04 7:04
leppie8-Jan-04 7:04 
GeneralRe: Generating strings that are matched by a regex Pin
bnieland8-Jan-04 7:25
bnieland8-Jan-04 7:25 
GeneralMicrosoft Animation Control Pin
obelisk298-Jan-04 4:13
obelisk298-Jan-04 4:13 
GeneralRe: Microsoft Animation Control Pin
Niels Penneman8-Jan-04 6:19
Niels Penneman8-Jan-04 6:19 
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 
In this function:

public static Microsoft.DirectX.AudioVideoPlayback.Audio FromUrl ( System.String address , System.Boolean autorun )

the signature states it returns an instance of the "Audio" class. You can't convert "Audio" to "MyAudio" because "Audio" doesn't derive from "MyAudio" (the reverse is true). If the function returned a "MyAudio", you could convert it to "Audio", but the other way around would never work.

If I understand what you're trying to do, you should consider creating a constructor for your "MyAudio" class that takes an "Audio" instance as a parameter.



I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.

-David St. Hubbins
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 
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 

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.