CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ledaker

Page 1 of 6 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    0
    Views
    2,731

    std::regex error_brack

    Hi folks,

    I have error_brack error when i execute the below code in Code::Blocks 13.12


    try
    {
    std::string seq = "ollo hello wallo ";
    ...
  2. Re: error: two or more data types in declaration specifiers

    Thank you laserlight i have made the following change (in green) an it works fine :)


    /* $Id: defines.h 3492 2011-09-18 20:44:09Z nekral-guest $ */
    /* some useful defines */

    #ifndef...
  3. Re: error: two or more data types in declaration specifiers

    I ma using gcc(4.7) under Linux Debian, I have the same issue with -std=c89 and -std=c99 options.
  4. Re: error: two or more data types in declaration specifiers

    It doesn't work, you can find below the entire source code of define.h and i think there is no #endif missing


    /* $Id: defines.h 3492 2011-09-18 20:44:09Z nekral-guest $ */
    /* some useful...
  5. Re: error: two or more data types in declaration specifiers

    Where should I add #endif ?
  6. [RESOLVED] error: two or more data types in declaration specifiers

    Hi all,

    i have the following error defines.h:14:23: error: two or more data types in declaration specifiers, the begining define.h source code is (the line 14 is in red):


    /* $Id: defines.h...
  7. Thread: Bordre color

    by ledaker
    Replies
    1
    Views
    4,583

    Border color

    Hi all,

    is it possible to change the border color of DialogBox without subclassing it in win32 ?

    Regards.
  8. Re: error C2065: 'swprintf_s' : undeclared identifier

    Thank you Victor,

    i have just resolved the problem by using the swprintf function.
  9. [RESOLVED] error C2065: 'swprintf_s' : undeclared identifier

    Hi all,

    I am using visual C++ 6.0 to build an unicode application, when i am compiling my code i have the following error:
    error C2065: 'swprintf_s' : undeclared identifier
    I have added the two...
  10. Replies
    4
    Views
    1,512

    Re: Cannot subclass listview in combobox

    I have changed the function SetClassLong with SetWindowLong, in this case i can subclass:
    ComboBox Edit (g_oldEditProc6 = (WNDPROC)SetWindowLong(pcbi->hwndItem, GWL_WNDPROC,...
  11. Replies
    4
    Views
    1,512

    Re: Cannot subclass listview in combobox

    Hi,
    yes it's a typo :o when i wrote the code in the post.the combobox is creating with the following styles (CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP).
  12. Replies
    4
    Views
    1,512

    Cannot subclass listview in combobox

    Hi,
    I am customizing a combobox control, to do that i am subclassing the listview of combobox but it doesn't work! this my code


    COMBOBOXINFO *pcbi;
    pcbi->cbSize = sizeof(COMBOBOXINFO);...
  13. [RESOLVED] flick when subclassing Edit control

    Hi all,

    could you please help me to remove flick when i subclass an Edit control, this my code:


    LRESULT CALLBACK WindowProcedureEdit(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
    {...
  14. Re: CreateWindowEx fails with 1407 error cannot find window class

    Thank you very much, i didn't code in win32 since 6 years, i forgot some basics ;).
  15. [RESOLVED] CreateWindowEx fails with 1407 error cannot find window class

    When i try to create a listview (in red in the code) i have the 1407 error that means cannot find window class but the listbox is created !!!, i am using visual c++ 6.0.


    #include "stdafx.h"...
  16. Replies
    4
    Views
    1,656

    Re: listbox and ownerdata

    thaank you :wave:
  17. Replies
    4
    Views
    1,656

    Re: listbox and ownerdata

    Could you please give what style i can use to have a virtual listbox
  18. Replies
    4
    Views
    1,656

    [RESOLVED] listbox and ownerdata

    hi all,
    could i have a listbox with ownerdata like virtual listview in win32.

    thanks in advance.
  19. Replies
    3
    Views
    1,579

    Cannot create listview control

    Hi all,
    i wouldlike to create a listview control but the createwindow function return null :confused:


    hWndListView = CreateWindow(WC_LISTVIEW,WC_LISTVIEW,WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS...
  20. Replies
    2
    Views
    4,273

    Re: VirtualProtect failed

    Thanks
    the solution is :
    lpvBase=VirtualAlloc(NULL,4096*4,MEM_RESERVE|MEM_COMMIT,PAGE_NOACCESS);
  21. Replies
    2
    Views
    4,273

    VirtualProtect failed

    Hi all


    SYSTEM_INFO System_Info;
    GetSystemInfo(&System_Info);
    printf("Page size :\t%d\n",System_Info.dwPageSize);
    printf("Allocation granularity...
  22. Replies
    2
    Views
    2,537

    Re: MS ACCESS and float precision

    I don't think !!
  23. Replies
    2
    Views
    2,537

    MS ACCESS and float precision

    Hi all, i am using ms access database, this database base contains a table with float column type. When i display this table in a datagridview if the float column contains 1,22 value, in the...
  24. Replies
    5
    Views
    1,300

    Re: Need help to understand an algorithm

    Hi all, i am not french !! and thanks for all :)
  25. Replies
    5
    Views
    1,300

    Need help to understand an algorithm

    Hi all, i have this algorithm for decrypt a message how i can translate the functions in red to c#


    'CIPHER.CLS
    Option Explicit

    Private msKeyString As String
    Private msText As String
    ...
Results 1 to 25 of 132
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured