microsoft.public.dotnet.languages.vc.libraries Archive - January 2003
Post a message to this list
Messages
Page: 1
Dockable toolbars? (2 replies)
microsoft.public.dotnet.languages.vc.libraries
Hello, Could someone PLEASE give any hints how to create a dockable toolbar in .NET, because ToolBar from WinForms doesn't support this feature (WHY?!). Some sample code would be greatly appreciated! Please don't refer to 3rd party components using them is not an option. Thanks in advance!
Managed Extensions in MFC programs (2 replies)
microsoft.public.dotnet.languages.vc.libraries
#using system.windows.forms.dll using namespace System::Windows::Forms; .... .... catch(System::Exception* ex) { MessageBox::Show (ex ToString(),"Information",MessageBoxButtons::OK ,MessageBoxIcon::Information );//error } error C2653:"MessageBoxA":
GetPrinter Function Problem (2 replies)
microsoft.public.dotnet.languages.vc.libraries
Respected All I have written following code to get attributes of my printer LPTSTR prin new TCHAR[256]; DWORD dw 64; DWORD dw1 64; HANDLE hp; CString str; PRINTER INFO 2 job; ::GetDefaultPrinter(prin,&dw); if(::OpenPrinter(prin,&hp,NULL)) { ::GetPrinter(hp,2,(LPBYTE) &job,0,&dw); // to get required size of buffer str.Format("%u",dw); MessageBox(str); if(::GetPrinter(hp,2,(LPBYTE) &job,dw,&dw1)) {M...
C# program hangs while loading managed C++ wrapper to existing dlls. (2 replies)
microsoft.public.dotnet.languages.vc.libraries
Hi, Sorry for the crosspost, but I am not sure where this one goes... I am trying to wrap existing unmanaged dlls with managed code. My first example exposed a single class and one of its properties. I then wrote a simple C# program to test it (I include it below). About 1/3 of the time the program hangs (the rest of the time it works as expected). When it hangs it has the stack trace I include be...
char buffer (5 replies)
microsoft.public.dotnet.languages.vc.libraries
Hi all, My program is simple, read from a file and display it. But I want to read in binary mode. However when I try to display it, it also show all the rubbish.But I can get the correct size of that file. eg: in myfile.txt (contains 3 char and the size is 3): Æà output (more than 3 char): Æà ýýýýÝ1 the source code: long size, last; // read file ifstream fin("C:\\myfile.txt", ios::in | ios::binary...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification