Yes I can however I believed their was some trick that I could use to make my app a com server than add com objects that would return the info. If this is impossible or too difficult it really is not worth doing because it is not all that important to have this feature. The purpose of this information was to aid in debugging a complex multithreading application. I believe if I went the sockets route I am going to have to add a thousand lines of code to accomplish this and that was not what I was looking for.
l a u r e n wrote: it isnt that hard to add the sockets stuff
I'm laughing because the program already has two different socket communication methods (named pipe + CSocket based) but neither would be easy to do what I need in the curent form. Know anything about SOAP?
I'll take some time to think this one over before I go writing any code..
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?