|
-
Sep 8th, 2006, 01:15 AM
#1
Thread Starter
Member
[RESOLVED] [2.0] or in vb.net
VB Code:
capCreateCaptureWindowA(iDevice, WS_VISIBLE Or WS_CHILD, 0, 0, OutputWidth, CShort(OutputHeight), parentH, 0)
i need to translete this into c#..
but i got difficulty since inside the parameters, there exist "Or".
What is it ? how can i use "Or" in c# ??
-
Sep 8th, 2006, 01:27 AM
#2
Re: [2.0] or in vb.net
The bitwise Or operator in C-based langauges is a single vertical bar, like the logical Or operator is two vertical bars.
Code:
capCreateCaptureWindowA(iDevice, WS_VISIBLE | WS_CHILD, 0, 0, OutputWidth, (short)OutputHeight, parentH, 0);
-
Sep 8th, 2006, 01:35 AM
#3
Re: [2.0] or in vb.net
A tutorial, or MSDN, could have told you that.
-
Sep 8th, 2006, 08:15 AM
#4
Re: [2.0] or in vb.net
 Originally Posted by penagate
A tutorial, or MSDN, could have told you that.
A book or a teach would have told you that too
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Sep 9th, 2006, 01:10 AM
#5
Thread Starter
Member
Re: [RESOLVED] [2.0] or in vb.net
ok2..
i got it ..
thx for the replies..^^
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|