|
Hi,
How to convert string to Hexadecimal value and vice versa?
thanx
thanx
|
|
|
|
|
as i don't really understand your question, my answer is probably off-topic... if so, please reformulate better.
did you try sscanf() with %X in the format ?
CString str = <font color=#808080>"5F6A"</font>;
<font color=#0000FF>int</font> i = 0;
sscanf((LPCTSTR)str, <font color=#808080>"%X"</font>, &i);
ASSERT(i == 0x5F6A);
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi All,
How to generate xml file from vc++ .
|
|
|
|
|
Hi All,
How to generate xml file from vc++ .
|
|
|
|
|
|
does Windows support raw sockets like LINUX? if yes,.. suggest some reading links..
if no, how is Winpcap implented then
|
|
|
|
|
I know for sure that raw sockets are available on Windows 2000 and above.
Have you tried MSDN[^]
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
Hi all,
I want to create a function that returns for each
element in something...
For example like an enum and callback function(for example:
EnumWindows and etc.) for each section in an INI file I want
my function call a callback function...OK?
And I have another question:
What is SDK?(Any article for beginners?)
Best Wishes,
Thanks.
|
|
|
|
|
u can refer to the site microsoft.com for details on SDK...
i dont know the exact link....u vil have to search on the home page
|
|
|
|
|
javad_2005 wrote:
What is SDK?(Any article for beginners?)
SDK stands for Software Development Kit. Any manufacturer can provide SDKs for its products. They consist of libraries of functions that perform particular tasks. You can use them in your own applications.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
Hi,
Am a systems programmer.
I just wanted to know a sample code in c/c++ which can be compiled in vc++ environment.
The code sould be able to accept just the DSN username and password and should be able to connect to the database.
And the possible APIs that can be used for result sets,
using and executing queries.
|
|
|
|
|
First create a working DSN using the ODBC applet in Control Panel. Then use AppWizard to create a new SDI (or MDI) project. When asked for database support, select the DSN that you just created. All the right files and classes will be created for you.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
i create pipes between 2 windows applications.
stdout and stderr work well, but stdin doesn't.
i try ::ReadFile(stdin,...) in side a thread, the function failed.
any comments (hope samples).
note: communications are between 2 windows apps, i saw many dos samples, but i think they may not work in windows env.
thx
includeh10
|
|
|
|
|
As using RemoveDirectory(),we can only delete empty dir,how should i proceed to delete a directory including its subdirectories and files.Please help..
|
|
|
|
|
Remarks from RemoveDirectory MSDN docs:
To recursively delete the files in a directory, use the SHFileOperation function.
|
|
|
|
|
Did suhredayan not answer this for you yesterday?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
|
Hello,
I want to create a functions that can return three or 4 or ... times. Like an
Enum function.Just Like enumWindows that for each window returns.
Best Wishes,
Thanks.
|
|
|
|
|
If you are refering to call back functions as it seems, its not returning 3 or 4 times. Instead your registered call back function is called 3 or 4 times using the function pointer you passed to it as a parameter.
suhredayan There is no spoon.
|
|
|
|
|
|
javad_2005 wrote:
Yes I want that...
Don worry, Here I am. Tell me your wish, but a bit loud.
suhredayan There is no spoon.
|
|
|
|
|
i want to delete the subdirectories and files of a directory.Using removeDirectory() only empty directories
can be deleted.How should i proceed?please help..
|
|
|
|
|
check out SHFileOperation().
suhredayan There is no spoon.
|
|
|
|
|
Hi all:
I have a tree control which has no special attributes. But when I added the files "1.wma" or "34.wma"(all the files which has a numerical file name) later it turned out to be "wma.1" and "wma.34" appearing in the tree items, but the physical name within file system still the same, like "1.wma".... It seems all the file name get swapped between names and extensions, but the file without numerical name can be displayed correctly.
I tried very carefully to look this codes into details but still don't go much far. I doubt whether the specific tree control attribute should be removed or added?
Thanks for viewing and anwering!
|
|
|
|
|
Hello
to all of u
i am using api DNSQUERY to get the version of database of main.cvd and daily.cvd files of clamav(antivirus) from current.cvd.clamav.net
i am getting the correct remote version but this api is not supported by windows 98 so please tell me any api or any other way how can i get the result on win 98 also
Thanks in advance
ankit
|
|
|
|