|
how to check if a a handle - file handle, pipe handle, thread handle etc - is available?
thx
includeh10
|
|
|
|
|
|
How can i change my window into arabic style ?
which means by default the window is left to right change it to right to left
Manikandan Balachandran
|
|
|
|
|
I have installed .NET but it seems to be running alot slower than 6.0 did. Is there a way of speeding it up??
Also, how do I get the class view, resource view and solution explorer as one view. They are all separate at the moment..
Thanks,
grahamoj.
|
|
|
|
|
grahamoj wrote:
Also, how do I get the class view, resource view and solution explorer as one view. They are all separate at the moment..
Drag the windows which are separately (docked?) to the place where you want them to be, f.i. drag the resource view over the place where the tab of class view is situated.
We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve
|
|
|
|
|
grahamoj wrote:
I have installed .NET but it seems to be running alot slower than 6.0 did. Is there a way of speeding it up??
VS.NET consumes much more memory than VS6, that is something you need to get used to, but don't say you were not warned, review the system requirements and recommondations for VS.NET, they are high.
I turn-off Dynamic Help, I think that might help a little.
R.Bischoff | C++
.NET, Kommst du mit?
|
|
|
|
|
Hello,
I am soon going to be sending some major projects for translation.
In my situation, development and translation happen in parallel.
This means that sometimes by the time the translated resources arrive, there would already be changes to the original resources.
I need a solution to track these sort of changes automatically, and aid me as much as possible with the process.
Does anyone have any experiences he could share?
Are there tools available for this?
Thanks
Jeremy Pullicino
C++ Developer
Homepage
|
|
|
|
|
I use Visual Translate from www.alshare.com. Its a dictionary based translation tool, so you can develop and translate parallel. The worst case you got,is that some new resources are not translated and appear in the original language....
bb |~ bb
|
|
|
|
|
I had a look at the website, it looks like it is no longer available, states development may restart later.
If I have seen further it is by standing on the shoulders of Giants. - Isaac Newton 1676
|
|
|
|
|
I'm calling COleClientItem::UpdateLink to update my documents OLE items. These items can be sized (scaled) by the user, but when I call UpdateLink the object is scaled to it's original / actual size. Is there a way to prevent the automatic size updating? Or is there a work around? I tried the following
CSize size;
pItem->GetExtent(&size);
pItem->UpdateLink();
pItem->SetSize(size); But this requires the object to be activated (running), and my UpdateLink call has to be made when my document is opened, hence I don't want to have to have each object activated to update it/maintain it's size, just to deactivate it.
Dylan
|
|
|
|
|
|
I believe wchar_t is ANSI type. In fact according to MSDN wcscpy is ANSI compatible function.
|
|
|
|
|
In JavaScript you can determine if ActiveX is enabled, I have been trying to find a way to do this through VC++ but cannot find any information. I dont want to implement it as a hidden browser running JavaScript and then checking the result from the C++, there must be someway from C++ to do it directly. I would think the setting would be stored in the registry somewhere. Any help is appreciated.....
|
|
|
|
|
Hi,
I need to create an application that CREATES an MS Access table everytime it is executed, (with the data read from some files, no problem here), and offer the possibility to save it in the hard disk as .mdb.
I use VC++ 6.0
any ideas?
Thanks so much.
F
|
|
|
|
|
Look at the CDao* classes, which will let you do that (among other things).
Steve S
[This signature space available for rent]
|
|
|
|
|
What about CDatabase? How different are CDao and CDatabase? When should I use one or the other?
thanks!
F
|
|
|
|
|
If you only want to write a new Access database, then CDao* is your best option. Otherwise you get into an additional layer (ODBC) and having to figure out how to create your database that way, whereas doing it using the CDao objects is much simpler.
CDatabase is generic ODBC database access.
CDao is DAO specific, which can use ODBC as well (just to be confusing).
If you were thinking of using CDatabase, you might want to look OLE DB instead...
Steve S
[This signature space available for rent]
|
|
|
|
|
Okay, thanks.
Where could I learn to use CDao? Are there some basic samples of table CREATION?
(Remember I want to create a table and save it in a .mdb)
Thanks
|
|
|
|
|
From article:
http://www.codeproject.com/dll/plug-in.asp#xx88311xx
Serialize problem only appear with VC7.0,it works fine with vc6.0.
I have been somewhat successful in trying to implement serialization for my test app. I am using a CList template to store objects. Here are a few
details...
Serialization works just fine for documents saved and reloaded during a given session. This includes data stored in dialog resources. This is as long as I serialize the list then walk through the list, serializing each list object.
However, Serialization fails after closing the session and then reopening. In general, I am given only the {DllProxy} class (where I should be getting my dll's runtime class instead) and all other vars are mud.
I AM able to successfully serialize save/load a list of the DLLProxy "pointers" themselves with great fidelity. But the Plug_Object "pointers" that they originally created are lost from session-to-session.
Thanks and Best Regards
|
|
|
|
|
since this is a question about a specific article, have you asked this question on the article itself???
-c
When history comes, it always takes you by surprise.
|
|
|
|
|
Question is simple but mystic.
Why calling SuspendThread inside overloaded Run function of CWinThread-based class dont pause thread execution ??
Does anyone khow ?
WBR NB
|
|
|
|
|
Hello,
Is there any way to make a duplicate CDaoRecordset object of exist CDaoRecordset object ?
Regards,
|
|
|
|
|
When I use the RegSetValueEx API function to write a string (REG_SZ ) to the registry, have I also write the NULL terminator to the registry?
What of the following source codes are right?
1.) without the '\0'
RegSetValueEx(hKey, _T("File"), 0, REG_SZ, (LPBYTE)(LPCTSTR) str, str.GetLength() * sizeof(TCHAR));
or 2.) including the '\0'
RegSetValueEx(hKey, _T("File"), 0, REG_SZ, (LPBYTE)(LPCTSTR) str, (str.GetLength() + 1) * sizeof(TCHAR));
PS: The code is for a Pocket PC application -> UNICODE!
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
The first one.
#include <beer.h>
|
|
|
|
|
I found another information in the MSDN doc:
<br />
LONG RegSetValueEx( <br />
HKEY hKey, <br />
LPCWSTR lpValueName, <br />
DWORD Reserved, <br />
DWORD dwType, <br />
const BYTE *lpData, <br />
DWORD cbData ); <br />
...
cbData
[in] Specifies the size, in bytes, of the information pointed to by the lpData parameter. If the data is of type REG_SZ, REG_EXPAND_SZ, or REG_MULTI_SZ, cbData must include the size of the terminating null character. The maximum size of data allowed in Windows CE is 4 KB.
Daniel
---------------------------
Never change a running system!
|
|
|
|