I am looking for a tutorial or documentation on how to overlay direct3d on top of a video (webcam) feed in directshow.
I am writing c++ using visual studio 2008.
I am developing a client server application (TCP) in Linux using C++. I want to send more than 65,000 bytes at the same time. In TCP, the maximum packet size is 65,635 bytes only.
How can I send the entire bytes without loss?
Following is my code at server side.
//Receive the message from client socket
if((iByteCount = recv(GetSocketId(),…
hi I am just starting with node.js. I have done a little ajax stuff but nothing too complicated so callbacks are still kind of over my head. I looked at async but all I need is to run a few functions sequentially. I basically have something that pulls some json from an api, creates a new one and then does something with that. obviously i…
Say that I have a system service, and I want to offer a low-level maintenance access to it.
For that purpose, I'd like to create a standalone, console application that somehow connects to server process and lets user type in commands, allow it to use auto-completion and auto-suggestion on single/double TAB press (just like linux bash…
I've never used excel before so I need the simplest solution available, and this is a work assignment due this week so I didn't have time read much of the documentation.
Basically, I have two tables, A and B, and they are both thousands of rows long.
Description of my task: right now (since I don't know better) I'm manually doing…
I have two textbox .... textbox1 and textbox2
textbox1 == choose from date
textbox2 == choose to date
if user select from date in textbox1 as 01-May-2011 and in textbox2 as 30-May-2011
then all the dates from 01-MAy-2011 to 30-May-2011 will be inserted in each row of mssql2005 datatable...
example. . :
IN database Table1…
I am trying to figure out the syntax to register a callback with this 3rd party software. I think it is probably a basic question, I just am not too familiar with c++. They have a method for registering a callback function so their code can call a function in my code when an event happens. They provided a working example…
I'm learning to apply MVP to a simple WinForms app (only one form) in C# and encountered an issue while creating the main presenter in static void Main(). Is it a good idea to expose a View from the Presenter in order to supply it as a parameter to Application.Run()?
Currently, I've implemented an approach which allows me…
I tried to look here:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#i3253
And I understand that I have to provide string length for the column, I'm just not able to find out how many bytes oracle uses when storing a character. My limit is 500 characters, so if its 1 byte / character, I can…
All examples I find on shuffling arrays are for NSMutableArrays. Copying an NSArray to an NSMutable array, shuffling, then copying back always crashes the application. Is it even possible to shuffle an NSArray?
Anything in objective-c similar to Collections.shuffle() (Java)?
What debugging tools are available for directshow filters? Presently, I have a project that compiles and registers a video source filter that I then setup a graph in GraphEdit. I am using c++ in visual studio 2008. Is it possible to get a debugger attached to the filter in any way where I could…
Hello!
I'm trying to modify and set alert templates on a SP (working on a copy of alerttemplates.xml), but I'd like to deploy them just on some specific sites, not the whole farm. Is this possible? I'm using SharePoint 2010 RTM.
Thanks
Here's the problem: my input is XML file that looks something like:
<BaseEntityClassInfo>
<item>
<key>BaseEntityClassInfo.SomeField</key>
<value>valueData1</value>
</item>
<item>
…
Are you an iPhone/iPad/Android programmer with a designer soul? If so we would like to hear from you.
Drop us your best work/portfolio and than we talk.
hello@fullcircle.co.jp
Cheers
T
My main concern is the function: getUrlAndHtml()
If I manually build and append the query to the end of the uri, I can get the response.url(), but if I pass a dictionary as the request data, the url does not come back. Is there…
When performing many inserts into a database I would usually have code like this:
using (var connection = new SqlConnection(connStr))
{
connection.Open();
foreach (var item in items)
{
var cmd = new…
public class DocFilter extends FileFilter {
public boolean accept(File f) {
if (f.isDirectory()) {
return true;
}
String extension = Utils.getExtension(f);
if (extension…
I have a direct3d project that uses D3DXCreateTextureFromFile() to load some images. This function takes a LPCWSTR for the path to file. I want to load a series of textures that are numbered consecutively…
hi all,
i'm using c sharp and crystal reports in visual studio 2008 in my application.
the problem is that there is a form that i have crystalreporviewer on,
when i call the form from form1 by button click…
In PHP, there is a special method named __call($calledMethodName, $arguments), which allows class to catch calls to non-existing methods, and do something about it.
Since most of classic languages are…
Is it considered a bad practice to pass around a large string or object (lets say from an ajax response) between functions? Would it be beneficial in any way save the response in a variable and keep…