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 Mike Lewis 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. discoking

    GetBaseURL()

    Is there any function in C++/MFC/WinSDK that I can get the base URL of a HTML page? ie. if I try and load index.htm can I find out its in http://somesite.com/documents??? BTW the problem has arisen because I've just shoehorned my code into an ActiveX control and now the working directory of the...
  2. discoking

    ActiveX Unsafe

    You need to flag the control as safe for scripting and safe for interaction. It's a bit involved but have a look at Microsoft's website for the code you need.
  3. discoking

    Container Working Directory

    Does anyone know how I can get my activeX control to automatically get the path name of the web page that it's embedded in?
  4. discoking

    booting windows from something other than a hard drive

    Yeh, I thought about that but does CE support harddrives and does that mean I need special CE drivers for things like graphic and sound cards.
  5. discoking

    booting windows from something other than a hard drive

    Hi, I'm interested in finding out about booting Windows from some sort of solid state device and not a hard drive. Does anyone know anything about this? Someone asked me if I could build an arcade machine for them and I said I'd have a think. I want to use off the shelf components so it's...
  6. discoking

    How to implement OnIdle function y a ActiveX control

    No you can't do it that way, the activeX doesn't support the onIdle() function. There may be different ways to get around it but personally I created a seperate thread to do the drawing, then you can get the onIdle() routine.
  7. discoking

    Assertion on killing thread

    Here's basically what the code does. class cMyThread:public CWinThread { private: HANDLE mhExitEvent; public: cMyThread(void); BOOL OnIdle(LONG); } cMyThread::cMyThread(void) { mhExitEvent=CreateEvent(NULL,TRUE,FALSE,NULL); } BOOL OnIdle(LONG) { CWinThread::OnIdle()...
  8. discoking

    Syntax for random number function

    It doesn't need to be initialised using srand() but if you don't then you'll get the same random(!) numbers every time you run it.
  9. discoking

    Assertion on killing thread

    I have a UI thread derived from CWinThread. I allocate the memory, call CreateThread() and it runs fine. I call AfxEndThread() to finish using an event and the thread closes down. The problem is that when it comes to the lines if(m_bAutoDelete) delete this; it crashes on me. Ok so I...
  10. discoking

    Windows Media Technologies

    I want to encode the output from my games engine into an ASF. Is the only format I can provide raw frame data to the encoder 24bit 320x200x24 at 15fps?? Or can I specify the format myself?? Cheers Greg
  11. discoking

    ActiveX with DirectX

    I have stuck my 3D game engine in an activeX control but am having trouble getting activeX to provide the functionality I need to get it running properly. 1]There's no OnIdle() so I can't get the engine to render automatically - I am currently using a timer to get it to render but this means...

Part and Inventory Search

Back
Top