|
Hello,
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.
files:
http://www.geocities.com/stashfiles/win_vc6_mak.txt
http://www.geocities.com/stashfiles/mediasinkencoder_cpp.txt
http://www.geocities.com/stashfiles/mediasinkencoder_h.txt
http://www.geocities.com/stashfiles/main_cpp.txt
http://www.geocities.com/stashfiles/guids_cpp.txt
extracted from:
https://producersdk.helixcommunity.org/ docs/producer_sdk_files.htm
|
|
|
|
|
Probably Borland C++ builder has the feature.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
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.
|
|
|
|
|
Hello guys can i combine two bitmaps to produce a third combined bitmap .
for example if i have two images of
160*120 then resultant bitmap will of 320*240 size , which will be displaying two bitmaps side by side in on image .
so can any body guide me how to do this.
Unmanaged in a .NET world
|
|
|
|
|
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 .
BitBlt(memDC,0,0,160,120,
leftDC,0,0,SRCCOPY);
BitBllt(memDC,161,0,320,120,
rightDC,0,0,SRCCOPY);
|
|
|
|
|
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!
|
|
|
|