Click here to Skip to main content
16,009,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EnableWindow in vc++ Pin
Cedric Moonen26-Oct-04 22:03
Cedric Moonen26-Oct-04 22:03 
GeneralRe: EnableWindow in vc++ Pin
vc-programmer-26-Oct-04 22:15
vc-programmer-26-Oct-04 22:15 
GeneralFind changed Control on Dialog. Pin
Sumit Kapoor26-Oct-04 20:59
Sumit Kapoor26-Oct-04 20:59 
GeneralRe: Find changed Control on Dialog. Pin
Cedric Moonen26-Oct-04 21:10
Cedric Moonen26-Oct-04 21:10 
GeneralRe: Find changed Control on Dialog. Pin
Sumit Kapoor26-Oct-04 21:22
Sumit Kapoor26-Oct-04 21:22 
GeneralApplication dissappearing Pin
FASTian26-Oct-04 20:43
FASTian26-Oct-04 20:43 
GeneralRe: Application dissappearing Pin
dharani26-Oct-04 21:10
dharani26-Oct-04 21:10 
GeneralQuestion regarding "typeof" equivalent in VC++ .NET Pin
NietzscheDisciple26-Oct-04 19:10
NietzscheDisciple26-Oct-04 19:10 
I'm attempting to port a DirectSound application I wrote in VC# (.NET 2003) to VC++ (.NET 2003).

I've almost ported the entire code, but I'm stuck on one line, and would really appreciate it if somebody could help me out on this.

The line in C# is:
MemBuffer = (short[])(AppCaptureBuffer.Read(StreamCapBuffReadPos, typeof(short), LockFlag.None, 50000));


MemBuffer was previously declared as:

private short[] MemBuffer;

How would I do this in C++? My problem is with the "typeof" keyword in C#. It signifies the returned data type.

C++ doesn't appear to have the "typeof" keyword. How do I write this in C++?

Thanks!
GeneralChange Font Pin
uttit26-Oct-04 18:56
uttit26-Oct-04 18:56 
GeneralRe: Change Font Pin
sarath_babu27-Oct-04 0:50
sarath_babu27-Oct-04 0:50 
GeneralRe: Change Font Pin
uttit27-Oct-04 16:19
uttit27-Oct-04 16:19 
GeneralRe: Change Font Pin
sarath_babu28-Oct-04 3:41
sarath_babu28-Oct-04 3:41 
GeneralRe: Change Font Pin
uttit28-Oct-04 15:49
uttit28-Oct-04 15:49 
GeneralRe: Change Font Pin
sarath_babu28-Oct-04 18:02
sarath_babu28-Oct-04 18:02 
GeneralLittle Help Needed Pin
ThatsAlok26-Oct-04 18:41
ThatsAlok26-Oct-04 18:41 
GeneralRe: Little Help Needed Pin
Antony M Kancidrowski27-Oct-04 2:10
Antony M Kancidrowski27-Oct-04 2:10 
GeneralRe: Little Help Needed Pin
krmed27-Oct-04 2:36
krmed27-Oct-04 2:36 
GeneralRe: Little Help Needed Pin
Antony M Kancidrowski27-Oct-04 8:53
Antony M Kancidrowski27-Oct-04 8:53 
GeneralRe: Little Help Needed Pin
ThatsAlok27-Oct-04 19:07
ThatsAlok27-Oct-04 19:07 
GeneralRe: Little Help Needed Pin
ThatsAlok27-Oct-04 19:15
ThatsAlok27-Oct-04 19:15 
GeneralRe: Little Help Needed Pin
Andrew Peace31-Oct-04 3:46
Andrew Peace31-Oct-04 3:46 
GeneralA simple Thread Question Pin
Anonymous26-Oct-04 18:32
Anonymous26-Oct-04 18:32 
GeneralRe: A simple Thread Question Pin
bryce26-Oct-04 19:26
bryce26-Oct-04 19:26 
GeneralRe: A simple Thread Question Pin
vikramlinux26-Oct-04 19:35
vikramlinux26-Oct-04 19:35 
GeneralRe: A simple Thread Question Pin
Anonymous26-Oct-04 22:34
Anonymous26-Oct-04 22:34 

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.