User Profile

Collapse

Profile Sidebar

Collapse
kevinkwh
kevinkwh
Last Activity: Mar 4 '11, 09:33 AM
Joined: Feb 4 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kevinkwh
    replied to What is u_int32_t?
    in C
    Thanks you !!! but this u_int32_t is ok with Linux. My colleague told me . No idea what to do next !!!
    See more | Go to post

    Leave a comment:


  • kevinkwh
    started a topic What is u_int32_t?
    in C

    What is u_int32_t?

    Hi I'm doing porting from Linux to Visual C ++. And I found quite a few errors. What is u_int32_t ? I can't find it in Visual C ++? Is it only available in Linux? Which type should I use in Visual C++? Thanks in advance !!!

    Kevin
    See more | Go to post

  • I can't find anything which uses cache_info. Some suggested me to put comma before ... , so it no longer shows error but I'm not really sure whether it is right or wrong !!! In fact, I don't understanding anything about those. Thanks !!!
    See more | Go to post

    Leave a comment:


  • How to fix unexpected in macro formal parameter list error?

    Hi,
    I'm an intern student and my boss told me to do porting
    from Linux c to Visual C++.When I built the coding, I found this error "unexpected in macro formal parameter list", here is the coding " #define cache_info(form at, msg...) \
    do { \
    ;\
    } while (0) " . I don't know what is wrong and what the coding is for . I can't also ask the Linus programmer since he is out. Can someone help me...
    See more | Go to post

  • kevinkwh
    replied to Linking error
    in C
    Thank for you reply.
    I'll try to write my own.
    :D
    See more | Go to post

    Leave a comment:


  • kevinkwh
    started a topic Linking error
    in C

    Linking error

    HI
    I'm using Berkeley DB and VC ++.
    when i debug my program i got this error.

    error C2664: 'strlen' : cannot convert parameter 1 from 'void *' to 'const char *'

    from this line
    skey->size = (u_int32_t)strl en((skey->data)) + 1;

    so i changed this line
    skey->size = (u_int32_t)strl en((const char *)(skey->data)) + 1;

    it gives me this linking error
    ...
    See more | Go to post

  • kevinkwh
    replied to How to link Berkeley DB and Visual C++?
    in C
    Thanks for your reply !!!
    I'll try.
    btw, Visual C++ can only use ODBC driver to connect with Berkeley DB?
    Is there any other options ???
    Which one is the most convenient one?
    Thanks
    See more | Go to post

    Leave a comment:


  • kevinkwh
    started a topic How to link Berkeley DB and Visual C++?
    in C

    How to link Berkeley DB and Visual C++?

    Hi
    I'm a student and i have to write visual c ++ and berkeley db.
    I don't know how to link those two.
    in fact, i don't know where to start !!!
    can anybody give me any advises??
    Thanks
    See more | Go to post

  • kevinkwh
    started a topic How to use nested EL in jsp
    in Java

    How to use nested EL in jsp

    Hi
    there is 2 tables.
    one is product and another is manufacturer
    product has manu_id which is PK in manufacturer.
    so when i show the product table
    i got only manu_id from product table.
    i want to show manu_name from manufacturer.
    i tried like it

    <c:forEach var="p" items="${allPro ducts}" varStatus="stat us">
    <tr>
    ...
    See more | Go to post

  • kevinkwh
    started a topic Can't change authentication

    Can't change authentication

    hi I'v used Windows xp and used VS 2010 with Sql express .
    It was fine when I used those.
    Recently I decided to use Windows 7 and installed the above softwares.
    After installing those softwares, When i tried to change the SQL authentication Mode , it shows
    "EXECUTE permission denied on object 'xp_instance_re gwrite', database 'mssqlsystemres ource',schema 'sys'.(Microsof t SQL Server,Error,22 9).
    I don't know...
    See more | Go to post

  • kevinkwh
    replied to how to convert 2 rows into one column
    Thx , It helps me alot .
    See more | Go to post

    Leave a comment:


  • Ok !!! will try !!! thx alot
    See more | Go to post

    Leave a comment:


  • kevinkwh
    started a topic how to convert 2 rows into one column

    how to convert 2 rows into one column

    i wannn convert the following.
    thx in advance.

    data table

    desc nvarchar(100),
    amount numeric(18,2)

    FROM

    desc amount

    commercial 5000
    commercial 8000

    TO

    desc amount1 amount2
    commercial 5000 8000
    See more | Go to post
No activity results to display
Show More
Working...