|
First off all let me say I work in the medical IT industry and know how extensive the DICOM standard is. We (UltraRAD Corporation) outsourced most of the low-level network communications for our products, however maybe I can give some insight. I believe The DICOM standard sends data from an Upper-layer protocol sitting above TCP/IP, like FTP,SMTP,etc...
So I don't believe your TCP/IP packet, that you create, is going to be a custom TCP/IP packet, it will follow the IETF standard. Look more into Ethernet network layers for that info. Now your 'DICOM Packets', I think these are command sets check the standard, you make will be passed to TCP/IP in a data stream, I don’t have specific implementation on that for Linux. All this is described in medical.nema.org PS 3.8-2003 section 9.
Hope that rambling helps somehow,
~rlc
|
|
|
|
|
Thank you for your reply. Do you also deal with TCPDump (a sniffer which is used to capture packets include DICOM packet).
I am using TCPDump from David Clunie's site to support DICOM packet capture . However, i have a few questions on the operation of tcpdump in supporting DICOM packet capture.
What i understand here is, DICOM is in a layer upper than TCP layer so if
TCPDump can only work up till TCP layer, it is impossible for it to
capture DICOM packet unless there is something specified in the header
of the TCP packet that this TCP packet is actually a DICOM packet and
therefore it can be captured by the TCPDump and identified it as a
DICOM packet.
3) Can you please explain to me in detail on:
a)how do we recognize the DICOM packet in TCP layer?
b)DICOM "packet" is a DICOM Image Object encapsulated in a TCP packet and the TCP packet encapsulted in the IP packet. Is there any specifications in the header of the TCP/IP packet which allows us to recognize the DICOM packet which is encapsulated in the TCP/IP packet?
Hope that you are willing to start correspoding to me now. I really need your help to clear out my problems. Thank you very much!
Regards,
Yee
|
|
|
|
|
Dear:
I building ISAPI filter that will block user when requests size reach specific number, example: i will redirect the user to Error Page when the size of requests reaches 200k.
My question what is the way to count the size of all requests to IIS.
Thanks
|
|
|
|
|
You can get the size by OnReadRawData() function.
das
|
|
|
|
|
Hi, I'm trying to port an existing vc++6 project to vc++ 7.1 and I have run into some major linking problems regarding the usage of CString.
First when I linked in vc++7.1 I got alot of linking errors like this:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall ATL::CStringT<char,class StrTraitMFC
I then read Knowledge Base-artikel - 309801 about CString changed to template and (as microsoft suggested) added this to my stdafx.h:
template class __declspec(dllimport) CStringT<TCHAR, StrTraitMFC<TCHAR, ChTraitsCRT<TCHAR> > >;
template class __declspec(dllimport) CSimpleStringT<TCHAR>;
But now when I link I get (alot of) warning messages like this:
warning LNK4049: locally defined symbol ??4?$CStringT@DV?$StrTraitMFC@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@QAEAAV01@PBD@Z (public: class ATL::CStringT<char,class StrTraitMFC<char,class ATL::ChTraitsCRT<char> > > & __thiscall ATL::CStringT<char,class StrTraitMFC<char,class ATL::ChTraitsCRT<char> > >:: operator=(char const *)) imported
and lot of errors like this:
error LNK2001: unresolved external symbol "public: class CString const & __thiscall CString:: operator=(class CString const &)" (??4CString@@QAEABV0@ABV0@@Z)
I would really appreciate some help with this difficult problem!
Regards
/Mike
|
|
|
|
|
Hi
there is a help file named vc6.chm. i dont know where to find it on net as i have forgotten the site. can anybody tell me where to find it. it contains all the source code examples of vc6.
reagrds
swarup
|
|
|
|
|
At the moment I have a project with many Modla dialogs.
Before I start a new one I hide the old one giving the illusion
its been killed. Problem I have is the taskbar disappears too.
How can I get around this ??
thanks im being lazy here but times a factor ... ne I have little of.
regards
Karl
|
|
|
|
|
el_scrub wrote:
Problem I have is the taskbar disappears too.
Your code is making the taskbar disappear. Wow! Not that it's impossible, but to do it accidently is really strange.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Duh apologies,
I mean the Taskbar Icon associated with the application.
|
|
|
|
|
Whenever ShowWindow(SW_HIDE) is called, it is supposed to hide all remnants of the window. It wouldn't make much sense to leave the icons in the Taskbar.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
But with other Modals open and Visible I thought It the icon should stay,, but no because its linked to the main window set by my App class.
... naruhodo
|
|
|
|
|
Ok, i have been seeing stuff like this for a while in different apps.
Now what do they mean by this?
With the first part i would be thinking it bind itself to explorer.exe, the second part suggests otherwise
here is an exact quote from one of them.
"No Process Visible in any Task manager,Process explorer(2k,xp,9x),Injects into Explorer.exe on startup and exiting the parent. "
Can anyone explain to me what they mean by this?
|
|
|
|
|
It means the whole code of the application consist on launching a remote thread (via CreateRemoteThread or equivalent) into the explorer.exe process and exiting
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
that tells me about as much as this does
"Injects into Explorer.exe on startup and exiting the parent."
|
|
|
|
|
I'm trying to implement sink interface which get some events by means on Connection Point..
I realized that there are so many ways to do it.
How do you guys think which is the best and easiest way to do it.?
By ATL's IDispEventImpl?
By just ATL's IDispatchImpl?
or by MFC?
could you recomment one?
|
|
|
|
|
Our customer picked this up in their UAT testing.
When a dialog is displayed the underlines are not shown on the button text for the hot keys until the ALT key is pressed. From this point on they are always shown. This seems to be a Windows feature as I see the same behaviour in the Explorer and Word and other apps.
I reuse the dialog objects by just hiding the window when the user closes it and showing it again when they reopen it because it is slow to load.
The problem is that the first time they open it the underlined characters are not underlined. If they press ALT the underlines appear. If they then close the window and reopen it the underlines are still there.
My question is how do I pragmatically display and hide the underlines?
|
|
|
|
|
umm easiest way I know of is this:
keybd_event(VK_ALT,NULL,NULL,NULL);
keybd_event(VK_ALT,NULL,KEYEVENTF_KEYUP,NULL);
check it out in MSDN
wWw.KruncherInc.cOm
|
|
|
|
|
thanks but where is VK_ALT defined? its not in WinUser.h
|
|
|
|
|
Oh I'm sorry I forgot it's actually VK_MENU. Does not make much since does it?
wWw.KruncherInc.cOm
|
|
|
|
|
I guessed that was it. I have found that the following will make the underlines appear
keybd_event(VK_MENU, NULL, NULL, NULL);
but this does not remove them
keybd_event(VK_MENU, NULL, KEYEVENTF_KEYUP, NULL);
Interestingly I have found that for dialogs without menus pressing the alt key will make the underlines appear on the buttons and other controls but pressing it again does not remove the underlines and pressing esc does not remove them either.
|
|
|
|
|
Josh Gray wrote:
keybd_event(VK_MENU, NULL, KEYEVENTF_KEYUP, NULL);
^That is to simulate the key being released.
This feature of xp can be found in the System Display dialogbox, Start>Control Panel>Display>Appearance>Effects>Hide underlined letters for keyboard navigation until I press the Alt key
wWw.KruncherInc.cOm
|
|
|
|
|
|
Josh Gray wrote:
My question is how do I pragmatically display and hide the underlines?
You can't. Why would you want to? It's a Windows feature - it's got nothing to do with your program. The safest thing to do is not to try to change the way Windows operates - it's what most users will expect and be comfortable with.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
i agree with you. However the problem I am trying to fix is as follows
1) User opens dialog. CDialog derived object is created. InitDialog() runs and this takes a while because its loading data
2) Then the dialog is displayed
3) Then the user presses alt and the underlines appear
4) Then the user presses close and I call ShowWindow(SW_HIDE)
5) User reopens dialog. I call ShowWindow(SW_SHOW) on the object created in step one
6) Dialog opens and underlines are still displayed
This is a problem from the user point of view because they expect the dialog to look the same every time they open it. I can delete the dialog object and create a new one every time but this is very slow
|
|
|
|
|
Josh Gray wrote:
5) User reopens dialog. I call ShowWindow(SW_SHOW) on the object created in step one
6) Dialog opens and underlines are still displayed
Aha! The underlines are still displayed because you never closed the dialog box.
Josh Gray wrote:
InitDialog() runs and this takes a while because its loading data
How volatile is the data? Can you load it the first time you open the dialog box and then cache it so you don't have to load it the next time?
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|