Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: hi everybody Pin
Dimitris Iliopoulos17-Jun-03 13:29
Dimitris Iliopoulos17-Jun-03 13:29 
GeneralRe: hi everybody Pin
jphuphilly18-Jun-03 3:12
jphuphilly18-Jun-03 3:12 
GeneralHelp... Pin
karthikv17-Jun-03 9:59
karthikv17-Jun-03 9:59 
GeneralRe: Help... Pin
karthikv18-Jun-03 1:51
karthikv18-Jun-03 1:51 
GeneralRe: Help... Pin
Member 43741223-Jun-03 5:14
Member 43741223-Jun-03 5:14 
GeneralHELP Pin
NiNa0317-Jun-03 7:36
NiNa0317-Jun-03 7:36 
GeneralRe: HELP Pin
Daniel Turini17-Jun-03 7:58
Daniel Turini17-Jun-03 7:58 
GeneralFourCC's Pin
nfactorial17-Jun-03 7:26
nfactorial17-Jun-03 7:26 
Does anyone have a FourCC class wrapper available? I'm new to C# so I'm not sure if I'm doing something wrong. I'd basically like to have a number of predefined types that I can use within my class, I've currently tried the following:

<br />
namespace MyNamespace<br />
{<br />
    public class MyClass<br />
    {<br />
        private static const FourCC     TEST_FOURCC( 'T', 'E', 'S', 'T' );<br />
    }<br />
}<br />


Where 'FourCC' is a struct I've defined which accepts four values. The compiler moans at this though (cannot specify constructor arguments in declaration).

As I'm new to C# is there something I've missed? It'd be great if I could just define them as an enum or uints (I've tried "private static uint TEST_FOURCC = 'TEST';" but it moans about too many characters in literal), I've also tried looking for a standard version in the framework but no luck.

Thanks,
n!
GeneralRe: FourCC's Pin
leppie17-Jun-03 7:45
leppie17-Jun-03 7:45 
GeneralRe: FourCC's Pin
nfactorial17-Jun-03 23:01
nfactorial17-Jun-03 23:01 
GeneralFlickering Pin
Rohde17-Jun-03 6:39
Rohde17-Jun-03 6:39 
GeneralRe: Flickering Pin
John Fisher17-Jun-03 7:31
John Fisher17-Jun-03 7:31 
GeneralWin32 API pointer question Pin
albean17-Jun-03 5:44
albean17-Jun-03 5:44 
GeneralRe: Win32 API pointer question Pin
John Fisher17-Jun-03 7:35
John Fisher17-Jun-03 7:35 
GeneralRe: Win32 API pointer question Pin
J. Dunlap17-Jun-03 8:19
J. Dunlap17-Jun-03 8:19 
GeneralRe: Win32 API pointer question Pin
albean17-Jun-03 15:31
albean17-Jun-03 15:31 
GeneralRe: Win32 API pointer question Pin
J. Dunlap17-Jun-03 15:35
J. Dunlap17-Jun-03 15:35 
GeneralMessage Handler Pin
JorcanFyn17-Jun-03 5:35
JorcanFyn17-Jun-03 5:35 
GeneralRe: Message Handler Pin
albean17-Jun-03 5:55
albean17-Jun-03 5:55 
GeneralRe: Message Handler Pin
JorcanFyn17-Jun-03 6:03
JorcanFyn17-Jun-03 6:03 
GeneralDraw in the title of a form Pin
STW17-Jun-03 5:11
STW17-Jun-03 5:11 
GeneralRe: Draw in the title of a form Pin
Dimitris Iliopoulos17-Jun-03 13:42
Dimitris Iliopoulos17-Jun-03 13:42 
GeneralMajor Error Needing Major Help!!! Pin
jesus4u17-Jun-03 4:47
jesus4u17-Jun-03 4:47 
GeneralRe: Major Error Needing Major Help!!! Pin
Dimitris Iliopoulos17-Jun-03 13:46
Dimitris Iliopoulos17-Jun-03 13:46 
GeneralReturning all fields in a database Pin
.gonad17-Jun-03 4:25
.gonad17-Jun-03 4:25 

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.