User Profile
Collapse
-
Thanks you !!! but this u_int32_t is ok with Linux. My colleague told me . No idea what to do next !!! -
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 -
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 !!!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... -
-
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
... -
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?
ThanksLeave a comment:
-
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 -
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>
... -
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... -
-
-
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
No activity results to display
Show More
Leave a comment: