|
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.
Thank you,
doug@evansville.net
|
|
|
|
|
|
Hi all,
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?
Mark
|
|
|
|
|
I'm working on a dialog based project.
I wanna show the *.mdb table content on the form, what shold I do?
emroz
|
|
|
|
|
from CDbDatabase or CdbDatabase (second 'd' is lower case and better) and related classes.
includeh10
|
|
|
|
|
I wanna use flexGrid Control
emroz
|
|
|
|
|
|
i use DirectX 6.1
following is a piece of code to be compiled
//inside a function
IDirectDraw*pdd;
HRESULT hr;
hr=::DirectDrawCreate(0,&pdd,0);
IDirectDraw4*ppd4;
hr=pdd->QueryInterface(IID_IDirectDraw4,(void**)&ppd4);
pdd->Release();
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:
#define INITGUID
#include <objbase.h>
#include <initguid.h>
#include <stdio.h>
#include <stdarg.h>
#include <windows.h>
#include <mmsystem.h>
#include <ddraw.h>
#pragma comment(lib,"ddraw.lib")
#pragma comment(lib,"ddraw.lib")
#pragma comment(lib,"winmm.lib")
#pragma comment(lib,"kernel32.lib")
#pragma comment(lib,"user32.lib")
#pragma comment(lib,"gdi32.lib")
#pragma comment(lib,"winspool.lib")
#pragma comment(lib,"comdlg32.lib")
#pragma comment(lib,"advapi32.lib")
#pragma comment(lib,"shell32.lib")
#pragma comment(lib,"ole32.lib")
#pragma comment(lib,"oleaut32.lib")
#pragma comment(lib,"uuid.lib")
#pragma comment(lib,"odbc32.lib")
#pragma comment(lib,"odbccp32.lib")
#pragma comment(lib,"dxguid.lib")
//-------------------------
where is IID_IDirectDraw4 defined?
why no problem in win32, but trouble in MFC?
thx for any help
includeh10
|
|
|
|
|
Consider downloading the latest Platform SDK, or the DirectX SDK (microsoft.com/directx). Either case, this should be at least 200MB a download.
IDirectDraw4 is an interface which appeared in DirectX 7.
|
|
|
|
|
nothing about sdk.
it can be compiled in win32 app.
includeh10
|
|
|
|
|
Hi,
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.
Does this make sense?
Regards
|
|
|
|
|
use SetCapture() on LButton down
and ReleaseCapture() on LButton up
includeh10
|
|
|
|
|
Thanks that seems to do the trick.
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?
Cheers
|
|
|
|
|
use GetKeyboardState() in key down and char down messages.
includeh10
|
|
|
|
|
Thanks again
|
|
|
|
|
Did any body had work on Philips SpeechSDK C/C++ API.
if ues then plz let me know
|
|
|
|
|
Hi,
Is there a way to make a clean icmp ping (no shell command or winsock connect to unused ports) ???
With Best Regards,
A.Ilamparithi.
|
|
|
|
|
yes!
--
Unser Tanz ist so wild! Ein neuer böser Tanz.
Alle gegen Alle!
|
|
|
|
|
Jörgen Sigvardsson wrote:
yes!
and what is it ?
|
|
|
|
|
I don't know. I just answered his question..
I know it is possible though. You can read and write ethernet packets without any special voodoo. And ICMP packets are quite easy to construct as well, so I do know that it is not impossible.
--
Unser Tanz ist so wild! Ein neuer böser Tanz.
Alle gegen Alle!
|
|
|
|
|
I know that the answer is yes too but , if i really dont know how to do it, then no point in replying the question.
|
|
|
|
|
|
Thanks Mr.Prakash.
But, the source code you specified is using socket commands
like gethostbyname,WSAStartup...
With Best regards,
A.Ilamparithi.
|
|
|
|
|
Hi,
I am writing a P2P chat application. It allows two persons to communicate with each other over the internet using their IP addresses. The application works fine when both users are directly connected to the internet. but if one user is behind a firewall or proxy, the application does not connect. I understand that I have to bypass the proxy using SOCKS protocol. I want to ask is there some class or other method, that does this for me, that is, any implementation of the SOCKS protocol. I am using Visual C++ 6.0.
|
|
|
|
|
hy, i have a virtual function in a class. i must go sure, that every class who is inherited from this class overwrites this function, otherwise a warning shoud occur at runtime, or something like that. is this possible??
thanx andreas
|
|
|
|