|
Hi,
I'm implementing a TCP server that should delimit tpkt paquets on a TCP stream, change their headers and resend them. I don't know how to catch each paquet and how to know his length. Anybody has a code or an example that shows how to delimit paquets on a TCP stream ?
Thank you
Imad
|
|
|
|
|
hi! i've created a dialog based MFC program..now i need to add just 1 additional feature to complete the proj..
is there anyway i can set up the user interface on multiple users, and when 1 user enter text input to the user interface, he can just press a button & send the text over to the a chosen user?
it's something like a msn/icq that i'm thinking of implementing...
|
|
|
|
|
pork chop wrote:
is there anyway i can set up the user interface on multiple users
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
Hi,
I want to add something so that my dll is called with the windows startup. I don't want to use the default registry entries under the HKEY_LOCAL_MACHINE & HKEY_CURRENT_USER.
Thanks
|
|
|
|
|
|
amahmoud81 wrote:
I don't want to use the default registry entries under the HKEY_LOCAL_MACHINE & HKEY_CURRENT_USER.
Why?
Don't forget that you'll need an actual application (e.g., rundll32.exe) to start your DLL.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
(also sent to Dundas Tech this morning; but maybe some other CPian already tried that )
I have a grid ( row selection ) with multiple columns, one is a checkbox cell type; I select a range of cells and when clicking on one checkbox in the selected range, I want to update all checkbox cells with the state of that one cell.
I was wondering if it's possible to select a range of checkbox cells (CUGCheckBoxType) , and click on the checkbox to affect all the selected cells ?
now, in the CUGGrid::OnLButtonDown method, there's m_ctrl->GotoCell(col,row) that resets the selection.
Seems that I have to "hack" a couple of methods here and there to achieve what I want, and I don't really want to do it, and mess with the Dundas code.
I could use a contextual menu to do it, but it seems unelegant ... and not what Boss wants...
Thanks.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Please try the recommendations Dundas Support has emailed to you earlier today and let us know if it something you can use.
Peter Zajac
Dundas Software
|
|
|
|
|
Hello, I've tried to do modal listbox like the member list in VisualStudio. I used class CDialog with listbox (without border and caption). But there is a terrible BEEP when mouse is clicked outside the dialog. I can't find the mechanism which do the BEEP. Do you have any idea how to do that. Thanks.
|
|
|
|
|
I have no idea what your asking, but...
Maybe:
MessageBeep
or
You have created a modal dialog box for an editor your working on which pops up when member functions/variables for an object are available and you want it to NOT beep when some clicks outside the box and instead have it dissappear like VS???
In that case try creating a modeless dialog box
Cheers
How do I print my voice mail?
|
|
|
|
|
hell, thanks for give me kick;P
|
|
|
|
|
hi!
I've done a dialog-based MFC proj with 2 buttons RECORD and STOP.
i wish to add additional feature to my buttons such that when users press RECORD, the STOP button wld eg. change colour to alert users that this is the next button to press.
also, after RECORD is pressed, this RECORD button is diabled until STOP is pressed to enable it again.
can anyone kindly help?
|
|
|
|
|
you need to use CWnd::EnableWindow
with something crudelly like ( when clicking the buttons, you need to manually update the other ones ):
...
if ( RecordButton.IsPressed() )
{
StopButton.EnableWindow( FALSE )
}
else
{
StopButton.EnableWindow( TRUE )
}
...
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
|
|
Hi there,
Does anybody knows where I cound find a routine that would convert integer values into roman numbers and vice-versa. Something like :
INT i = RomanToArabic(_T("XII"));<br />
ASSERT(i == 12);<br />
CString s(ArabicToRoman(24));<br />
ASSERT(s.CompareNoCase(_T("XXIV")) == 0);
|
|
|
|
|
It's easy enough to create such a function. Here is a site with JavaScript that can easily be converted to C. Others can be found here.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Indeed, the algorithm is not so complicated as I first believed. Thanks David.
|
|
|
|
|
I have posted a question alredy but no awnser.
Kindly tell me how will i zoom in and zoom out a picture. in VC++ MFC
any help or sample
thanx
|
|
|
|
|
I'm willing to bet my life savings there is probably an article on bitmap zooming somewhere on CP....at the very least there is a bitmap class somewhere on here which has zoom functionality...
p.s-my life savings currently are -456...i'm in debt...please pay it for me
How do I print my voice mail?
|
|
|
|
|
Could it be that the video is allready loaded in the cache and/or memory? If you load it the first time, it has to be fetched from your HD into memory ... ?
(just a thougth)
"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
|
|
|
|
|
my program plays DVR format video files and
Window Media Player play ordinary avi files
so they play different files and different contents..
so caching is not in this case
thanks for your reply anyway
|
|
|
|
|
Hi All
does anyone know how to programatically create a MS Acess database ?
i dont mean the tables, but the actual database itself
or could any one point me in the right direction
thanks
Si
|
|
|
|
|
#include "afxdao.h"
AfxGetModuleState()->m_dwVersion = 0x0601;
AfxDaoInit();
CDaoDatabase db;
db.Create("D:\\NewDatabase\\NewDb.mdb");
Note: The directory must already exist.
That's all.
MS
|
|
|
|
|
supurb thanks
|
|
|
|