|
Hi there guys!
now am doing a project in which I want to switch of up to 8 LED's simply by sending an sms to an Ericsson phone.
Here's what I intend:
The program will pick up a received sms from the phone which is connected to the serial port (RS232) and depending on the message, either switch on of off one of the LED's connected to the computer at the Parallel port.
I have done abit on programming the parallel port in vc++
Can the same program therefore control the serial port and how can I do it?
Need help!
Regards
|
|
|
|
|
Reading from and writing to the serial port is done the same way as in the parallel port case: using ::ReadFile() and ::WriteFile() .
So if you've done some parallel port programming, what seems to be the problem in the serial port case?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
I have a old project, that is in VC++ and crystal reports 7.0.
After converting the c++ code in vs2008 (after removing some conversion error) will it work in vs2008.
Means is crystal reports 7.0 is supported in vs2008?
Please guide me.
Pankaj Gupta
(Take it easy)
|
|
|
|
|
Why not write a small program in VS 2008 and try it out with crystal reports?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
In vs2008, the crystal report higher version is already incorparted with that it is working fine.
Pankaj Gupta
(Take it easy)
|
|
|
|
|
One might think that you haven't answered my question. If you want VS 2008 to see if it works with a particular version of crystal reports,
1. Why not check it with *that* version?
2. Why are you particular in using an old version?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi, I have a problem about how to convert the vrml files into openGL and display in an MFC application. Please, Anyone can help me?
|
|
|
|
|
There are two sites that can be very useful when doing something like this: Google[^] and CodeProject[^]. Have you heard of either of them?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Thanks for the suggestion, but take several days looking for. If I write here is to get help from someone, because I have doubts that have not been resolved. Maybe I should ask before you assume.
|
|
|
|
|
The CodeProject link I sent you was a link to an article[^] describing a VRML viewer using OpenGL and MFC.
If you have specific issues with the technologies you talked about, why not mention them? If you just say "Can anyone help me" without really talking about your problem, then I and most every other poster will presume you're looking for answers without putting in any effort, so you'll get the response I gave you.
Be specific - then we can more likely help you.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
OK, my problem is about libraries and their use in windows. Something specific that can not find.
With regard to The CodeProject link seems not to be usable in all VRML files and this is very problematic for me.
|
|
|
|
|
Pompeyo wrote: OK, my problem is about libraries and their use in windows
Still not terribly specific...are you having trouble building your software because of some third party library?
Pompeyo wrote: With regard to The CodeProject link seems not to be usable in all VRML files
How about this one[^]? It claims to have a complete VRML parser (doesn't mean it displays all of VRML, I'll grant).
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart Dootson wrote: Still not terribly specific...are you having trouble building your software because of some third party library?
Good, seeking advice on picking which librarie, because I can not find a clear path for where to walk.
Stuart Dootson wrote: How about this one[^]? It claims to have a complete VRML parser (doesn't mean it displays all of VRML, I'll grant).
Similar to above, can not show basic forms.
|
|
|
|
|
Hello All,
Im searching for a few hours how can i get HWND os desired window(ex. EXCEL)
I want to start appliction from my c++ program.
For starting it i use:
CreateProcess( NULL , pszLogfile , NULL , NULL , FALSE , CREATE_NEW_PROCESS_GROUP|NORMAL_PRIORITY_CLASS ,NULL,NULL, &si , &pi ) ;
But I must check if is already started and if it is yust bring it to foreground :
ShowWindow(MyhWnd,SW_SHOWNORMAL);
SetForegroundWindow(MyhWnd);
I need HWND to do this I can get HANDLE but i can not used it instead HWND???
I tryed with FindWindow but id dose not find all HWND's.
Is there any way to get HWND from exe, (ex. for excel from excel.exe,vncviewer.exe...)
I ll be happy for any help and Im thanking You in advace.
|
|
|
|
|
You can use of FindWindow or EnumWindows.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
Hello Hamid
I try with FindWindow but I need class or window name and for ex. if i try
to made check for excel I must enter XLAMAIN for class name.
Is there any way to FinndWindow by exe...FindWindow(excel.exe,NULL) ???
|
|
|
|
|
Do an EnumWindows to enumerate all top level windows.
For each window handle that is returned in the EnumWindowsProc , call GetWindowThreadProcessId to get the process Id to which the window belongs.
Now you can use the following APIs to get the name of the EXE.
OpenProcess<br />
GetModuleBaseName<br />
CloseProcess
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
komofilms77 wrote: I need HWND to do this I can get HANDLE but i can not used it instead HWND???
If you already have the process handle, call GetProcessID() followed by EnumWindows() .
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
How to run dos command from my MFC exe application
Trioum
|
|
|
|
|
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
And see here[^]
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
in VC# or VC++ pls give some sourse code or methods to generate the installed application list from a remote system...and to invoke an application from that list... its a part of my prog..(i am doing the project in Visual)
|
|
|
|
|
Did you search on the codeproject I think I saw an article about it.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
geogen george wrote: in VC# or VC++ pls give some sourse code or methods to generate the installed application list from a remote system...
Reading from HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall, remote or local, is easy enough, but that list is only as good as the programs that installed them. In other words, there's no way to know of all programs that are on a system.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Can not create Inprocess Reco Engine
|
|
|
|