Hai,
i have a vc++ project with different files. Can i make this into one DLL.
Or i have combined the files to a single file.and making the main function as export and the main is using someother functions inside. But whe compling i am getting an error like
error C2448: '<Unknown>' : function-style initializer appears to be a function definition
What could be done for this.
User Profile
Collapse
-
To create a DLL with the full project
-
Multiple IP usage in a single machine
I have googled and found that how to create two ip address. Now i have use the two different ip's in my socket program and send data through the different ip. I am using Winsock in windows, in VC++ 2005. Any suggestion and pointer to reading more about this.
Thanks in advance. -
Passing structure out of the functions
I have a query like i have a structure being called in the function and the values get calculated in the function. and once i am out of the function all the values in th structure are now showing value zero, Now i want the values of the structure in the calling function also.
What can be done.
i have a function called f1() in which i have defined the struct timeformat as global . And i am calling a function... -
What could be the logical error in the code snippet
what is logical error found in the code below .Could any find.
thanks in advance for your answers.Code:If( (x!=3) || (x!=4) ) printf("something"); else printf("something") -
hello,
I am also struggling with the same problem converting c structs to XML files . Could you please breif out what you did. Help to save my time instead gooling for 2-3 three days.
Thanks in advance. -
Check in the properties and include the additional lib files needed. Only including in the addtional depencies work. check it out.Leave a comment:
-
Hi,
You should have included the lib files twice. Check in the properties.Leave a comment:
-
I tried with the /doc complier option in vc+=. But the result was XML documentation not supported for C. Thats why i specifically asked for c code. if i changed the language option then there are error in the grammer and others. so specific to c language is there any way of creating a XML files.Leave a comment:
-
Writing XML file for C code
Is there any way of writing a XML file for a c code and the data calculted by it. and the value get updated each time.I am working in vc++ in windows platform.
Or any other software support to create XML files from a c program and its variables. Plz do reply within aweek as the project meeting its deadline. -
ODBC data base with the VC++
i Am programming to establish connectivity to Mysql server and when setting the attribute to the environment handle the error is invalid valueptr to the attribute.
And also the connection handle is not allocated in version 3.I need help from u ppl.
and also say the sequence , i am totall confused with MSDN.
and here is my code
[code=cpp]
ret = SQLAllocHandle( SQL_HANDLE_ENV, SQL_NULL_HANDLE ,&envr);... -
Converting floating point to IEEE format
Hi,
Any idea about how to convert floating point to IEEE format.
thanxs, -
Access violation error inVC++
i have a program to calculate the CRC for a group of array values.
SO i have program in a different file and i am passing the length and the array to the function and i am getting a access voilation error. couldnt understand why? plz help,
here is my code
crc file code
#include<stdio. h>
#include<window s.h>
#define WIDTH 16
#define TOPBIT (1<<15)
... -
I think i have got ur problem. there are unmanaged threads when using openmp.is it so?
openmp architecture is like when u specify the openmp pragma, it creates a new thread for ur loop and once finished joins the main thread.this might be ur problem. I am not versatile in openmp. But this is a new concept only less ppl use it.so keep in touch to discuss about openmpLeave a comment:
-
Is there any function to print the actual time and date when time stamp is given.
gnanapoongothai .Leave a comment:
-
Hi,
Thanks for ur reply. But u havent mentioned what is the value of result and i hope the ss is the hex format value.Leave a comment:
-
if u wan t to print just the format to %d then u will get the ascii value of characters.Leave a comment:
-
Could u breif it or give any websites to look in for deataills.
thanks for ur reply.Leave a comment:
-
Hex to IEEE format
is ther any function in c or vc++ to convert the hex value to floating point value as per ieee format. i searched google but confused with the result what actuallt they do. -
Is there function to convert UTC stamp to GMT time
hi,
i searched net, and want to know if there is any in built function to convert UTC time stamp to GMT time stamp in c/c++ or VC++ . Any suggestions plz inform me. -
diff b/w connect and connect Ex in Winsocks
i am trying to connect to the hardware which is a intelligent device from PC. i am getting data from it. So i am only giving connect statement as in cllient from the PC with IP and Port . Now when i am using ConnectEx there is error Unresolved Exteral. i tried including the lib MswSock.lib . But no use if i removed Ws2_32 lib and then add this then ntoh and hton are giving error. so Ws2_32.lib has to there .so what to do?
No activity results to display
Show More
Leave a comment: