|
hi
do u know how can i make VC6 compiler not to include full paths of source files when compiling them generates errors or warnings? if so, i've not to scroll the output window each time i want to see the errors or warnings generated.
thx
|
|
|
|
|
ilostmyid2 wrote: not to include full paths
I don't think that's possible. What you can do is Ctrl-A/Ctrl-C the output window into your text editor for easier reading.
|
|
|
|
|
Try calling the directories shorter names?
Or even create a new drive letter that points deep into your directory tree, and use that instead.
eg: z:\ = \\iain\c\source\articles
just worked for me!
Iain.
|
|
|
|
|
[System::Web::Services::WebMethod]
BYTE PythagoreanTheorem(BYTE Num1, int Num2);
or
[System::Web::Services::WebMethod]
char* PythagoreanTheorem(char* Num1, int Num2);
how on types BYTE or char* error under :
"SByte cannot be serialized because it dose not have a parameterless constructor"
|
|
|
|
|
|
when im running my c api code for database connectivity..
im getting this error--
"Cannot open include file: 'mysql.h': No such file or directory"
i have tried to find the mysql.h header file in visual studio..im getting this file in include folder..
now how should i run this code...
|
|
|
|
|
hi
include a winsock.h above mysql.h
and give a path in the project menu ->setting ->link
library module
add this path of mysql
"C:\Program Files\MySQL\MySQL Server 5.0\lib\opt\libmysql.lib"
hi
|
|
|
|
|
|
i hav done all which u hav told me
but still im getting the same error...
plz help me
|
|
|
|
|
yar copy libmySQL.dll from bin folder in program files
and paste this in ur applications folders
hi
|
|
|
|
|
in vc++ thr in no such dll file...???????????
whr to find?
|
|
|
|
|
if u dont have this
then to which database u connect vc++
r u joking?>?????>>>>>>>>>>>>
hi
|
|
|
|
|
sorry i misinterprate u..
but now i hav done all wht u hav told me..
still me getting same prob
plz wht u do??????/
|
|
|
|
|
im agn having the same error..ie mysql.h not found
|
|
|
|
|
Are you sure you have this file on your system?
|
|
|
|
|
|
See this[^] thread can solve your problem or no?
|
|
|
|
|
wht code i hav written is moslty similar to this one...
but in this code also im having the same error
|
|
|
|
|
eclairs_db wrote: when im running my c api code for database connectivity..
im getting this error--
"Cannot open include file: 'mysql.h': No such file or directory"
This is a preprocessor error, not a runtime error.
eclairs_db wrote: i have tried to find the mysql.h header file in visual studio
So did you find it?
eclairs_db wrote: now how should i run this code...
You don't, until it has been successfully compiled/linked. In the IDE, you need to verify that the directories for your include files are correct.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
i hav included .dll file in my vc++ ...now wht to do..
i hav done all which hav been told me here
i hav done all according to me..
can u help me.
basically i hav to create database in mysql at run time with the help of programming
|
|
|
|
|
eclairs_db wrote: i hav included .dll file in my vc++
Which has absolutely nothing to do with the problem.
eclairs_db wrote: i hav done all which hav been told me here
Explain, in detail, what you did. If the problem persists, then you've obviously done something wrong.
eclairs_db wrote: basically i hav to create database in mysql at run time with the help of programming
At this point, your code is of little importance. You need to configure the IDE so that it knows where to find the include files. Until you do this, nothing else matters. If you are using VS2005, see slide #7 of this. If you are using VS6, select Options from the Tools menu, and then click the Directories tab.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
now how to do tht..
IDE configuration is big thing i think
how to do tht?
|
|
|
|
|
I can't make it any clearer than I already have.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
thank you sir
u hav helped me alot
nw i hav to do it by myself
any ways
thx agn
|
|
|
|
|
Hello,
i have a PropertySheet with PropertyPages. If there is no button in a page the "OK"-button of the sheet is the default button. Otherwise the first button in the page will automatically become the default button (none of the buttons in the page has the def-btn-style). My client want me to set always the "OK"-button of the sheet as default button. So i tried SetDefID(IDOK) in the OnInitDialog-handler of the page. But it had no effect.
Is there an easy way to prevent the default behavior of the sheet or must i overwrite the WndProc() of the sheet or page and catch the message where the first button in the page is set do default?
Best regards,
Tabor25
|
|
|
|