|
m_mor wrote: but i don't know any thing about this .
Atleast tell me what are you using? HTML?
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
this program is a section of another progeram that writen with c++.net .
computer
|
|
|
|
|
m_mor wrote: writen with c++.net
Huh? But how are you capturing right click event within IE? You have written a COM addin or something? Or is that you are yet to do it?
2+2=5, for very large values of 2/font>
|
|
|
|
|
Do You want to create popup menu in ur application?
The secret of life is not enjoyment
but education through experience.
- Swami Vivekananda.
|
|
|
|
|
Hello comunity,
is there any way to check the codepage from an html file?
regards
break;
|
|
|
|
|
Hi,
It depends on the way you want to do it.
If you want to check it as a file, then you could create simple parser looking for meta tags and codepage param.
Regards
|
|
|
|
|
Hello,
its a html file, i download the file content and i use a litle funcion and search for "charset=" inside of content!
I have think there is more useful funktion for this..?
regards
break;
|
|
|
|
|
I m working in Image processing in VC++6.00,i want to ask that in Dialog based application in Vc++ is it possible to display image and if possible then how ?
Plz help me
|
|
|
|
|
Please have a look at This article[^]
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
This one, generally rules in simplicity.
|
|
|
|
|
Check out GDI+ from Microsoft
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
Open your image with CImage class or another classes and then use of WM_PAINT or WM_ERASEBKGND for show it.
|
|
|
|
|
there are tons of different image processing toolkits out there.
google can help.
|
|
|
|
|
Hello,
I've created an application that uses a library (.lib) which someone has provided for me. When I link this library I get a warning telling me that no debug information is available.
For example:
test.lib(test.obj) : warning LNK4204: 'vc70.pdb' is missing debugging information for referencing module; linking object as if no debug info
It's cool that the debug information is not present in the library as it's expected but I'm the type of guy that likes my code to compile without errors or warnings and I cannot find a way to surpress this.
Does anyone have any suggestions?
|
|
|
|
|
|
Thanks for the response but unfortunately that's not quite what I'm looking for. The compiler options you were suggesting by your post where to 'generate' the debug information but as I'm using a pre-compiled library (which I cannot compile myself) the options don't surpress the warnings.
Can the link warnings be surpressed in some way like a compiler warning?
Example warning surpression for compiler warnings:
#pragma warning( disable : xxxx )
|
|
|
|
|
the DLL were built in release mode, when you are linking it to a project compiled in debug mode ?
|
|
|
|
|
I'm linking the libraries correctly with respect to the configuration type.
I think the problem is because the debug information has been forceably stripped from the library I'm using. This doesn't matter as I don't need it but it doesn't make the compilation clean & tidy.
|
|
|
|
|
if I have the following variables setup,
typedef std::list< tDevice * > tDeviceList ;
tDeviceList m_devices;
pDev = new tDevice ;
m_devices.push_back( pDev ) ;
how to delete the memory of pDev and/or m_devices?
ccp
PS I'm using Visual C++ 6.0
|
|
|
|
|
When you are done using a pointer in the std::list, pop the value the call delete on it.
|
|
|
|
|
tDeviceList::iterator iter;
for (iter = m_devices.begin(); iter != m_devices.end(); iter++) {
delete *iter;
}
m_devices.clear();
|
|
|
|
|
ccp999 wrote: typedef std::list< tDevice * > tDeviceList ;
It would probably be better to use a smart-pointer like boost[^]::shared_ptr[^] in your list.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
I don't know much about the Smart-pointer. Why is it better?
ccp
|
|
|
|
|
ccp999 wrote: I don't know much about the Smart-pointer. Why is it better?
When it goes out of scope, it automatically deletes the memory it points to, but only if no other smart-pointer points to it.
Just note that the std::auto_ptr which comes with the STL ist something different and unusable for this purpose.
The best implemetation I know of is that at www.boost.org[^]
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
- Root
|-- + Item1
<------File test.xml------->
|-- * Node0........
|---- Item2
|-- o Node1........
| |---- test1
| |---- test1
| |---- test1
+ Example
+ End
1.<------Node------->
Custom item, full of the row. The width of the row is a variable.
The item can't be click, drap&drop, delete and act.
2.|-- o Node1.......
The "o", in front of Node1 is a custom icon, which is a "+" as usual for expanded a item. Not all of icon is changed, only for specifically type.
The "......" behind "Node1" is a line full of the row.
------------------------------------------------
At the end, I'm sorry for my badly English
I'm coding.I'm living
|
|
|
|