Home » Developer & Programmer » Precompilers, OCI & OCCI » return string from dll vc++ to oracle (oracle forms 6i,windows xp)
return string from dll vc++ to oracle [message #405109] Tue, 26 May 2009 07:05
jihad
Messages: 1
Registered: May 2009
Junior Member
i m able to return integer to oracle but
please i want to return a string into oracle.

what is the command in vc++ dll for returning string
i mean what i have to put instead of int

extern "C" __declspec(dllexport) int __cdecl Car(int radius);

am sending hi from oracle into radius and i ant to get back "hello" in str.

this is my function in the dll vc++2005:

__declspec(dllexport) CString __cdecl Car(CString radius)
{
CString str = "Hello";
return str;
}

but its now working
Previous Topic:OCI programming (merged 3)
Next Topic:compile pro*c
Goto Forum:
  


Current Time: Sun Nov 8 18:26:56 CST 2009

Total time taken to generate the page: 0.20048 seconds
.:: Forum Home :: Blogger Home :: Wiki Home :: Contact :: Privacy ::.