|
yes,I want to play a MPEG on my machine,but it be stored on another computer.
If i might do, it must to been have a source filter to read a remote file,isn't it? or other way? Who Could tell me?
Thank you. excuse me,my English is poor.
|
|
|
|
|
I am still trying to get some code working using Text Object Modeling.
So far it has been like pulling teeth!
Does anyone know where I can find tom.h?
How about a declaration of ITextRange?
UUGHH!!!
|
|
|
|
|
When using Microsoft tools, msdn.microsoft.com should be your first port of call. A search for ITextRange quickly told me that ITextRange requires Windows 98 or later, and that fact combined with the fact that obviously you don't have the file leads me to conclude there is either a Text Object Model SDK or, more likely, this stuff is in the platform SDK. you should check to make sure, but I think it's the PSDK you need to download or order on CD and install before you continue.
Dave_ wrote:
Does anyone know where I can find tom.h?
People often seem to think because they need to include a header file, that if only they HAD that header file, all would be OK. When you're dealing with something bigger than a single class, this is NEVER the case. tom.h is probably just a block of include statements which groups together all the headers needed to access the classes/macros/namespaces/etc used by the Text Object Model.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
|
|
|
|
|
Of course I don't believe that having tom.h would be the final solution to getting Text Object Modeling. What I am looking for is a place to go to get started using TOM. MSDN does a good job of explaining the details of how the interfaces work, and what you can do with them, but fails to give an explanation of how to get started using this technology. Locating tom.h (and other supporting files) would be a clue to get me headed in this direction.
It is apparent that there are not many people out there using this technology. If I am able to gain a better understanding, I will share it with other CodeProject users.
Thank you for your reply. I will check into the SDK CD(s).
|
|
|
|
|
Hi, I have to read data and write data to any ports. my OS is windows 2000. Which function could do this(or any DLL include functions about ports).
_outp() did not work. It gives run-time error.
karanba
|
|
|
|
|
Io using ports is done using file handlers . Try using
WriteFile( ) command . it takes a parameter for the handle to the port(hcom). for this u can try using the function PurgeComm.
hope this helps !!
|
|
|
|
|
For 99/100 ports you cannot do this in windows 2000/nt.
Why? well, access to all hardware is shared and policed by the operating system. You need to find another way of talking to the hardware you're trying to talk to.
What hardware or effect are you trying to achieve with writing to ports?
Sorry to dissapoint you all with my lack of a witty or poignant signature.
|
|
|
|
|
Hi,
An example of what i want to do - when you drag a splitter control, drag a window , drag a selection box etc a drag rect is drawn to show what you are selected.
I want to know how to draw the rect? with GDI , it is some sort of line style , it is not a solid line, maybe a pattern?
If any one knows how it is drawn it'd really help Thanks.
|
|
|
|
|
DrawFocusRect
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
|
|
|
|
|
VC++ installs languages file in a subdirectories named L.deu for german, for example. In the standard installation it includes English, German, French, Italian, Japanese and Chinese.
I am looking for these files for Spanish, Portugese, Norwegian, Swedish, and Danish as well.
Does anyone have an idea where I can find them. I can't find them in my MSDN cd's although they must be there somewhere.
Happy programming!!
|
|
|
|
|
I have started a Win 32 Console Application with MFC support and I have created a dialog box with two buttons(RUN PROGRAM and EXIT buttons). I have also selected the class for the dialog box and set up the buttons correctly.
My source files and header files have been inserted into the source and header folders but I don't know how to link my RUN PROGRAM button with the main source file in my program.
Also there was a .cpp .rc and .h file already created which when compiled printed out to the screen Hello from MFC! should these files be deleated and replaced with my own.
|
|
|
|
|
The dialog should go into the .rc file. You can copy/paste w/in the resource editor, or open the files as text and edit them that way.
Are you sure you need to be writing a console application?
I'm never gonna work another day in my life. The gods told me to relax, They said I'm gonna get fixed up right. Monster Magnet, Powertrip
|
|
|
|
|
yeah...you see it is code written on Borland C which I was running with VisualC++ Studio and I want to include a dialog box with a buton to execute the program.
I'm still not too sure
|
|
|
|
|
clara wrote:
I'm still not too sure
Sounds to me like the whole thing is a mess. If you're creating dialog boxes, the odds of you needing a console program are close to zero.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
|
|
|
|
|
CP has a couple of nice examples of how to download a file via HTTP. Can someone point me to a code snippet that demonstrates how to send a "HEAD" request for a resource (eg: http:/foo.com/mumble.html) and read the returned result? Thanks,
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Too lazy to read the RFC eh?
Nish
If I am awake and my eyes are closed, it does not necessarily mean that I am thinking of naked women.
|
|
|
|
|
I can't blame him, I looked up the HTTP RFC and it took forever to download on my High-Speed Broadband
Sorry I couldn't help but emphasize the high-speed part
- Matt Newman / Anti-Linux Activist
-Sonork ID: 100.11179:BestSnowman
†
|
|
|
|
|
Not really!
The protocol's pretty straightforward. Instead of sending a "GET" (to download a resource), I send "HEAD". When I read the response, it will contain the header information sent by the HTTP server. My problem is, I'm trying to figure out the Internet_mumble calls to make.
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
|
Try with an ISAPI extension. You can send HTTP headers and read resoponses very easily. Search MSDN for CHttpServer and CHttpServerContext classes.
Best regards,
Alexandru Savescu
|
|
|
|
|
Actually, I want to do this on the client side.
/ravi
"There is always one more bug..."
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Has anybody been able to pull this off?
I am able to get a tooltip to work over the edit box portion, but
when the dropdown is active, I can't capture mousemoves over the dropdown
or get tooltips to show up no matter what I do!
Please advise if you can
Thanks
-Julie
|
|
|
|
|
I need to create a MDIChildFrame with a caption bar , a minimize and a maximise button . I want to get rid of the Close icon for the Childframe on the rightmost corner . How do i create this ?
Thanks
|
|
|
|
|
While creating the active x component i unchecked the visible radio button. How do I make the component visible in my Dialog application during runtime. My active x class CActiveX derives from CWnd.
thanks
|
|
|
|
|
ShowWindow(SW_SHOW)
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|