|
I participate in a project in which I have to establish comminication betwen Digital Signal Processor and PC via USB. This is the beginning of the project and we don't know that DSP would be the best. I will give more information as soon as the specification of the project is more clear.
Thanks!
|
|
|
|
|
Hi can somebody give me some code samples of the createENtry,CopyEntries and deleteentry using MAPI. i am not having enough reference on MAPI. In the IMapiContainer::CreateEntry method the ulflags are not working , can any one clarify me why it does not work. and also suggest me some books on MAPI or some sites where MAPI is available.
thanx in advance
vsr
VSR
|
|
|
|
|
Hello,
I have a problem and I hope somebody will solve this, because I'm getting crazy.
I have to execute parallel commands from an application:
e.g: to execute paralel commands like:
dir & notepad.exe
where &=parallel operator
How can I make this, using commands like CreateProcess and system(char *) call, without creating new instances of my application ,and without using CreateThread function.
I know that this is posible, but I don't know how.
Thank you!
|
|
|
|
|
Hi,
I made a program that burns cd's and dvd's. But when I start burning a CD the main screen gets inactive. I can't use any buttons and when I minimize the screen, I can't get it back.
Does anybody know how to solve this?
Grtz
|
|
|
|
|
Your program is busy with the cd/dvd writing and cant handle any other stuff until it finishes the writing task.
To solve shift the cd/dvd writing task on to a separate thread. This would leave your main application window open for inputs.
Rahim Rattani
Software Engineer,
Matrix Systems (Pvt) Ltd.,
Karachi - Pakistan
|
|
|
|
|
|
how to get information about all installed software of my PC ,programatically in VC,I mean is there any API ??
i m final year computer engineer student...ant making project "Asset manager for LAN" i want information of all hardware and software installed in LAN and want to manage them.i got some APIs for geting hardware information ..now i want APIs for software information
actuly i want to make such thing that if any user detach any hardware or software then one message should there on server that this user have removed this hardware from this PC in LAN
|
|
|
|
|
All the Information of Installed Software on local system can be find here
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
you have to Enumerate the registry Key to know each installed Software.
For Enumertaion of registry key you can use these API->
<ul><br />
<li>RegEnumKey<br />
<li>RegEnumKeyEx<br />
</ul>
"I Think this Will Help"
Alok Gupta visit me at http://www.thisisalok.tk
|
|
|
|
|
WMI is the one of the solution to get h/w information .
Reg
Ramesh.k
VISUAL C++/ATL/COM PROJECTS
|
|
|
|
|
Hello I am a beginner to VC++.
I am having two applications server.exe and client.exe.
I want to exchange messages between these. How to do this ?
thanks in advance
regards
Raghavendra H
|
|
|
|
|
You can use socket and sendmessage
<italic>Work hard and a bit of luck is the key to success. You don`t need to be genius, to be rich.
|
|
|
|
|
Hi
If the 2 apps are running on the same machine, you can use SendMessage but the information is limited to what you can squash into the WPARAM and LPARAM values (64 bits in total on 32 bit machine). If you need to exchange more info (most likely), consider a richer typed interface such as COM over memory-mapped files, etc, because it was designed with this scenario in mind.
If you're crossing the network between 2 machines, you're left with IP (TCP & UDP), HTTP (and SOAP/WebServices variants) or again COM (aka DCOM in this capacity, which incidentally runs over IP).
Using VC++;
For IP, you can use Windows Sockets (MFC or Win32 API), as has been suggested.
For HTTP, you can use WinInet (MFC or Win32 API), but this requires an web server (eg. IIS).
For COM, you're best off using ATL.
HTH
Martin
PS: You can use IP between 2 apps on the same machine, but it's arguably too contrived.
|
|
|
|
|
Hello,Sir
How to set font of CListCtrl header?
Thank you very mush!
Help
|
|
|
|
|
let IDC_LIST1 is ID of ListCtrl,
You can use this Small Piece of code to set Font
of CListCtrl.
<font color="00ff00">
CFont m_fArial;
<font color="00ff00">
</font>
m_fArial.CreateFont
(14,0,0,0,FW_BOLD,
FALSE,FALSE,FALSE,
DEFAULT_CHARSET,
OUT_DEFAULT_PRECIS ,
CLIP_DEFAULT_PRECIS,
DEFAULT_QUALITY,
DEFAULT_PITCH,
"Arial");
<font color="00ff00">
</font>
CListCtrl *m_pList=(CListCtrl*)GetDlgItem(IDC_LIST1);
<font color="00ff00">
</font>
if(m_pList)
m_pList->SetFont(&m_fArial);
"I Think this Will Help"
Alok Gupta visit me at http://www.thisisalok.tk
|
|
|
|
|
Thank you.
but I want to set font in CListCtrl header not item part.
Sorry. My English is very poor.
Help
|
|
|
|
|
Hi
From what I've seen there is inherently only 1 font per list control. I'd consider having an owner-draw list control, with a second font specifically for the header.
HTH
Martin
PS: Your English is fine
|
|
|
|
|
CFont m_fArial;
m_fArial.CreateFont (14,0,0,0,FW_BOLD, FALSE,FALSE,FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS , CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH, "Arial");
ListCtrlCListCtrl *m_pList = (CListCtrl*)GetDlgItem(IDC_LIST1);
if (m_pList)
m_pList->GetHeaderCtrl()->SetFont(&m_fArial);
The key here is to get a pointer to CListCtrl's embedded Header control.
onwards and upwards...
|
|
|
|
|
basementman wrote:
if (m_pList)
m_pList->GetHeaderCtrl()->SetFont(&m_fArial);
very very silly mistake by ME.
Thanks for correcting my mistake
"I Think this Will Help"
Alok Gupta visit me at http://www.thisisalok.tk
|
|
|
|
|
It work fine.
Good for you!
Thank you very much!
Help
|
|
|
|
|
I was playing around with WinXP's task manager when I noticed that some applications never deleted some of their GDI objects. i.e. I ran a standard MFC MDI app, opened a document, took note of the GDI Object count for the app and then closed the document again and noted that the GDI object count did not return to it's initial value before the document was opened. I then open the document again and again and noted that the GDI object count climbed higher and higher. All the apps I tried at first were all MFC MDI apps (including Spy++) and they all showed the same symptoms. I also tried Visio which didn't seem to have this problem.
Could this be a bug in MFC or is there something I'm missing.
|
|
|
|
|
I am having a database application which talks to any kind of databse. I tried to fetch the data from a table and insert into another. I am new to OLEDB. I am able to insert a interger value but not a string value. I am using CDynamicAccessor class. I read in MSDN that there shud be a special handling for string data which am nt able to do. Please help me out.
Thanks in Advance
|
|
|
|
|
i suggest you can take a look at this article, it's quite good!
http://www.codeproject.com/database/caaadoclass1.asp[^]
Best Wishes,
- - - - - - - - - - - - - - - - - - - - - - - - - -
Many nights we prayed with no proof anyone could hear, we were moving moutains long before we knew we could !
Yet now i'm standing here, although we know there's much to fear, hope seems like summer bird too swiftly flown away ...
There can be miracles! When you believe, though hope is frail, it's hard to kill !
Who knows what miracles, you can achieve! When you believe, somehow you will ...
YOU WILL WHEN YOU BELIEVE
|
|
|
|
|
I am using OLEDB consumer template classes not ADO.
|
|
|
|
|
Hello Everyone!
I am a chinese programer,and my english is poor.
so i need your help everyon here at the later days.
and i really want to make friend with you!!
can you tell me where are you from?whitch controy?and your email?
i will study with everyone at the follow days.
thanx.
|
|
|
|
|
Welcome here, i'm Chinese too from Wenzhou and now worked at Hangzhou.
This is quite a good place! Enjoy yourself.
- - - - - - - - - - - - - - - - - - - - - - - - - -
Many nights we prayed with no proof anyone could hear, we were moving moutains long before we knew we could !
Yet now i'm standing here, although we know there's much to fear, hope seems like summer bird too swiftly flown away ...
There can be miracles! When you believe, though hope is frail, it's hard to kill !
Who knows what miracles, you can achieve! When you believe, somehow you will ...
YOU WILL WHEN YOU BELIEVE
|
|
|
|