mfc >> Returns immediate database

by ppc_dev » Wed, 26 Nov 2003 03:22:22 GMT

Hi all,

I know that the function CeRapiInitEx returns immediately. No wait for processing.

I want to implement such a function. Returns immediate. no wait.

How do I implement such a function?


Thanks
Ko


mfc >> Returns immediate database

by Scot T Brennecke » Thu, 27 Nov 2003 12:48:24 GMT


It sounds like you want to launch a worker thread and then return.

In article < XXXX@XXXXX.COM >,
ppc_developer says...



Similar Threads

1. Help with XmlNode - HasChildNodes always returns true even no immediate child exists

2. Returns immediate function

3. return data from database

I'm using this store procedure to return data from sql server.
SqlDataReader sqlRead = null;

System.Data.SqlClient.SqlCommand ProfileBLOBSelect = new 
System.Data.SqlClient.SqlCommand();

ProfileBLOBSelect.CommandText = "[dbo].[ReceptiSearchNaziv]";

ProfileBLOBSelect.CommandType = System.Data.CommandType.StoredProcedure;

ProfileBLOBSelect.Connection = db.sqlConnection;

ProfileBLOBSelect.Parameters.Add(new 
System.Data.SqlClient.SqlParameter("@Grupa", 
System.Data.SqlDbType.NVarChar,50 ));

ProfileBLOBSelect.Parameters.Add(new 
System.Data.SqlClient.SqlParameter("@Naziv", System.Data.SqlDbType.NVarChar, 
50));

ProfileBLOBSelect.Parameters["@Grupa"].Value = table;

ProfileBLOBSelect.Parameters["@Naziv"].Value = naziv;

sqlRead = ProfileBLOBSelect.ExecuteReader();

if (sqlRead.Read())

{

   -- What should I put here?

}



How to put data into grid?


4. Inserting record into database and returning the ID of the new row - CSharp/C#

5. How to return single resultset with multiple database queries

Hi All.
This might be the wrong group to post this query, since it is ADO.NET
related, but I couldn't find any ADO.NET group.

My problem is that I want to write some queries, which use temp table
because of their complexity. My final results are in the temp tables.

How can I return a single result set from these multiple queries?

Regards,
--Jaffar

6. Returning the number of records in a database??

7. CeSeekDatabase returns 0 for the first record in the database

Hi,
I create a new database from an existing one by seeking records of the
existing one. In this second database I notice that the index of the first
record is always 0xffffffff, which states that the object identifier
returned for CeSeekDatabase is 0. All the other records in this second
database have valid object identifiers, therefore they have valid indexes.
The indexing starts with 0 with the second record of the database, and the
first record added is always positioned at the end of the database. I use
AddProps and AddRecord member functions. When I used the overloaded method
of AddRecord(&rec, ceoid), it returned a valid object identifier whose index
is 0.

I couldn't find a clue for this problem? Why does the first record always
returns null oid?



8. Immediate Execution of Csharp Code? - .Net Framework