Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. zildjohn01

    qtnext target

    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...
  2. zildjohn01

    inheritance question

    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) ==...
  3. zildjohn01

    console input

    o. i was hoping for something portable or within the c standard, but oh well. thanks.
  4. zildjohn01

    console input

    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)...
  5. zildjohn01

    static library reference resolving

    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...
  6. zildjohn01

    & -- reference operator

    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...
  7. zildjohn01

    interactive services

    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
  8. zildjohn01

    interactive services

    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...
  9. zildjohn01

    Give data to a thread?

    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...
  10. zildjohn01

    blocking tcp server

    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...

Part and Inventory Search

Back
Top