|
My windows xp cd is haveing the code which i posted here only. But my xp cd is working fine. I just inserted this cd, I never selected the exe. Automatically CD is running.
Nice talking to you. If you judge people, you have no time to love them. -- Mother Teresa
|
|
|
|
|
i am using usb. but its not working. can you help me
|
|
|
|
|
Hi you may need to see the settings of your OS. Please check that once. see the message above posted by Mr.Prathuraj once.
prathuraj wrote: This is not something you can control. Autorun is a feature which users can select to disable or automate from within the OS. This is a security feature for the user.
Nice talking to you. If you judge people, you have no time to love them. -- Mother Teresa
|
|
|
|
|
hi
I have added one vc++6.0 dll in my vc++.net MDI application for that I set Used Managed Extensions proerty to true,
now it will not allow me to create list and give exception when try to create list with code given bellow
CLayerListCtrl *lstCrtl = new CLayerListCtrl();
lstCrtl->Create(WS_CHILD|WS_VISIBLE |LVS_REPORT |WS_BORDER | LVS_NOCOLUMNHEADER ,rectListEx,this,0);
can anyone help me
Thanks,
Rushiraj.
|
|
|
|
|
rushiraj.jhala wrote: it will not allow me to create list and give exception when try to create list
What type of exception it is ?
|
|
|
|
|
hi
I have one VC++.net MDI project, it was working fine befour i have import one function from vc++6.0 dll using p/Invoke and dllimport.
now it is gicing me execption given bellow
An unhandled exception of type 'System.TypeLoadException' occurred.
can any one tell me how to overcome this problem.
Thanks
Rushiraj
|
|
|
|
|
How to change the hidden property of a folder through code?
Plz help..it's urgent
Thanks..
|
|
|
|
|
Is SetFileAttributes(_T("c:\\picture"),FILE_ATTRIBUTE_HIDDEN); helpfuls?
|
|
|
|
|
YOu need to read the current attributes with GetFileAttributes() , make sure that succeeded, then call SetFileAttributes() and add just FILE_ATTRIBUTE_HIDDEN .
|
|
|
|
|
I doubt if SetFileAttributes() will set a folders attributes.
I think it works only for files.
Apurv
|
|
|
|
|
|
sorry for not being specific.Actually i want to remove the hidden property that has been already set to a folder..
Thanks...
|
|
|
|
|
|
hi i have to check for a file say sample.txt. if it is there i have to skip else i have to create a file in that name. how to do this in mfc
|
|
|
|
|
You can use of FindFirstFile and check return value of FindFirstFile
|
|
|
|
|
check for PathFileExists()
|
|
|
|
|
CreateFile with the OPEN_ALWAYS flag for creation / disposition parameter
|
|
|
|
|
Hi
I am trying to connect VC++ with Access(DataBase).but i am understand
how could i can do it.
i want to write the code whenever button is clecked.
1: Which Hederfile i have to include.
2: What will be the Visual Studio setting for this.
3: what are the special function we should use.
could any one please send me demo code for any particular event.
as soon as possible.
mailing me
Yogi
|
|
|
|
|
|
Hi,
I'm building a dll which export some interfaces. I use a .def file to set export symbols. But, after build, while using VC tool "depends" to watch export symbols, I see lots of additional functions which not defined in my .def file! My dll also link some thridparty libs which implement these additional functions.
Do you know the reason and how to resolve it?
|
|
|
|
|
There one other way to export functions is dll. Using __dllexport , check if this is what happening in your case.
|
|
|
|
|
I think you are adding __declspec(dllexport) to the class itself. Rather add it to the functions you want to export.
Press: 1500 to 2,200 messages in just 6 days? How's that possible sir?
Dr.Brad :Well,I just replied to everything Graus did and then argued with Negus for a bit.
|
|
|
|
|
hi i have to create a guid for usb using mfc. it should be 128 bytes. how to create this.
-- modified at 23:59 Friday 9th March, 2007
|
|
|
|
|
Please make your question clearly. Guid for USB means? what is the situation you need this one. or any clear info if you provide that could be easy for people who answering your questions.
Thank you.
Nice talking to you.
If you judge people, you have no time to love them. -- Mother Teresa
|
|
|
|
|
can any one help me in doing the simple chat application program using MFC in VC++....very urgent please...
manjunath
|
|
|
|