if i have the following qtl file
<?xml version="1.0">
<?quicktime type="application/x-quicktime-media-link"?>
<embed src="a.mov" qtnext="second.html" />
and embed it inline in a web page, second.html always opens in a second browser window. is there any way to get it to open in the same window...
hi, i would like to be able to tell which type of derived class a base class is. pseudocode:
// pseudocode.cpp
#include <stdio.h>
class Base{};
class Derived : public Base {};
void test(Base &cls) {
if(typeof(cls) == typeof(Derived))
printf("cls is 'Derived'\n");
else if(typeof(cls) ==...
hi, i have a question about console input. i have tried the various functions such as
fread(&nextchar, 1, 1, stdin);
nextChar = getchar();
nextChar = _fgetchar();
etc...
and all seem to wait until the user presses 'enter' to start returning the chars to my program. is there any way to 1)...
static library reference resolving
hi, i have two projects ( a static library and a exe ) that i am trying to interface with each other. the
static lib contains the entry point, calls a function in the exe, then the exe must have access back to the
static lib's functions. here is the code...
can someone help me understand the & reference operator, such as:
void MyFunc(int& val) {}
the way i understand this code is, when you access the code it is as it has been declared:
int x;
but contains a hidden pointer where the data actually is. so:
void f1(int& data) {data = 7;}
void...
thanks -- what would really be nice for my app though is to have a global keyhook (such as ctrl+alt+shift+s) to halt (cleanly) my service, even if a user is not logged in. if that is not possible, though, what you described will work fine. thanx so much
hi, i have a question about .net services.
i would like to create a service that creates a tray icon and a window on the current desktop. When a new user logs on or the desktop is switched, i would like to be notified, then move my tray icon and form to the new active desktop.
I read about...
i think it is something like this:
public class MyThread {
private int _data;
public MyThreadClass(int data) {
this._data = data;
}
public void Start() {
new Thread(new ThreadStart(ThreadProc)).Start();
}
private void ThreadProc() {
// use this._data in your thread;
}
}
to...
hi, i am setting up a tcp server, and was wondering if there is a way to have the Listen() method block the calling thread, or to get a notification when a connection attempt is made. my current implementation has a for(;;) loop calling the Accept method, but this is too processor intensive...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.