errors with .h usb rid prog (winuser.h)

This is a discussion on errors with .h usb rid prog (winuser.h) within the C++ Programming forums, part of the General Programming Boards category; error Code: 27 C:\Dev-Cpp\Project390 getisb0001\getusb0006.cpp `RAWINPUTDEVICELIST' undeclared (first use this function) msdn said add user32.lib and winuser.h when winuser.h added ...

  1. #1
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638

    errors with .h usb rid prog (winuser.h)

    error

    Code:
     
    27 C:\Dev-Cpp\Project390 getisb0001\getusb0006.cpp `RAWINPUTDEVICELIST' undeclared (first use this function)
    msdn said add user32.lib and winuser.h

    when winuser.h added and user32.a added to project get

    Code:
    9 C:\Dev-Cpp\Project390 getisb0001\getusb0006.cpp In file included from getusb0006.cpp 
    2348 C:\Dev-Cpp\include\winuser.h typedef `BOOL' is initialized (use __typeof__ instead) 
    2348 C:\Dev-Cpp\include\winuser.h `CALLBACK' was not declared in this scope 
    2348 C:\Dev-Cpp\include\winuser.h `DLGPROC' was not declared in this scope 
    ....
    errors from winuser.h

    question .... it is saying to edit the .h file ? "use __typeof__ instead"

    original program was linux ported to win. missing which headers ? or .a lib files ?

    getusb.cpp
    Code:
    /* getusb.c */
    
    /* changed to cpp for rawinputdevicelist */
    /* to do   convert this prog to wifi adapter listener sniff ssid */
    /* to do   get wifi adapter info */
    
    // #include <stdlib.h>
    // #include <stdio.h>
    
    
    
    #include <winuser.h> /* msdn */
    
    /* user32.lib or user32.a */
    
    #include <windows.h>
    #include <iostream>
    
    // Namespace
    using namespace std;
    
    // Main
    int main()
    {
    	// Program
    	cout << "USB Device Lister." << endl;
    
    	// Get Number Of Devices
    	UINT nDevices = 0;
    	GetRawInputDeviceList( NULL, &nDevices, sizeof( RAWINPUTDEVICELIST ) );
    
    	// Got Any?
    	if( nDevices < 1 )
    	{
    		// Exit
    		cout << "ERR: 0 Devices?";
    		cin.get();
    		return 0;
    	}
    	
    	// Allocate Memory For Device List
    	PRAWINPUTDEVICELIST pRawInputDeviceList;
    	pRawInputDeviceList = new RAWINPUTDEVICELIST[ sizeof( RAWINPUTDEVICELIST ) * nDevices ];
    
    	// Got Memory?
    	if( pRawInputDeviceList == NULL )
    	{
    		// Error
    		cout << "ERR: Could not allocate memory for Device List.";
    		cin.get();
    		return 0;
    	}
    	
    	// Fill Device List Buffer
    	int nResult;
    	nResult = GetRawInputDeviceList( pRawInputDeviceList, &nDevices, sizeof( RAWINPUTDEVICELIST ) );
    
    	// Got Device List?
    	if( nResult < 0 )
    	{
    		// Clean Up
    		delete [] pRawInputDeviceList;
    
    		// Error
    		cout << "ERR: Could not get device list.";
    		cin.get();
    		return 0;
    	}
    
    	// Loop Through Device List
    	for( UINT i = 0; i < nDevices; i++ )
    	{
    		// Get Character Count For Device Name
    		UINT nBufferSize = 0;
    		nResult = GetRawInputDeviceInfo( pRawInputDeviceList[i].hDevice, // Device
    										 RIDI_DEVICENAME,				 // Get Device Name
    										 NULL,							 // NO Buff, Want Count!
    										 &nBufferSize );				 // Char Count Here!
    
    		// Got Device Name?
    		if( nResult < 0 )
    		{
    			// Error
    			cout << "ERR: Unable to get Device Name character count.. Moving to next device." << endl << endl;
    
    			// Next
    			continue;
    		}
    
    		// Allocate Memory For Device Name
    		WCHAR* wcDeviceName = new WCHAR[ nBufferSize + 1 ];
    		
    		// Got Memory
    		if( wcDeviceName == NULL )
    		{
    			// Error
    			cout << "ERR: Unable to allocate memory for Device Name.. Moving to next device." << endl << endl;
    
    			// Next
    			continue;
    		}
    
    		// Get Name
    		nResult = GetRawInputDeviceInfo( pRawInputDeviceList[i].hDevice, // Device
    										 RIDI_DEVICENAME,				 // Get Device Name
    										 wcDeviceName,					 // Get Name!
    										 &nBufferSize );				 // Char Count
    
    		// Got Device Name?
    		if( nResult < 0 )
    		{
    			// Error
    			cout << "ERR: Unable to get Device Name.. Moving to next device." << endl << endl;
    
    			// Clean Up
    			delete [] wcDeviceName;
    
    			// Next
    			continue;
    		}
    
    		// Set Device Info & Buffer Size
    		RID_DEVICE_INFO rdiDeviceInfo;
    		rdiDeviceInfo.cbSize = sizeof( RID_DEVICE_INFO );
    		nBufferSize = rdiDeviceInfo.cbSize;
    
    		// Get Device Info
    		nResult = GetRawInputDeviceInfo( pRawInputDeviceList[i].hDevice,
    										 RIDI_DEVICEINFO,
    										 &rdiDeviceInfo,
    										 &nBufferSize );
    
    		// Got All Buffer?
    		if( nResult < 0 )
    		{
    			// Error
    			cout << "ERR: Unable to read Device Info.. Moving to next device." << endl << endl;
    
    			// Next
    			continue;
    		}
    
    		// Mouse
    		if( rdiDeviceInfo.dwType == RIM_TYPEMOUSE )
    		{
    			// Current Device
    			cout << endl << "Displaying device " << i+1 << " information. (MOUSE)" << endl;
    			wcout << L"Device Name: " << wcDeviceName << endl;
    			cout << "Mouse ID: " << rdiDeviceInfo.mouse.dwId << endl;
    			cout << "Mouse buttons: " << rdiDeviceInfo.mouse.dwNumberOfButtons << endl;
    			cout << "Mouse sample rate (Data Points): " << rdiDeviceInfo.mouse.dwSampleRate << endl;
    			if( rdiDeviceInfo.mouse.fHasHorizontalWheel )
    			{
    				cout << "Mouse has horizontal wheel" << endl;
    			}
    			else
    			{
    				cout << "Mouse does not have horizontal wheel" << endl;
    			}
    		}
    
    		// Keyboard
    		else if( rdiDeviceInfo.dwType == RIM_TYPEKEYBOARD )
    		{
    			// Current Device
    			cout << endl << "Displaying device " << i+1 << " information. (KEYBOARD)" << endl;
    			wcout << L"Device Name: " << wcDeviceName << endl;
    			cout << "Keyboard mode: " << rdiDeviceInfo.keyboard.dwKeyboardMode << endl;
    			cout << "Number of function keys: " << rdiDeviceInfo.keyboard.dwNumberOfFunctionKeys << endl;
    			cout << "Number of indicators: " << rdiDeviceInfo.keyboard.dwNumberOfIndicators << endl;
    			cout << "Number of keys total: " << rdiDeviceInfo.keyboard.dwNumberOfKeysTotal << endl;
    			cout << "Type of the keyboard: " << rdiDeviceInfo.keyboard.dwType << endl;
    			cout << "Subtype of the keyboard: " << rdiDeviceInfo.keyboard.dwSubType << endl;
    		}
    
    		// Some HID
    		else // (rdi.dwType == RIM_TYPEHID)
    		{
    			// Current Device
    			cout << endl << "Displaying device " << i+1 << " information. (HID)" << endl;
    			wcout << L"Device Name: " << wcDeviceName << endl;
    			cout << "Vendor Id:" << rdiDeviceInfo.hid.dwVendorId << endl;
    			cout << "Product Id:" << rdiDeviceInfo.hid.dwProductId << endl;
    			cout << "Version No:" << rdiDeviceInfo.hid.dwVersionNumber << endl;
    			cout << "Usage for the device: " << rdiDeviceInfo.hid.usUsage << endl;
    			cout << "Usage Page for the device: " << rdiDeviceInfo.hid.usUsagePage << endl;
    		}
    
    		// Delete Name Memory!
    		delete [] wcDeviceName;
    	}
    
    	// Clean Up - Free Memory
    	delete [] pRawInputDeviceList;
    
    	// Exit
    	cout << endl << "Finnished.";
    	cin.get();
    	return 0;
    }
    tia devcpp

  2. #2
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Your first #include <winuser.h> is superfluous because it's already included by <windows.h> but your compiler would emit errors anyway because of typdefs that are supposed to be defined before <winuser.h> is included (they're defined elsewhere by <windows.h>

    I removed the first #include <winuser.h> and it compiled with Visual C++ but it should compile with devcpp too.

  3. #3
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    that is the way i had it in the first place. got error saying
    Code:
    30 C:\Dev-Cpp\Project390 getisb0001\getusb0008.cpp `RAWINPUTDEVICELIST' undeclared (first use this function) 
    30 C:\Dev-Cpp\Project390 getisb0001\getusb0008.cpp `GetRawInputDeviceList' undeclared (first use this function) 
    42 C:\Dev-Cpp\Project390 getisb0001\getusb0008.cpp `PRAWINPUTDEVICELIST' undeclared (first use this function) 
    
    76 C:\Dev-Cpp\Project390 getisb0001\getusb0008.cpp `RIDI_DEVICENAME' undeclared (first use this function) 
    ....
    when i tried to figure out why they were undeclared msdn said that it needed user32.lib and specified the header "winuser.h" for the rawinputdevicelist function.

    GetRawInputDeviceList Function (Windows)
    RAWINPUTDEVICELIST Structure (Windows)

    with window.h only include i get this error <no winuser.h>
    Code:
    30 C:\Dev-Cpp\Project390 getisb0001\getusb0008.cpp `RAWINPUTDEVICELIST' undeclared (first use this function)
    winuser.h and windows.h i get all kinds of winuser.h errors it needs winuser.h for rawinputdevicelist.



    Code:
    2348 C:\Dev-Cpp\include\winuser.h typedef `BOOL' is initialized (use __typeof__ instead) 
    2348 C:\Dev-Cpp\include\winuser.h `CALLBACK' was not declared in this scope 
    ....
    2351 C:\Dev-Cpp\include\winuser.h typedef `LRESULT' is initialized (use __typeof__ instead) 
    ....
    in project have included libraries
    Code:
     
    ../lib/libuser32.a
    ../lib/libwin32k.a
    something else to include .a ?

    edit
    oops was not ported from linux.... just found where i got the prog from.
    Last edited by kryptkat; 09-07-2010 at 08:32 AM. Reason: found source of prog.

  4. #4
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    errors when compiled with borland

    Code:
    C:\borland\bcc55\bin>bcc32 getusbcpp0003.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    getusbcpp0003.cpp:
    Error E2268 getusbcpp0003.cpp 22: Call to undefined function 'GetRawInputDeviceL
    ist' in function main()
    Error E2451 getusbcpp0003.cpp 22: Undefined symbol 'RAWINPUTDEVICELIST' in funct
    ion main()
    Error E2109 getusbcpp0003.cpp 22: Not an allowed type in function main()
    Error E2451 getusbcpp0003.cpp 34: Undefined symbol 'PRAWINPUTDEVICELIST' in func
    tion main()
    Error E2379 getusbcpp0003.cpp 34: Statement missing ; in function main()
    Error E2451 getusbcpp0003.cpp 35: Undefined symbol 'pRawInputDeviceList' in func
    tion main()
    Error E2303 getusbcpp0003.cpp 35: Type name expected in function main()
    Error E2379 getusbcpp0003.cpp 35: Statement missing ; in function main()
    Error E2109 getusbcpp0003.cpp 48: Not an allowed type in function main()
    Error E2158 getusbcpp0003.cpp 54: Operand of 'delete' must be non-const pointer
    in function main()
    Error E2268 getusbcpp0003.cpp 67: Call to undefined function 'GetRawInputDeviceI
    nfo' in function main()
    Error E2451 getusbcpp0003.cpp 68: Undefined symbol 'RIDI_DEVICENAME' in function
     main()
    Error E2451 getusbcpp0003.cpp 115: Undefined symbol 'RID_DEVICE_INFO' in functio
    n main()
    Error E2379 getusbcpp0003.cpp 115: Statement missing ; in function main()
    Error E2451 getusbcpp0003.cpp 116: Undefined symbol 'rdiDeviceInfo' in function
    main()
    Error E2109 getusbcpp0003.cpp 116: Not an allowed type in function main()
    Error E2451 getusbcpp0003.cpp 121: Undefined symbol 'RIDI_DEVICEINFO' in functio
    n main()
    Error E2451 getusbcpp0003.cpp 136: Undefined symbol 'RIM_TYPEMOUSE' in function
    main()
    Error E2451 getusbcpp0003.cpp 155: Undefined symbol 'RIM_TYPEKEYBOARD' in functi
    on main()
    Error E2158 getusbcpp0003.cpp 186: Operand of 'delete' must be non-const pointer
     in function main()
    *** 20 errors in Compile ***
    
    C:\borland\bcc55\bin>
    Code:
    /* getusb.c */
    /* getusbcpp.cpp */
    
    
    #include <windows.h>
    
    #include <winuser.h>
    
    #include <iostream>
    
    // Namespace
    using namespace std;
    
    // Main
    int main()
    {
    	// Program
    	cout << "USB Device Lister." << endl;
    
    	// Get Number Of Devices
    	UINT nDevices = 0;
    	GetRawInputDeviceList( NULL, &nDevices, sizeof( RAWINPUTDEVICELIST ) );
    
    	// Got Any?
    	if( nDevices < 1 )
    	{
    		// Exit
    		cout << "ERR: 0 Devices?";
    		cin.get();
    		return 0;
    	}
    	
    	// Allocate Memory For Device List
    	PRAWINPUTDEVICELIST pRawInputDeviceList;
    	pRawInputDeviceList = new RAWINPUTDEVICELIST[ sizeof( RAWINPUTDEVICELIST ) * nDevices ];
    
    	// Got Memory?
    	if( pRawInputDeviceList == NULL )
    	{
    		// Error
    		cout << "ERR: Could not allocate memory for Device List.";
    		cin.get();
    		return 0;
    	}
    	
    	// Fill Device List Buffer
    	int nResult;
    	nResult = GetRawInputDeviceList( pRawInputDeviceList, &nDevices, sizeof( RAWINPUTDEVICELIST ) );
    
    	// Got Device List?
    	if( nResult < 0 )
    	{
    		// Clean Up
    		delete [] pRawInputDeviceList;
    
    		// Error
    		cout << "ERR: Could not get device list.";
    		cin.get();
    		return 0;
    	}
    
    	// Loop Through Device List
    	for( UINT i = 0; i < nDevices; i++ )
    	{
    		// Get Character Count For Device Name
    		UINT nBufferSize = 0;
    		nResult = GetRawInputDeviceInfo( pRawInputDeviceList[i].hDevice, // Device
    										 RIDI_DEVICENAME,				 // Get Device Name
    										 NULL,							 // NO Buff, Want Count!
    										 &nBufferSize );				 // Char Count Here!
    
    		// Got Device Name?
    		if( nResult < 0 )
    		{
    			// Error
    			cout << "ERR: Unable to get Device Name character count.. Moving to next device." << endl << endl;
    
    			// Next
    			continue;
    		}
    
    		// Allocate Memory For Device Name
    		WCHAR* wcDeviceName = new WCHAR[ nBufferSize + 1 ];
    		
    		// Got Memory
    		if( wcDeviceName == NULL )
    		{
    			// Error
    			cout << "ERR: Unable to allocate memory for Device Name.. Moving to next device." << endl << endl;
    
    			// Next
    			continue;
    		}
    
    		// Get Name
    		nResult = GetRawInputDeviceInfo( pRawInputDeviceList[i].hDevice, // Device
    										 RIDI_DEVICENAME,				 // Get Device Name
    										 wcDeviceName,					 // Get Name!
    										 &nBufferSize );				 // Char Count
    
    		// Got Device Name?
    		if( nResult < 0 )
    		{
    			// Error
    			cout << "ERR: Unable to get Device Name.. Moving to next device." << endl << endl;
    
    			// Clean Up
    			delete [] wcDeviceName;
    
    			// Next
    			continue;
    		}
    
    		// Set Device Info & Buffer Size
    		RID_DEVICE_INFO rdiDeviceInfo;
    		rdiDeviceInfo.cbSize = sizeof( RID_DEVICE_INFO );
    		nBufferSize = rdiDeviceInfo.cbSize;
    
    		// Get Device Info
    		nResult = GetRawInputDeviceInfo( pRawInputDeviceList[i].hDevice,
    										 RIDI_DEVICEINFO,
    										 &rdiDeviceInfo,
    										 &nBufferSize );
    
    		// Got All Buffer?
    		if( nResult < 0 )
    		{
    			// Error
    			cout << "ERR: Unable to read Device Info.. Moving to next device." << endl << endl;
    
    			// Next
    			continue;
    		}
    
    		// Mouse
    		if( rdiDeviceInfo.dwType == RIM_TYPEMOUSE )
    		{
    			// Current Device
    			cout << endl << "Displaying device " << i+1 << " information. (MOUSE)" << endl;
    			wcout << L"Device Name: " << wcDeviceName << endl;
    			cout << "Mouse ID: " << rdiDeviceInfo.mouse.dwId << endl;
    			cout << "Mouse buttons: " << rdiDeviceInfo.mouse.dwNumberOfButtons << endl;
    			cout << "Mouse sample rate (Data Points): " << rdiDeviceInfo.mouse.dwSampleRate << endl;
    			if( rdiDeviceInfo.mouse.fHasHorizontalWheel )
    			{
    				cout << "Mouse has horizontal wheel" << endl;
    			}
    			else
    			{
    				cout << "Mouse does not have horizontal wheel" << endl;
    			}
    		}
    
    		// Keyboard
    		else if( rdiDeviceInfo.dwType == RIM_TYPEKEYBOARD )
    		{
    			// Current Device
    			cout << endl << "Displaying device " << i+1 << " information. (KEYBOARD)" << endl;
    			wcout << L"Device Name: " << wcDeviceName << endl;
    			cout << "Keyboard mode: " << rdiDeviceInfo.keyboard.dwKeyboardMode << endl;
    			cout << "Number of function keys: " << rdiDeviceInfo.keyboard.dwNumberOfFunctionKeys << endl;
    			cout << "Number of indicators: " << rdiDeviceInfo.keyboard.dwNumberOfIndicators << endl;
    			cout << "Number of keys total: " << rdiDeviceInfo.keyboard.dwNumberOfKeysTotal << endl;
    			cout << "Type of the keyboard: " << rdiDeviceInfo.keyboard.dwType << endl;
    			cout << "Subtype of the keyboard: " << rdiDeviceInfo.keyboard.dwSubType << endl;
    		}
    
    		// Some HID
    		else // (rdi.dwType == RIM_TYPEHID)
    		{
    			// Current Device
    			cout << endl << "Displaying device " << i+1 << " information. (HID)" << endl;
    			wcout << L"Device Name: " << wcDeviceName << endl;
    			cout << "Vendor Id:" << rdiDeviceInfo.hid.dwVendorId << endl;
    			cout << "Product Id:" << rdiDeviceInfo.hid.dwProductId << endl;
    			cout << "Version No:" << rdiDeviceInfo.hid.dwVersionNumber << endl;
    			cout << "Usage for the device: " << rdiDeviceInfo.hid.usUsage << endl;
    			cout << "Usage Page for the device: " << rdiDeviceInfo.hid.usUsagePage << endl;
    		}
    
    		// Delete Name Memory!
    		delete [] wcDeviceName;
    	}
    
    	// Clean Up - Free Memory
    	delete [] pRawInputDeviceList;
    
    	// Exit
    	cout << endl << "Finnished.";
    	cin.get();
    	return 0;
    }
    so i looked through borlands winuser.h file to find that there is no getrawinputdevicelist.

    if i can get the prog to read the wifi adapter raw i might be able to convert it to a driver.
    1. get usb devices
    2. read usb devices info <wifi adapter>
    3. read raw usb devices <wifi adapter>
    4. examine data for ssid or service set identifier <wifi data>

  5. #5
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    That's strange.

    winuser.h should be included by windows.h

    Are you working with Windows? Have you considered installing the Windows SDK and/or Visual C++ Express?

  6. #6
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    Code:
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    
    and 
    
    devcpp 4.9.9.2
    windows.h
    Code:
    /*
    	windows.h - main header file for the Win32 API
    
    	Written by Anders Norlander <anorland@hem2.passagen.se>
    
    	This file is part of a free library for the Win32 API.
    
    	This library is distributed in the hope that it will be useful,
    	but WITHOUT ANY WARRANTY; without even the implied warranty of
    	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    */
    #ifndef _WINDOWS_H
    #define _WINDOWS_H
    #if __GNUC__ >=3
    #pragma GCC system_header
    #endif
    
    /* translate GCC target defines to MS equivalents. Keep this synchronized
       with winnt.h. */
    #if defined(__i686__) && !defined(_M_IX86)
    #define _M_IX86 600
    #elif defined(__i586__) && !defined(_M_IX86)
    #define _M_IX86 500
    #elif defined(__i486__) && !defined(_M_IX86)
    #define _M_IX86 400
    #elif defined(__i386__) && !defined(_M_IX86)
    #define _M_IX86 300
    #endif
    #if defined(_M_IX86) && !defined(_X86_)
    #define _X86_
    #elif defined(_M_ALPHA) && !defined(_ALPHA_)
    #define _ALPHA_
    #elif defined(_M_PPC) && !defined(_PPC_)
    #define _PPC_
    #elif defined(_M_MRX000) && !defined(_MIPS_)
    #define _MIPS_
    #elif defined(_M_M68K) && !defined(_68K_)
    #define _68K_
    #endif
    
    #ifdef RC_INVOKED
    /* winresrc.h includes the necessary headers */
    #include <winresrc.h>
    #else
    
    #include <stdarg.h>
    #include <windef.h>
    #include <wincon.h>
    #include <winbase.h>
    #if !(defined NOGDI || defined  _WINGDI_H)
    #include <wingdi.h>
    #endif
    
    #ifndef _WINUSER_H
    #include <winuser.h>
    #endif
    
    #ifndef _WINNLS_H
    #include <winnls.h>
    #endif
    #ifndef _WINVER_H
    #include <winver.h>
    #endif
    #ifndef _WINNETWK_H
    #include <winnetwk.h>
    #endif
    #ifndef _WINREG_H
    #include <winreg.h>
    #endif
    #ifndef _WINSVC_H
    #include <winsvc.h>
    #endif
    
    #ifndef WIN32_LEAN_AND_MEAN
    #include <cderr.h>
    #include <dde.h>
    #include <ddeml.h>
    #include <dlgs.h>
    #include <imm.h>
    #include <lzexpand.h>
    #include <mmsystem.h>
    #include <nb30.h>
    #include <rpc.h>
    #include <shellapi.h>
    #include <winperf.h>
    #ifndef NOGDI
    #include <commdlg.h>
    #include <winspool.h>
    #endif
    ....
    looks like it is. but does not act like it. when i add winuser.h i get all types of errors from it. with out it the errors say need rawinputdevicelist that is in winuser.h

    the searches i did for winuser.h come back to a reff about missing user32.dll not related to this prob.

    as i recall i played with visual cpp 2003 or 2008 that did not have win32 ability. maybe it did not sure. like devcpp and borland but why would it only compile with vcpp if the headers are the same ? supposed to be.

    why errors from standard header file ? i still think i missed something in settings or includes.

  7. #7
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    The Dev C++ headers are likely out of date. The Windows headers included with it aren't the same as what's included with the Windows SDK which is probably why it compiles with VC++ but not Dev C++.

    Of course you can build Win32 apps with Visual C++

  8. #8
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    Code:
    February 21th 2005 : Dev-C++ 5 Beta 9.2 (4.9.9.2) released !
    was at the resource site searching for a library upgrade. it looks like the site has not been updated since 2005 .... talk about a tail dragger.

    thank you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. superhighspeed usb 3.0
    By kryptkat in forum Tech Board
    Replies: 14
    Last Post: 08-16-2010, 11:07 PM
  2. Assembly amature question: prog errors
    By geek@02 in forum Tech Board
    Replies: 1
    Last Post: 10-03-2008, 02:35 PM
  3. Replies: 2
    Last Post: 03-27-2005, 10:24 PM
  4. Flood of errors when include .h
    By erik2004 in forum C++ Programming
    Replies: 14
    Last Post: 12-07-2002, 07:37 AM
  5. Errors in winuser.h
    By XenoCodex Admin in forum C++ Programming
    Replies: 3
    Last Post: 06-23-2002, 12:48 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21