Tuesday, December 11, 2007

C/C++ Tips

Q: How to call a function without calling inside main() function in C/C++ ?

A:
#pragma startup [priority]
#pragma exit [priority]
These two pragmas allow the program to specify function(s) that should becalled either:
■ upon program startup--before main() is called,
or
■ upon program exit--just before the program terminates through _exit
■Function must be declared or defined before the #pragma line reached.

Example:
#include
void f(void);
#pragma startup f
void main()

{}
void f()
{
printf("i'm called before main()...");
}

Happy Programming!

Sunday, December 9, 2007

Web Technologies

What is J2EE :
Acronym for Java 2 Platform Enterprise Edition. An application server framework from Sun Microsystems, Inc., for the development of distributed applications.
What is .Net:
The set of Microsoft technologies that provides tools for connecting information, people, systems, and devices.

Wait Guys!
I'll Get back with lot of contents ;-)

Saturday, December 8, 2007

VB Crystal Reports Doubts

Answer
hi
my problem over. i got "Runtime Error: 20728" With a Single letter "F"?. Its because of lower version of file crystl32.ocx and crpe32.dll.
Thx for your reply.
With regards
Question
hi
In VisualBasic, i got "Runtime Error: 20728" With a Single letter "F"?.