|
I m saying about boot Sector Information.
|
|
|
|
|
Such as?
Have you looked at the Win32_LogicalDisk , Win32_DiskDrive , and Win32_BIOS classes?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
How to create a virtual lan using sockets?
|
|
|
|
|
What are your requirements? Aren't VLANs IP based (one OSI level under TCP/UDP sockets)... maybe you want to hook in at a lower level than sockets?
|
|
|
|
|
This is out of shear curiosity. There are large number of gamers who
play lan based games using GG-framework. Even I play Warcraft with
other guys on internet.
But GG (Now Garena) client software does not seem to add any adapter or
driver for creating the virtual lan. I used netstat to find out, there
are two 'ESTABLISHED' TCP connections when I log in to GG.
When one logs in to GG, one has to start the game through this client and viola! one can see all the game servers and one can play as if the other guys are on lan with him.
How this is possible? Anyone got ideas?
And whats port forwarding?
|
|
|
|
|
Hi, i'm searching for a way to transfer data with sockets via the internet. At the moment my applic can only communicate with sockets via the Lan (Peer2Peer). Which is the way to connect two PCs themselves via the internet?
Sorry for my bad english...
|
|
|
|
|
FabS7 wrote: Hi, i'm searching for a way to transfer data with sockets via the internet. At the moment my applic can only communicate with sockets via the Lan (Peer2Peer).
Sounds you are on the right way. I suggest to start a new message in this forum.
|
|
|
|
|
very interesting
|
|
|
|
|
Hi,
We are in a need to develop a text file (VCD - Value Change Dump File) parser. Can anyone suggest which parser generator tool we can use for writing the parser?
Thank you in advance,
With Regards,
Sangeetha.
|
|
|
|
|
|
If Spirit is bit rich for you, you might Google for Bison and Flex the Win32 ports of the classic Yacc and Lex tools from GNU. I used them a few years ago to write a SQL parser so they're plenty capable. You'll need to understand EBNF but that's not going to be stretch.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Traditionally Linux have good tools for text file parsing (for instance awk ) On the other hand, if you were confident with Linux probably you did not post that question.
Another option maybe using one of the .NET languages since the framework features a powerful Regex class.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi,
Thank you all for you suggestions. I am learning about Spirit. I need to develop using Qt since our motive is to develop a cross-platform software. So the parser generator we choose should have the capability to cope up with this. So please suggest accordingly.
Thank you in Advance,
With Regards,
Sangeetha.
|
|
|
|
|
QT also has a Regex-Engine, if I am correctly informed. boost also has one.
You might get away with that. (Though I have no idea how complicted your file format is.)
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
Hi all,
I am having few files in a folder say temp folder and now i want to copy those files on desktop how to do so.... Files may be .exe,.dll or any kind of file....
I am not getting how to do this.
Thanks in advance
|
|
|
|
|
Use the SHFileOperation() function.
|
|
|
|
|
Can you just help me in how to use it
like i have made a object of SHFILEOPSTRUCT structure and passed value in this structure.
SHFILEOPSTRUCT obj;
now when i write this piece of code
SHFileOperation(obj);
It gives error
error C2664: 'SHFileOperationW' : cannot convert parameter 1 from 'SHFILEOPSTRUCT' to 'LPSHFILEOPSTRUCTW'
|
|
|
|
|
neha.agarwal27 wrote: SHFileOperation(obj);
For Wrapper class
http://www.codeproject.com/KB/shell/cshellfileop.aspx[^]
neha.agarwal27 wrote: SHFileOperation(obj);
It gives error
try
SHFileOperation(&obj);, it missing '& '
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/codeProject$$>
|
|
|
|
|
neha.agarwal27 wrote: SHFileOperation(obj);
You to to pass the address of obj not the object.
SHFileOperation( & obj);
|
|
|
|
|
After..... LONG time.... i win the race he he he.. Vunic/Tox are listening
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/codeProject$$>
|
|
|
|
|
Some times the e-mail notification system is slow.
|
|
|
|
|
I have a third party app that puts data on the clipboard in "Rich Text Format" (but not as an OLE object).
I want to paste that data into my COleDocument as an OLE object rendering RTF text. Anyone know how I do this?
I can use GetClipboardData to get a handle to the data, but then what?
I have a feeling I need to do something with COleDataObject and / or COleDataSource, but I can't figure it out (they seem to rely on the source putting an OLE object into the clipboard, which is not my situation).
Any help is much appreciated!
Cheers!
|
|
|
|
|
Sounds like you'll need to create the OLE object yourself on paste, insert it into the document and insert the data into it. Too many years since I've played with OLE Documents to give any more details I'm afraid.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
I'm currently studying C++ language.
I have the following codes in my program
int Hours;<br />
int Minutes;<br />
int Seconds;
The variable 'Hours' is used to store thr current hour.
The variable 'Minutes' is used to store the current minute.
The variable 'Seconds' is used to store the current second.
I want to set the above variables to the static computer time and will not be updated. How to do it?
Any reply will be appreciated.
|
|
|
|
|
use GetLocalTime() function to get the current time.
|
|
|
|