|
|
hello,
you can open avi's, edit them and play them frame by frame with visual c++ 6.0....i tried it once and opened a porn or something in there and played it frame by frame.
theres a tool thats included in visual studio called "AVI Editor".
|
|
|
|
|
Hello,
I'm developing a program that sets the SAMBA passwords in a LDAP-directory. I'm now wondering if there are some classes in MFC (Or any other c++ class) that can make these hashes.
I've been checking out the mkntpwd, and I want a similar class that does the same thing:
$ mkntpwd password
E52CAC67419A9A224A3B108F3FA6CB6D:8846F7EAEE8FB117AD06BDD830B7586C
(Lanmanager:NT)
..
Like (something simple like this)
CLanmangerPassword a("cleartextpassword");
CString sLanmgrpwd = a.GetHash();
|
|
|
|
|
i've never heard about such a class!
Don't try it, just do it!
|
|
|
|
|
Hi,
Is there anybody working with DirectShow.
Pls tell me how can I create my own Audio Source Filter.
I have to use my own custom filter and will be providing inputs by filling data in buffer variables.
I can not use the custom filters already provided by DirectShow.
Regards,
Saurabh
|
|
|
|
|
there are some filter sources on the web... i think OGG vorbis has one
Don't try it, just do it!
|
|
|
|
|
Hi
I use Microsoft (R) Segmented Executeble Linker Version 5.60.339.
I just need newer version but I didn't found anything on Web.
Where can I find it?
Code Red
|
|
|
|
|
There'll be an updated one in the Platform SDK.
Big download just for one exe though....
Steve S
|
|
|
|
|
hello, this is a kind of simple question. I have MFC/C++ a html editor that i am in the process of making. I want to be able to print a string into the doccument such as a html tag and map it so that when i press a certain button it will display "/font"in the doccument for example.
could be in the tool bar as well. if i can figure this out i will add a button for all the common html tags.
i would greatly appreciate any help, thank you
<font color="blue">void</font> CtoolDlg::OnButton1()
{
<font color="green">
}
|
|
|
|
|
In your CDocument -derived class, you'll need an object (e.g., CString ) to hold the (HTML) text. As you click each button, you'll update this object accordingly. After each update, you'll need to call UpdateAllViews(...) so that the view can render the text.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
DavidCrow wrote:
In your CDocument-derived class, you'll need an object (e.g., CString) to hold the (HTML) text. As you click each button, you'll update this object accordingly. After each update, you'll need to call UpdateAllViews(...) so that the view can render the text.
hello, thx for the reply i will try and use this when i get the chance, it sounds a bit cloudy to me but i will have a go at it
|
|
|
|
|
Hi,
I am currently experiencing a strang problem with my classview.
Whenever I'm adding a function to a dialog class, the class disappears from my classview!
The cpp and header files are still in the fileview but editing code in that class doens't support code completion since it's class is gone from classview.
Anyone familiar with this problem (and a solution perhaps )
Thanks
|
|
|
|
|
maybe something is wrong with *.clw file.
delete the file, vc will generate a new one automatically, the new *.clw may fix your problem, at least no harmful.
includeh10
|
|
|
|
|
I've tried your suggestion but that didn't work.
Still my dialog classes disappear in my classview, whenever I'm adding member functions to a dialog
I can't get no satisfaction.
|
|
|
|
|
I want to make my own check box control. Where can i find source code for standard check box (CButton)? Or at least to know how to draw standard check box?
|
|
|
|
|
SLiDeR wrote:
Where can i find source code for standard check box (CButton)?
Have you looked in the \Program Files\Microsoft Visual Studio\VC98\MFC folder? There's a SRC and an INCLUDE folder that have the declaration and definition of the CButton class.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
I know about MFC sources. There is CButton source code. But CButton simply uses CreateWindow() function to create check box. But i need source code for DrawItem() function.
|
|
|
|
|
SLiDeR wrote:
I know about MFC sources.
Then you also know that you are expected to provide your own CButton::DrawItem() function as the base-class implementation does nothing except fire an assertion.
SLiDeR wrote:
But i need source code for DrawItem() function.
In other words, there is no source code available.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Ok the way i see it there are two ways you can go about creating a checkbox control.
1. You can use the the visual c++'s resource editor on a dialog box. If you choose to do so you will need see a tutorial on visual c++. this can be found on http://msdn.microsoft.com
2. The other way is to use mfc to do it heres a sample...
declare a checkbox control (actually its a special type of Button control)
CEdit myCheckBox;
go ahead and initialize it
myCheckBox.Create(LPCTSTR lpszCaption, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID);
now the dwStyle above must have at least the following flag "BS_AUTOCHECKBOX"
heres an example.
myCheckBox.Create("Search Any Word", WS_VISIBLE | BS_AUTOCHECKBOX,
CRect(365,0,470,30), this, IDC_CHECK1)
IDC_CHECK1 is the dialog control ID.
Hope this makes sence.
void signature(){
cout<<"Sobbayi Interactive"<
|
|
|
|
|
Oh, i need code to make my own drawn CheckBox, i want to override DrawItem() function.
|
|
|
|
|
Hi All,
hope u all r fine n doing well, i want to make a world map in VC++ (It may be a bitmap or gif),but the harder part is that i have to take the Longitude and Latitude by clicking on a certain position in the map, if anybody knows about this or related thing do tell me plzzzzz.
take care
;P
|
|
|
|
|
|
I have a cpp question that can not resolved... need some great help.
I have a base class, and some derived class (with various functions). I am trying to use a callback mechanism to have the base class to call one of the derived class function.
// ***************************
//
class BaseClass;
typedef int (BaseClass::*BaseCallback)( int );
class BaseClass
{
public:
BaseClass() {};
BaseCallback baseCB;
// error on below line:
// error C2171: '*' : illegal on operands of type 'BaseCallback'
// error C2064: term does not evaluate to a function
int runCallback( int i ) { return (*baseCB)(i); };
};
class DerivedClass : public BaseClass
{
public:
bool derivedCallback( int i ) { return i; };
DerivedClass() { baseCB = (BaseCallback) derivedCallback; };
};
//
// ***************************
everything seems to be good, except when the compiler does not like to call the function using the function pointer. This mechanism does work if it is not a class function pointer. Does anyone has any idea ?
thanks in advance
|
|
|
|
|
|
thanks for the hint
and i tried that, but still got an error (same line) about
// error C2064: term does not evaluate to a function
thanks again
|
|
|
|