Home > Archive > SQL Anywhere ultralite > October 2005 > custDB_this_pointer_syncronize









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author custDB_this_pointer_syncronize
Rado

2005-10-27, 7:41 am

Hi!

in a app similar to custDB application when i press
syncronize in menu bar, the "this" pointer is not getting
populated with parameters(ex: m_Stream,m_EnableAle
rt etc) .i
have defined them in custdb.h.

iam getting error at _db->GetCA().

what might be the problem ?Pls advice,

thanks/Rado
Greg Fenton

2005-10-27, 7:41 am

Rado wrote:
> in a app similar to custDB application when i press
> syncronize in menu bar, the "this" pointer is not getting
> populated with parameters(ex: m_Stream,m_EnableAle
rt etc) .i
> have defined them in custdb.h.


Please, *always* post the version and build number of SQLAnywhere that
you are using (e.g. use the command "dbeng9 -v" for SQLAnywhere 9.x).


What do you mean by "similar"? Is this simply a modified CustDB or have
you written an entirely new app?

What datatype is "this" if it doesn't have those members?


>
> iam getting error at _db->GetCA().
>


What is the error?
Can you show us the code?

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Rado

2005-10-27, 7:41 am

Hello Greg,

the version is : 9.0.2.3137

I have written an entriely new app .it has the structure
similar to custDB (i.e the CdemoDB custdh.h CustUI.cpp ).

this should be DemoDB , DemoDB it self is not getting
populated.
usually for DemoDB->Synchronize , in the debugger window we
see DemoDB tree with parameters in it (M_Stream,
m_EnableAlert etc).For me the tree it self is not
appearing.There is no plus sign between Demodb in the
debugger window.


while debuggin we go into DemoDB->Synchronize()
into ulapi.cpp to:
//////////////////////////////////////
bool ULConnection::Synchr
onize( p_ul_synch_info info )
{
if( !set() ) return false;
ULSynchronize( _db->GetCA(), info );
return LastCodeOK();
}
//////////////////////////

error message: Uknown Exception at 0X5f3497
( set_12ULConnectionFV
)(ID=0XBC)

thenks/Rado


> Rado wrote:
>
> Please, *always* post the version and build number of
> SQLAnywhere that you are using (e.g. use the command
> "dbeng9 -v" for SQLAnywhere 9.x).
>
>
> What do you mean by "similar"? Is this simply a modified
> CustDB or have you written an entirely new app?
>
> What datatype is "this" if it doesn't have those members?
>
>
>
> What is the error?
> Can you show us the code?
>
> greg.fenton
> --
> Greg Fenton
> Consultant, Solution Services, iAnywhere Solutions
> --------
> Visit the iAnywhere Solutions Developer Community
> Whitepapers, TechDocs, Downloads
> http://www.ianywhere.com/developer/

Rado

2005-10-27, 7:41 am

Hello Greg,

Yes the DemoDb and 'this' pointer is getting populated .

But i still get the error mentioned above.

----------
[color=darkred]
> Hello Greg,
>
> the version is : 9.0.2.3137
>
> I have written an entriely new app .it has the structure
> similar to custDB (i.e the CdemoDB custdh.h CustUI.cpp ).
>
> this should be DemoDB , DemoDB it self is not getting
> populated.
> usually for DemoDB->Synchronize , in the debugger window
> we see DemoDB tree with parameters in it (M_Stream,
> m_EnableAlert etc).For me the tree it self is not
> appearing.There is no plus sign between Demodb in the
> debugger window.
>
>
> while debuggin we go into DemoDB->Synchronize()
> into ulapi.cpp to:
> //////////////////////////////////////
> bool ULConnection::Synchr
onize( p_ul_synch_info info )
> {
> if( !set() ) return false;
> ULSynchronize( _db->GetCA(), info );
> return LastCodeOK();
> }
> //////////////////////////
>
> error message: Uknown Exception at 0X5f3497
> ( set_12ULConnectionFV
)(ID=0XBC)
>
> thenks/Rado
>
>
> app? >
> members? >
Greg Fenton

2005-10-27, 7:41 am

Rado wrote:
>
> error message: Uknown Exception at 0X5f3497
> ( set_12ULConnectionFV
)(ID=0XBC)
>


What is the function "set()". That appears to be causing the problem
(at least, that's what I think it is...)

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com