I do already have a logging system (similar to Robs but not mfc). You may have sloved my problem. I could send a user message to the program from another app and have it spill the result in the log. Thanks.
Now when I think of it the socket options do not seem very difficult. There was one other detail that was influencing my desire to have a COM server. I currently have several property sheets in a popup dialog in the main application (easter egg) that display most of this info. I was thinking that I could move the property sheet to the new application and use com/dcom to do the RPC / communications for me.
If you want to make it real simple, rather that doing the sockets implementation, simply have the app write out a file to a network shared folder that contains the tabbed dialog info (flattened out, of course) in response to an event. Your debugging program can then open and read that file.
Or, you could implement another debugging socket like you said.
I have a RichEditCtrl and in there we have the sql statement. What I am trying to achieve is have the RichEditCtrl act as a partial editing control where the user can type in certain areas and other place we have our reserved keywords which cannot be changed. Any Ideas or suggestion
Hello:I am working a biometric project, my problem is now that I need save the native finger data format in SQl Server Data Base format compatible (varchar).
First It is declarate like unsigned char, then is copy through memcpy to other struct unsigned char...
See the code:
I've got some data and a message handler stored & controlled by the main frame of an MDI app, and would like to show the data in an MDIChildWnd. I can create a window with a standard child wnd OR my own child wnd. e.g.
I have a nmake file which compiles fine using (C++ ver 7) Visual Studio .NET Command Prompt.
The nmake creates an exe which loads dll and uses virtual functions.
I would like to add some functionality to this exe.
However I cannot open the nmake file in Visual C++ as a project.
There is no project file, just the cpp and h files and the nmake file and a some precompiled files.
I have tried to recreate the files within a project but the errors are so many! I believe that dll files must be loaded at runtime, which appears to be something which is not happening??
Are there ways to do this?
Any thoughts are appreciated.
I have an ActiveX control and when I click its button I want it to open a new html page in the same browser, how can I do this? I know i have to use HlinkSimpleNavigateToString function, but I only manage to open in a new browser.
Wouldn't the resultant bitmap be 320 x 120? I'm also assuming the depth is the same on both.
Allocate the size of the bitmap and use trusty old BitBlt.
// leftDC and rightDC are the two drawing contexts on the images to combine.// memDC is the DC on the combination image.
Just wondering if the visual C6 webbrowser can archive files can be save in them *.mht format using Visual C6. Been looking on the web for information on how to use cwebbrowser in C but have not found much about *.mht files. Since I am new to C could anyone lead me in the right direction.
I am trying to write an administration tool that will be executed by users with administrator privileges. At some point, it may need to lock volumes or files for processing but sometimes these files/volumes will be in use by other processes.
This tool is meant to get top priority when it is run. Is there a way if can take over files/volumes that are in use by other processes?
//inside a function
in win32 App, the code is compiled no problem.
but once in MFC, i got compile error:
error LNK2001: unresolved external symbol _IID_IDirectDraw4
to solve the error, i try all but none of them working,
following is includes and libs in CPP file:
I have a CRichEditView derived class. I want to handle when the user selects text with the mouse by pressing the left button. This works fine but when the mouse pointer is dragged belov or over the window the selections stops, which means that the user only can select text that is visible in the window. So I want to scroll when this happens.
Do you know how to handle ctrl-key input?
I can get when the user press ctrl and when a user press another one. Do I need to keep track if the ctrl is pressed or is there a predefined way to do that, multiple key input?
Last Visit: 31-Dec-99 19:00 Last Update: 4-Dec-23 22:02