|
I believe so, but it depends on the API you use to create it. Be careful though - creating a file does not mean you can use it. For example, I used a video ripper that allowed me to create an AVI greater than 2 Gig, but nothing would play it, or load it to convert to MPG.
Christian
As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.
Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
|
|
|
|
|
hi
Thanks my pal.
If I use "CreateFile", is there still a size limit?
Best regards.
Maer
|
|
|
|
|
I *think* so, but I know from reading here, not from doing it myself.
Christian
As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.
Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
|
|
|
|
|
Thanks my pal.
You help a lot.
Best regards.
Maer
|
|
|
|
|
In the "OnCreate" funtion of the class "CInPlaceFrame" of a Server Application, there is a statement like this "m_dropTarget.Register(this)". Here are the comments from Microsoft:
// By default, it is a good idea to register a drop-target that does
// nothing with your frame window. This prevents drops from
// "falling through" to a container that supports drag-drop.
I can not see the funtion of the statement. If I remove the statement, my server application runs like before.
Maer
Thanks.
|
|
|
|
|
It depends on the container that is containing your Frame window. You may write a control that is supposed to work in one way, but because the control frame window does not act like a catch all for drop actions, the container window may change the behavior of your control. It really all depends on the container window.
|
|
|
|
|
It is well known that the data member "m_pDocTemplate" points to the CDocTemplate that owns the Document.
But in the CDocument::CDocument(), "m_pDocTemplate" is assigned a "NULL" value.
How does the "m_pDocTemplate" get its own value?
Thanks.
Maer
|
|
|
|
|
How to add "neighbour computer" on the LAN to the TreeView in my application? Like what the "Explorer" is doing.
Thanks.
Maer
|
|
|
|
|
Paolo Messina's CNetworkTreeCtrl ought to get you going.
Jon Sagara
Sagara Software
|
|
|
|
|
I've written an ATL dialog class CAddComputerDialog, which looks like a windows computer search dialog (e.g. in regedit where you can connect with another computer's registry). If you're interesting, I will mail you the files.
You also can search for a computer with the shell dialog "SHBrowseForFolder". This dialog can be configured to display computers only.
V.Boos
|
|
|
|
|
hi
My pal. Thanks.
If you can mail me the files, I will be very thankful.
Best regards.
Maer
|
|
|
|
|
Can anyone please tell me how to remove the thin border around my control in the formview.
alb
|
|
|
|
|
Hi,
I like to create my own window(in ovel shape). How to over ride the windows default rectangular window?
Thanks in Advance
Raja
|
|
|
|
|
Use following APIs:
BeginPath, EndPath, PathToRegion, SetWindowRgn
and shape functions.
Amiee
|
|
|
|
|
CFile myfile ;
LPCTSTR lpszFileName = "myfile.dat" ;
myfile.Open(lpszFileName,CFile::modeReadWrite) ;
It is safer to use this function within a TRY CATCH Block
Read or write using the CFile function
CFile::Read or CFile::Write
Close the file using CFile::Close;)
|
|
|
|
|
hello, im a beginner at using visual c++. ive a simple question to ask.
i want to know how to open a *.txt file from a certain directory when i click on a button. for example, when i click on the button [Open Text File] => the example.txt will be open with the notepad etc. post the code here or email me at 993269d@nyp.edu.sg if u know how - thank u for ur help. have a nice day!
regards,
kserv;)
|
|
|
|
|
|
i oso know! but cannot leh~
|
|
|
|
|
I don't understand - you're saying you know to use CFile but don't know how ? Here is the MSDN online, you can look up the syntax and examples there.
Christian
As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.
Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
|
|
|
|
|
Hi,all
I want to get local network info.
My system is win2000 and my connection to Network is well.But when I use WNetGetNetworkInformation(lpProvider,lpNetInfoStruct) to get Network info,lpNetInfoStruct.dwStatus is setted to WN_NO_NETWORK.
but if the environment is WIN98,it works well and can get correct network info.
why?
how can I solve it?
Thanks!
|
|
|
|
|
I have a component thingy for Borland C++ Builder or something like that. My question is: is there a way to convert this to ActiveX, or VC++ compatible class? I have the source for it but not C++ Builder.
-Matt Newman
|
|
|
|
|
Unfortunately not if you haven't got C++ builder
|
|
|
|
|
Hello;
In following code:
int twod_array[3][4] = { {1,2,3,4}, {5,6,7,8}, {9,10,11,12} };
int (*ptr2array)[4];
ptr2array = twod_array;
(1) int (*ptr2array)[3][4] generating error why?
(2) I'm getting 4 row and all addresses are same in ptr2array. So why?
When should i use pointer to array?
|
|
|
|
|
You're generating an array of pointers. You need to go
int * pArray = new int[3][4];
to get a pointer to an array.
Christian
As I learn the innermost secrets of those around me, they reward me in many ways to keep quiet.
Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
|
|
|
|
|
But, when shold i use pointer to array?
|
|
|
|