|
Or, alternately, ::MoveFile(...) ...
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|
|
How can hide my app in put an icon on the taskbar?
BTW: for some of you that wished for CodeProject irc server
I create a channle on DalNet called "#CodeProject "
|
|
|
|
|
|
does any one know how can I use the text-to-speech engine ?
BTW: for some of you that wished for CodeProject irc server
I create a channle on DalNet called "#CodeProject "
|
|
|
|
|
|
Simple Question. Does the CRuntimeClass and the CObject::IsKindOf function support a class structure with Multiple Inheritance?
Joel Holdsworth - the vest from the west
|
|
|
|
|
|
I was following an article on MSDN about the common controls and new features in them but unfortunatly, when I try to use some of the newest features (like chevrons in toolbars), the compiler basicly says that it can't find the style that I am requesting.
Do I need any updated libraries to use these new features and if so, where can I download them from???
Thanks,
James Bird - birdjames@bigfoot.com
|
|
|
|
|
Download the Platform SDK from the MSDN-Homepage.
You will find it somewhere at msdn.microsoft.com
|
|
|
|
|
|
Hi
I just read the article about how to add a deskband to the InternetExplorer.
But this is not the thing I want to do.
I just want to add a button to the IE-Toolbar (e.g. like the downloadmanager "FlashGet" does)
I want ti execute my own code when the user clicks on this button (i.e. open a diaog-box or similiar things)
How can I achieve this?
thanks in advance
|
|
|
|
|
Is it possible to create, open, use, close and delete a FILE in memory, without flushing to disk?
|
|
|
|
|
i don't think so. but if you use Windows HANDLEs (CreateFile and friends) you can use memory or file based I/O transparently.
-c
------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
|
|
|
|
|
Maybe the only way is the FILE_ATTRIBUTE_TEMPORARY flag; probably the same than tmpfile() .
How long can I keep the file open before the OS flushes?
|
|
|
|
|
How can I read from a file?
for Example I have a file = test.txt
and than... I have a string
and now I want that the text from my test.txt file be copied in my String;
how can I do this?
is this the right way?
CString str;
CFile file("test.txt", CFile::modeRead);
file.Read( ... and then?
MessageBox(str); // to se what is in the test.txt
|
|
|
|
|
Go and buy a book about the C/C++ programming language.
|
|
|
|
|
If it's just a text file try using CStdioFile and calling the method ReadString
CString str;
CStdioFile file("test.txt", CFile::modeRead);
file.ReadString(str);
MessageBox(str);
Michael
|
|
|
|
|
thank you!
|
|
|
|
|
What is the best way to handle BLOB in automation interface? IStream seems to be a good candidate, anything different?
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
Hello,
I am writing a program that access a MSSQL 2000 3 times, in a windows 2000 evirenoment.
The problem is that the dbopen() function fails randomly in one of the 3 times it tries to open the database the error says:
DB-LIBRARY error:
NULL DBPROCESS pointer encoutred.
it happens that sometimes the program runs without errors.
the same program was running before on a windows NT4 /MSSQL 7 without problems.
|
|
|
|
|
Hi ,
I have a dll , which displays a dialog box. and I need to
invoke this dialog through a HTML page. There would be a
string send from the HTML to the dialog , and after processing, from the Dialog back to the HTML page.
Can someone please tell how can I achieve this.
Thanks
Sanksy ;-D
sp
|
|
|
|
|
Ordinary DLLs are not normally used, at least not easily in IE. Convert it to a COM server or write a simple COM server to access the DLL.
Best regards,
Paul.
Paul Selormey, Bsc (Elect Eng), MSc (Mobile Communication) is currently Windows open source developer in Japan, and open for programming contract anywhere!
|
|
|
|
|
I'm assuming the DLL is installed client side and not on the server.
You could create a COM DLL and launch the COM object from the VBScript/JavaScript with CreateObject
or you could possible using an ATL composite control and embed the dialog in the HTML page.
Michael
|
|
|
|
|
Thanks for the help.
If the DLL happens to be a Normal DLL, so in such case how
do I handle it?
Thanks -n- Regards,
sanjay
|
|
|
|
|
You'll need to write a COM wrapper DLL which calls your DLL functions. The ATL wizard will generate a simple com object, add a method called ShowDialog and then put the call to the DLL in the generated function.
It's a bit of a hack but should allow you to call your DLL from a HTML page.
Michael
|
|
|
|