|
I am having a problem with non-overlapping child windows in an application that is non SDI or MDI. I am able to create 2 child windows in the parent window.(very much like splitter windows, but I have not used splitter windows, since I have other problems with it). However, when I try to popup a dialog box, it goes into a "loop", trying to figureout which window is on top, and trying to send some message such as OnPaint()to it.
Thanks,
raghu
|
|
|
|
|
..., how?
For example, I have a IWebBrowser2 control in my application, I want to replace some (read - any) image in HTML page with my image in memory.
I know, I can replace (load) HTML code itself from memory (using IStream ), but what about images and other things (Flash, sounds - all should be same I guess)?
If someone knows the answer, or maybe a hint, place where to look and what to look for, please answer.
Thanx,
Philip Patrick
"Two beer or not two beer?" (Shakesbeer)
Web-site: www.saintopatrick.com
|
|
|
|
|
How do I read pixel data from a series of 2D images using openGL. I need to use the 2D slices to reconstruct a 3D model. Any suggestions on how to proceed?
|
|
|
|
|
I have just finished making a dll that all my programs will lnk to, i want to make an appwizard so that the dll is automatically put into the same folder as the project, but when I went to create the appwizard, the option was not on the list (vc++6). I recently reformatted my C drive and installed vs.
I swear I could do that before.
==================================================
When Your Mind Wonders...Where Does It Go???
|
|
|
|
|
Did you re-install the Service Pack?
- Greatest invention : "The Microchip!"
|
|
|
|
|
Hi
I've written a shell extension that uses the undocumented features described by Henk Devos in his excellent article here on cp. I use ShellCreateFolderViewEx.
Everything is fine when 2000 is the os, but on XP, I must select entries with different heights in the tree control to force an update. If I select sibling items, nothing is updated. Anyone who has had this problem (and solved it)?
|
|
|
|
|
I work with bitonal (TIFF g4) images on a daily basis.
I have seen products that will allow you to open a bitonal image and then "enhance" it by converting it (in memory) to grayscale.
Does anyone know how to go about doing this? I imagine that it isn't rocket science, but I don't feel like re-inventing the wheel if I don't have to!
THANKS!
Thomas
|
|
|
|
|
|
Hi,
I need to save a CBitmap in a bmp file, how can I do this... I found how to do it with dib, but I never found how to do it from a CBitmap... Any help is welcome...
Thanks
Guillaume Frechette
|
|
|
|
|
If you are comfortable with DIBs, use (for instance) Chris Maunder's DIBSection wrapper for Win32 and WinCE to construct DIBs from CBitmap s.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
i'm sure c++ is very powerful, i would like to develop datadrive web applications using c++, is that possible? and would it be hard? i'm planning to use asp.net as my scripting language. instead of using C# or vb.net i would like to use c++. is there any refrence i could find out on the web?
thanks in advance.
Januola Likas Jun
|
|
|
|
|
You can do it via an ISAPI... You can find more explanation on this site in Web/Script (ISAPI)... It's easy to start an ISAPI in Visual C++... In new project choose ISAPI Extension wizard... Good Luck
|
|
|
|
|
As Guillaume pointed out, ISAPI is an option. Also, if you want to stay platform agnostic (ISAPI is mostly a Microsoft technology) you can always go for raw CGI. This spec is how all the dynamic content thing started some 10 years ago. Any CGI tutorial on the net should get you started. If you want some additional support for developing CGIs, search for CGI libraries (I've used in the past Stephen F. Booth's cgicc).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Of course, ISAPI is the way to go. On the other hand, you may want to try a new technology, called ATL Server (there is an article on it on CP). ATL Server is based on ISAPI, but it should ease the server-side programming.
I vote pro drink
|
|
|
|
|
would ISAPI dll's run on the unix apache severs?
==================================================
When Your Mind Wonders...Where Does It Go???
|
|
|
|
|
No. For Apache, you can develop modules in C/C++, but it seems to be a little more complicated than ISAPI.
I vote pro drink
|
|
|
|
|
If you are planning on using ASP.NET why not go with C# or VB.NET??
There are some good examples on this site dealing with datadriven web applications.
|
|
|
|
|
Indeed. Passing the Server, Session, Response, And Request objects around is far easier if you stick to one language. Plus, the caching engine in asp.net will be of more help.
// Rock
|
|
|
|
|
Hi,
I'm developping a COM application and I some problems have been appeared.
My application is called by a macro from the WinWord, some Dll's works but the Dll that has to show a dialog doesn't work.
I think my problem is with some Dll's from the system, because when VC++ is installed, or was installed, my application works perfectly. But I don't know how can I solve the problem.
So if someone can help, please send me an e-mail.
Thanks.
Otávio
otavio.romao@inatel.br
|
|
|
|
|
This gets answered at Mike Dunn's C++ FAQ (at the top of the page).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Make up your mind what forum you want answered in. Your title says COM problem, not Visual C++ problem. Posting ONCE to the appropriate forum will get you a better response.
|
|
|
|
|
My application has problem with VC++ too. It has some dependences which I still didn't find.
The application works in machines that already had or have the VC++ installed. So I think there're some files that are needed to execute the application, and I thought someone could help.
|
|
|
|
|
I posted something here before and got some helpful starts to Enum directories using FindfirstFile and FindNextFile etc. However, when I try this, it does not really do what I want. It looks for files OK but not directories.
Say I have a "d:\\Coil\\" directory. When I look for "d:\\coil\\*.*" underneath, it finds nothing. I can not locate any directories under it.
What I need to do is to erase directories that is no longer needed every so often (time based). Every director represent a day's worth of files. I want to erase old directories once it passes say 10 days.
Also, when I erase directories, it must be empty (so says MSDN and from what I have tried). Is there an easy way to just erase everything in the directory?
Thanks in advance.
|
|
|
|
|
Did you try "d:\\coil\\*" ?
|
|
|
|
|
Use FindFirstFile("D:\\coil\\*");
Regards...
There are two ways to write error-free programs; only the third one works.
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|