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...
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 );
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...
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...
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...
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...
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 );
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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("scriptlet")%>
and of course it just says [object]. How do I get at...
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.