|
Why not mark it an answer if that really helped ?
|
|
|
|
|
Because it honestly didn't help.
What would help would be guidelines that assist me in the activity of creating updaters for ActiveX controls, etc.
Alon
|
|
|
|
|
What is your problem with restarting IE, all ActiveX controls (including those from Microsoft) are updated that way, it means there is no way to update the controls without restarting IE. Let me know if you find a way of doing it 
|
|
|
|
|
How do you measure the performance of your C++ perf-critical code ?
Are you relying on automatic profilers or do you resort, for particular reasons, to compile time methods ?
If today, profiling is still an issue to you, then I would announce to you the availablity of easy profiler at Code Project along with source code that you may give it a try for your needs.
URL :
<a href="http://www.codeproject.com/KB/cpp/easyprofiler.aspx">Easy Profiler - Compile-time Profiler for Unmanaged C++</a>[<a href="http://www.codeproject.com/KB/cpp/easyprofiler.aspx" target="_blank" title="New Window">^</a>]
Use the article-forum to raise any issue and I will be glad to help.
Easy Profiler : Now open source !
http://www.codeproject.com/KB/cpp/easyprofiler.aspx
modified on Friday, November 6, 2009 1:52 AM
|
|
|
|
|
|
message tye changed to "News" instead of "Question"
Easy Profiler : Now open source !
http://www.codeproject.com/KB/cpp/easyprofiler.aspx
|
|
|
|
|
I want to invoke exe(MFC without GUI) from windows service(COM Exe runs as service).
I am using CreateProcessAsUser and trying to invoke, it invokes(when it invokes i am writing log) but not visible in taskmanager.
I doubt that the exe is getting invoked under "SYSTEM" and that is the reason its not visible in taskmanager and nor it works(obvious).
But I want to invoke under "User"(who is logged in).
To do so I tried using LogonUser but it needs username and password of user who is logged in machine. That I cant access.
Please guide me or give me clue.
Requirement is: Exe should run under the user who is logged in.
Regards,
KTTransfer.
|
|
|
|
|
Interaction between services and user-objects is difficult to achieve and also it is not advised that you do it.
Note finally that there is a service property in the "connection tab" in the SCM interface that you may have to enable.
Good luck.
Easy Profiler : Now open source !
http://www.codeproject.com/KB/cpp/easyprofiler.aspx
|
|
|
|
|
My application uses a Word document template to develop a document. There is a table (1 row that I use for the table heading). I iterate through a datatable and add a row to the Word document table for each DataRow.
I would like to add another "heading" row to the table whenever the table crosses over to a new page. I haven't found a way to find page breaks or trap a "page break event". Is it possible to do what I want to do?
Gary Greenacre
|
|
|
|
|
To do that, you mark the header row as such by setting it's HeadingFOrmat property to True. See the documentation[^].
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hello
I'm using MS WUA api to update my computer.There are three formats patch(.exe .cab .psf) in my patch list.
I don't know what psf is. and how to install psf file. Most psf format patch files are sp patch For example, windows sp3 ,windows 2003 sp2.
I hope someone can help me answer this question.
Thanks.
Ivan
|
|
|
|
|
bingxuefly wrote: I don't know what psf is.
Try Google.
|
|
|
|
|
I have searched google, but there is no useful information.
|
|
|
|
|
bingxuefly wrote: I have searched google, but there is no useful information.
I find that difficult to understand. When I search Google for "PSF file" it returns a number of hits, the first one being a definition of PSF and other file types.
|
|
|
|
|
I have added two functions to existing COM EXE which runs as Service.
But while calling those functions from another application I am getting unhandled exception like:
Unhandled exception at 0x00000000 in xxx.exe: 0xC0000005: Access violation.
Existing functions are getting called but only new functions are not working.
I have added functions to xxx.idl and implemented in another application by including the header generated after building.
I am trying to unregister old COM EXE but its not.
Please give me clue to sort out the issue.
I am new to COM, please let me know any further info is required to look in this issue.
Regards,
KTTransfer.
modified on Monday, November 2, 2009 5:26 AM
|
|
|
|
|
You have to add this two functions to the end of your interface
|
|
|
|
|
KTTransfer wrote: I have added two functions to existing COM EXE which runs as Service.
You are most likely breaking one important rule of COM: Interfaces are immutable. Once assigned an IID and published, no element of the interface definition may change..
Read more here[^].
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Hi,
Does anyone know how to capture a users webcam video and send it to a publishing point on a server running windows media services ??
Phil.
|
|
|
|
|
I guess you need a Directshow filter graph to do it. :
capture the video, compress then stream it using RTP ...
ActiveX - based solution...no I don't know. (Note that the solution does not need to render the flow locally, the issue is not dependent on some UI technology)
There is the Microsoft RTC (Real Time communication) that may interests you.
It implements SIP protocol so you may give it the address of a media relay point that in turn will broadcast the media data to its subscribers.
Good luck.
Easy Profiler : Now open source !
http://www.codeproject.com/KB/cpp/easyprofiler.aspx
|
|
|
|
|
Hi,
I need to capture the whole desktop frame buffer, process it and then have it displayed again or streamed.
The first questions is really how do I capture the DWM final result of the composition as an image?
Do I need to go down level to the driver layer? OR is there any API that could help me with this?
How does VNC does the job? Can DWM help me directly on this?
If anyone could give me a tip here, that would be wonderfull.
Thanks,
With my best regards,
Nuno
|
|
|
|
|
Wrong forum to post this question.
Anyway, desktop sharing tools like VNC are not very easy to implement.
Basically they split the screen into various sections and only stream the sections that have changed.
You can capture the entire screen using the API HDC hdc = ::CreateDC("DISPLAY", 0, 0, 0);
If hdc is saved to a file you can see the captured screen.
There could also be many other ways to do it.
|
|
|
|
|
I have calling Initialize function with these parameters
Initialize(this->GetDC(),200,200);
Unhandled exception occurred at: m_pBitmap->CreateCompatibleBitmap(pInputDC,width,height);
void Initialize(CDC* pInputDC,int width, int height)
{
CDC *m_pDC;
CBitmap* m_pBitmap;
m_pDC->CreateCompatibleDC(pInputDC);
m_pBitmap->CreateCompatibleBitmap(pInputDC, width, height);
m_pDC->SelectObject(m_pBitmap);
m_pDC->Rectangle(0,0,width,height);
}
This is shown in call stack when exception occurred:
mfc80ud.dll!CGdiObject::Attach(void * hObject=0xb90510f0) Line 1157 + 0x3 bytes
mfc80ud.dll!CBitmap::CreateCompatibleBitmap(CDC * pDC=0x004bf954, int nWidth=336, int nHeight=189) Line 251 + 0x25 bytes
AxGraph.ocx!CGraphCtrl::Initialize(CDC * pInputDC=0x004bf954, int width=336, int height=189) Line 27
|
|
|
|
|
What kind of exception is fired? Access Violation or something with more information?
And this->GetDC() is the DC of your window?
Greetings
Covean
|
|
|
|
|
m_pDC and m_pBitmap are not initialized.
Try
CDC *m_pDC = new CDC();
CBitmap* m_pBitmap = new CBitmap();
m_pDC->CreateCompatibleDC(pInputDC);
m_pBitmap->CreateCompatibleBitmap(pInputDC, width, height);
m_pDC->SelectObject(m_pBitmap);
m_pDC->Rectangle(0,0,width,height);
|
|
|
|
|
Hi:
I'm new to Windows COM programming. I was able to make a 64-bit app call a 32-bit COM server (out-of-process, exe) on 64-bit Vista, but not the other way around, the CoCreateInstance call in my 32-bit app failed with a return code 0x80029C4A (error loading type library/DLL).
Can this be done at all? Basically I just need the 32-bit app to send some request to the 64-bit server, and wait for the request to finish. The server should be able to send back a status code indicating whether there is any error.
Appreciate any help and suggestions.
|
|
|
|