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 bkrike 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: *

  • Users: BeanDog
  • Content: Threads
  • Order by date
  1. BeanDog

    Simple MAPI - open email

    Is there a way to open a standard email dialog using the ReadMail Simple MAPI function? I have a lpMapiMessage that is valid, but I can't figure out how to display it in its default viewer. Any suggestions? Also, is there a SIMPLE Mapi way to get the HTML source to an HTML email? With...
  2. BeanDog

    WM_ENDSESSION - logoff?

    I do not receive WM_ENDSESSION when the user is logging off (I am running WinXP pro), but I do receive it when they shut down. Is there some way to catch when they log off? ~BenDilts( void );
  3. BeanDog

    VB CriticalSection-like function

    I need to send information over a Winsock TCP/IP connection and wait for a response before sending any further information. Here is my generalized function: Private Sub LockingSend(s As String) Do While m_bLocked DoEvents Loop m_bLocked = True Winsock.SendData s Do While m_bLocked...
  4. BeanDog

    Regsvr32 fails on VC6 ATL COM EXE

    I could not get a .exe server to register on a Win98SE machine so I did this to verify it: I created a new ATL AppWizard project in VC++6. I chose .EXE and clicked OK. I added a single ATL object and compiled it. It registered fine on my 2k machine. I moved it to the 98SE machine and...
  5. BeanDog

    Create dialog in DLL from resource?

    I created an MFC-enabled DLL project in MSVC++6.0, added a blank dialog resource with the resource editor, and run the following when the DLL is loaded: CDialog dlg; dlg.Create(IDD_DLG); This fails. It also fails if I use MAKEINTRESOURCE before passing IDD_DLG in. It gives me a failed...
  6. BeanDog

    (MSVC/COM) Allocating BSTR strings?

    Who is responsible for allocating strings in COM calls? For instance, if I have a method with an [out] BSTR* parameter, do I have to call AllocSysString and/or SysFreeString to pass it out? Same question for [out,retval]'s. i.e.: STDMETHODIMP CESValhalla::GetFolderById(long lFolderId, BSTR...
  7. BeanDog

    Halt until ShellExecuted app is done?

    I have an application that needs to run two different executables, one after the other. When I do 2 ShellExecutes, I get both running at once. I need to make sure the first finishes before the second begins. Is there a blocking version of ShellExecuteEx? ~BenDilts( void );
  8. BeanDog

    DoEvents in COM event?

    I have written an out-of-process (.exe) apartment-threaded COM object in VC++6, and I make a call to it from my VB app that can take a minute to complete. So, I have the COM object call an event. VB *does* get the event and handles it fine. I have it set up to send back to the COM server...
  9. BeanDog

    DoEvents in COM event

    I have written an out-of-process (.exe) apartment-threaded COM object in VC++6, and I make a call to it from my VB app that can take a minute to complete. So, I have the COM object call an event. VB *does* get the event and handles it fine. I have it set up to send back to the COM server...
  10. BeanDog

    specialized debug tool?

    Does anyone know of a debug tool that does this? I would really like to have a listing of each line of my code that has been hit by each of my running threads. Imagine the usefulness. I hit a deadlock once in a while, and I can't even figure out where it stopped, so it's difficult to solve...
  11. BeanDog

    System idle time

    Is there a way I can find out how long the system has been idle? I need a process to run in the background while the system is idle. An example would be FindFast. How do they index your hard drive only when the system is able, or how does windows start screen savers when the system has been...
  12. BeanDog

    ASP CreateObject fails on EXE COM Object

    I have created a COM object in an EXE COM project. I set up IIS on my XP Pro system. I can create the object easily in VB with CreateObject("..."), but when I try to do Server.CreateObject("...") in a localhosted ASP page, the site hangs and no information is sent down...
  13. BeanDog

    ASP CreateObject fails on EXE COM Object

    I have created a COM object in an EXE COM project. I set up IIS on my XP Pro system. I can create the object easily in VB with CreateObject("..."), but when I try to do Server.CreateObject("...") in a localhosted ASP page, the site hangs and no information is sent down...
  14. BeanDog

    ASP CreateObject fails on EXE COM Object

    I have created a COM object in an EXE COM project. I set up IIS on my XP Pro system. I can create the object easily in VB with CreateObject("..."), but when I try to do Server.CreateObject("...") in a localhosted ASP page, the site hangs and no information is sent down...
  15. BeanDog

    ASP CreateObject fails on EXE COM Object

    I have created a COM object in an EXE COM project. I set up IIS on my XP Pro system. I can create the object easily in VB with CreateObject("..."), but when I try to do Server.CreateObject("...") in a localhosted ASP page, the site hangs and no information is sent down...
  16. BeanDog

    ASP CreateObject fails on EXE COM Object

    I have created a COM object in an EXE COM project. I set up IIS on my XP Pro system. I can create the object easily in VB with CreateObject("..."), but when I try to do Server.CreateObject("...") in a localhosted ASP page, the site hangs and no information is sent down...
  17. BeanDog

    static class variable in COM object

    I need to store a single integer value that can be accessed by any instance of a COM class running on a machine. Is there any way to do this? COM does not allow static member variables or global variables. On top of that, it seems to load a new copy of the class itself every time someone...
  18. BeanDog

    win2k-"Server Error: could not create file..."

    I am using Win2K Professional's built-in IIS services and Frontpage server extensions. I am doing local development of an ASP web app using Visual InterDev 6.0, and when working in master mode it will not allow me to save my files to the server. This only started happening recently, so I...
  19. BeanDog

    Passing pointers through windows messages?

    I am trying to ascertain whether a process running in a separate .exe, not just a separate thread, has completed (multithreading is not an option in this case). In the calling module, the following code executes: volatile bool* IsDone = new bool; *IsDone = false; PostMessage(IndexWin...
  20. BeanDog

    pass scriptlet info through form?

    Can I pass information from a scriptlet contained in a form to the page the form leads to? How do I pull this off? Right now I have a scriptlet, just say id=scriptlet and name=scriptlet. I try this: <%=Request(&quot;scriptlet&quot;)%> and of course it just says [object]. How do I get at...

Part and Inventory Search

Back
Top