|
How to create Windows forms like in VB using VC++6? Hi I'm newbie to VC++6 environment. I already know VB6,VB.net, C,C++ and JAVA. Now I am doing project in Directx sdk using MS-VC++ 6. I learned MFC enough to program. But I couldn't make Windows forms like VB. I have tried it using Appwizard but it so Clumsy. The Appwizard is focusing in Doc/View architecture. ... 3 Jun 2008 20:12
Address of multidimentional array What is the proper way to specify the base address and clear a multidimentional array in C? Is it the same as a single? unsigned char arr[20][30]; // Do stuff to get array dirty. .... // Clear array memset(arr, 0, sizeof(arr)); //OK? thanx, gtb ... 2 Jun 2008 18:10
Passing strings between a vc6 dll and vb6 exe I have a win32 dll (VC6) and a VB6 exe. The dll gets loaded (and a specified single parameter function is called) by a 3rd party app - when an event of interest occurs. The 3rd party app uses the __cdecl calling convention and passes a single LPSTR argument to the dll funtion. I now want to add some code in that dl... 3 Jun 2008 20:12
Changing network options and joining domain Hello, I'm doing a little software which changes computers network settings like IP, DNS, DNS suffix, join domain etc. I used MFC to create simple dialog which has some options and stuff for those settings. After user presses button, software creates textfile and launches netset.exe, which is Microsoft's command... 2 Jun 2008 16:35
Check whether a file handle is open Hi, I want to check whether a file handle is opened or not. I opened the file using the _open function. In my application, this handle is used in different classes. So there is no way for me to know the file is closed by another object. Is there any way to know a file is open, if a handle is given. Regards,... 3 Jun 2008 20:12
VC7.1 std::exception assignment operator bug (crash) a known issue? The assignment operator of the VC7.1 SP1 edition of std::exception appears to have a major bug. When it is called on an object of a class derived from std::exception, it might corrupt the virtual table of the object. When it does, a subsequent virtual function call causes a crash. For example: //////////////... 2 Jun 2008 08:43
FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO VBScript, SAP - ABAP and more... access all computer tutorials for free visit http://freecomputertutorialz1.blogspot.com/ ... 2 Jun 2008 06:57
Reading MBR from disk Hi, I'm trying to use _read to get the MBR information from the 1st sector of a disk. The code is shown below: int main( void ) { char *pDisk = "\\\\.\\PhysicalDrive1"; int fdDisk0 = _open(pDisk, _O_RDONLY | _O_BINARY); if (fdDisk0 != -1) { //MasterBootRecord is a ... 3 Jun 2008 20:12
Correct way to override malloc I have my own versions of malloc, free etc definined my namespace, but I am having trouble overriding the global malloc. I'm trying to make sure all external libraries I link to use my version so I can track memory and find any cases that are using malloc that shouldn't (already have new covered). Attempt 1 #d... 31 May 2008 21:53
Is 64 bit computing faster than 32 bit? Hi, I remember the days we used to have 16 bit computing; as soon as Intel's 386 processors came out they were almost twice as fast. Why isn't 64 bit applications twice as fast as 32 bit counterparts? Are programmers doing something wrong? ... 1 Jun 2008 19:59 |