|
If you're just creating a document, then just concatenate strings, it's not worth the hassle of getting a DOM object going.
Christian Graus - C++ MVP
|
|
|
|
|
Anybody knows any sites/links/articles on developing eVC++ SDK (NOT MFC)applications??
|
|
|
|
|
It's pretty much the same as developing an SDK-based application for desktop/server Windows. You will often find, however, that various functions were omitted from Windows CE as they are redundant: for example, MoveToEx and LineTo were omitted in favour of PolyLine . This was done to reduce the size of the kernel image.
The C runtime is missing a lot of functions and as such can't really be counted as a standard-compliant C implementation. Again, this was done where there was a more useful Win32 alternative.
On the whole, though, techniques for desktop Windows development are directly applicable to Windows CE/Windows Mobile programming.
|
|
|
|
|
Hi,
actually i know that creating a UI-Thread can make problems with all the messages between the Main-GUI-Thread and the Child-GUI-Thread.
But is it generally unused? How many software uses the architecture that all GUI runs in the Main-Thread and the logic in Worker-Threads?
Thanks
|
|
|
|
|
Are you expressing a point or are you actually asking a question? Nevertheless, IMHO, you can create many useful programs without creating so called Child-GUI-Threads. However, I have personally encountered many situations where the Child-GUI-Threads were needed to improve the responsiveness of an application.
|
|
|
|
|
It was a question if my point of view is right
My project works now with WorkerThreads, but i think personally that each Child should be
a Thread, but i don't change my running project to have in futur problems with the Messages...
But thanks !
|
|
|
|
|
Hello friends,
I have an application for VC++ 6.0. This application creates an exe. I want to convert this application, so that the output is win32 dll. Whether i have to change some project settings or i have to modify the code. Please help me in doing so.
Thanks
Datta
|
|
|
|
|
There is no direct way to convert an exe to a dll.
What you need to do is create a new dll project and then copy/paste the functions you need.
|
|
|
|
|
Hi.
1- How do you define the Height of a tree?
Do you count each and every node (and not the path/links) from the root to the outmost/furthest leaf?
2- How can you mathematically prove that #of leaf nodes in any binary tree is one more than the #of nodes with degree 2?
Any help or tips will be greatly appreciated.
|
|
|
|
|
HondaCBR600 wrote: 1- How do you define the Height of a tree?
Do you count each and every node (and not the path/links) from the root to the outmost/furthest leaf?
It's actually one less than this, since a tree with only a root node has a height of 0.
HondaCBR600 wrote: 2- How can you mathematically prove that #of leaf nodes in any binary tree is one more than the #of nodes with degree 2?
Take the most basic binary tree with only a root node. It therefore has, at most, two leaf nodes.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
i i had problem in accessing data from memory.i had used two method to read image file from disk one is
1.reading byte by byte or structure but this method is slow as i had to read the whole image byte by byte and it will take lot of time.
2.Through second method i m reading the whole image once not like byte by byte as method 1. i.e
file.read(buffer,filesize);//reading the whole image at once.
now i m displaying data from from both method method 1 give good results but when i try to display data readed in memory through second method it did not worked it show dummy data.
Both these exe are seperate application.When i save the data readed through second method in file then it save and work fine.the only problem is displaying/accessing
The purpose of reading from memory n displaying was that i want to confirm that bitmaps is correctaly copied in memory, and purpose of displaying through cout<< was that i m varified that both outputs are same, and if i perform the operations like changing its bits from memory then get the correct bits to change.
Tasleem Arif
|
|
|
|
|
I thinks that read function has limit in term of number of bytes, so don't read whole image at once, but read in size of 10000-20000 bytes
file.read(buffer,size)
buffer=buffer+size
use this way and let me know wht happens
Subhash jain (Sundyne Technologies pvt. ltd.- 604,B wing,Trade world Lower parel Mumbai)
|
|
|
|
|
Hi all.
I am David and I have bitmap photo of the wall, and I wont to set it like wall in 3D how can I do it, in other words I have flat and wont to rotate it in 3D.
[flat is (x';y') and 3D is (x;y;z), I wont to rotate (x';y') in (x;y;z)]
I wont affect like I am wake and near is wall.
What I must do for it, if you know some algorithm tell me ware I can find it.
(I have not problem with math and time is not problem too)
thanks for any help [it all will useful].
|
|
|
|
|
Dream on. You can take a 2D image and turn it to 3D, you just don't have enough info. You can hazard a guess based on edge detection, I suppose...
Christian Graus - C++ MVP
|
|
|
|
|
Have a look at the different algorithms for Texture Mapping and/or Bump Mapping .
|
|
|
|
|
Can somebody help me in this ..
i need to get the size of the file in my FTp client application in MFC also i need to get the data bytes tranferred while uploading or downloading from FTP server ..
Which API is suitable..
Thanks
Shikha
|
|
|
|
|
u can read or write file from ftp by using wininet.h .
InternetReadFile(, , , ) function gives the number of bytes read.
|
|
|
|
|
thanks for reply....
i just check it out ...
Thanks
Shikha
|
|
|
|
|
Let me know that work or not.I made the project which downloads the file from ftp server and shows the progress in progressbar.I can guide u further
|
|
|
|
|
Hi,
I am looking for a free tool to run on Windows XP which can sniff & parse the packets captured on a particular windows Socket.
the tool I look for not to use the Mac to capture packets.
I need to capture & parse the packets transferred between 2 process over the windows socket on the same machine, ie, without splitting them over 2 machines on LAN.
I am aware of ethereal but it captures over the mac layer.
Windump doesn't parse & display the packets only shows the traffic info
Kindly suggest any other free tool
Thanks,
|
|
|
|
|
By MAC I thought you meant Macintosh and your post made no sense!
Anyway I wish I could help. I was going to suggest ethereal
|
|
|
|
|
hi
i contact with a exe then when Execution,task manager show 2 process with similar path and name
i thought the exe used from crate process function,but this function needed
path and file name.
in this function when i pass curent file name,my aplication encounter with endless loop.
how can i do it?
|
|
|
|
|
Can you be more specific I guess you have a problem,if its a problem can you show your code that has problem
|
|
|
|
|
i want an idea for implement projtct that can execute in 2 process.
for example we have a simple project,we add createprocess function in the it.
for using this function we must send a path to it.
i want pass simple project name to it.in this case encounter with endless loop.
|
|
|
|
|
It sounds like you're going to need a full path to differentiate between the two files.
Or you could change the name of one of them
|
|
|
|