Questions tagged [cdc]

CDC may refer to the Communication Device Class (or USB CDC). Also may refer to Change Data Capture in Microsoft SQL Server, PostgreSQL, IBM (IDR), and Informix. Also may refer to Connected Device Configuration in Java ME.

CDC acronym may refer to: the Communication Device Class (or USB CDC); or to Change Data Capture in Microsoft SQL Server, PostgreSQL, IBM (IDR) or Informix databases; or to Connected Device Configuration in Java ME.

USB communications device class (or USB CDC) is a composite Universal Serial Bus device class. It provides a single device class, but there may be more than one interface implemented such as a custom control interface, data interface, audio, or mass storage related interfaces.

The communications device class is primarily used for modems. However it also supports ISDN and fax machines. It also supports plain telephony applications for performing regular voice calls.

More details on USB CDC in Wikipedia.

577 questions
0
votes
1 answer

USB 3.0 Issues with Windows7

Please see the Equipment Used Atmel USB CDC (ACM) communicating device HP ProBook Laptop(6470b) with 2 USB 3.0 & 1 USB 2.0 ports 32bit - Windows 7 Professional edition. USB 2.0 (Type B)Cable I am having trouble when I am connecting the CDC device…
0
votes
1 answer

CDC-1.0/Foundation-1.0,J2SE-1.3

How to setup/configure the environment "CDC-1.0/Foundation-1.0,J2SE-1.3" of an OS (for example windows XP, linux)? Because I want to run the embedded AWT application which requires this environment.
user226455
  • 11
  • 3
0
votes
2 answers

Big performance difference (1hr to 1 minute ) found in SQL. Can you explain why?

The following queries are taking 70 minutes and 1 minute respectively on a standard machine for 1 million records. What could be the possible reasons? Query [01:10:00] SELECT * FROM cdc.fn_cdc_get_net_changes_dbo_PartitionTest( CASE WHEN…
Faiz
  • 5,331
  • 10
  • 45
  • 57
0
votes
1 answer

CDC finger-friendly

I've been working in a Java mobile project using j9 as a virtual machine. So far the project has been developed for an stylus interaction using AWT components. We want to create a new version of the application more finger-friendly the internal…
4NDR01D3
  • 155
  • 2
  • 10
0
votes
1 answer

store cdc history data in custom tables/another database

I want to store "change data capture" history rows in another database/table. How can I implement this? Should I use own service, which looking for cdc tables and copy rows? Can I use SSIS cdc package for this? (I never work with SSIS, and after…
orium
  • 3,743
  • 2
  • 24
  • 27
0
votes
2 answers

Why SelectObject is called twice?

I read code in MFC, but was confused with the code below: void EditView::ResetDefaultFont() { HFONT hFont = (HFONT)::GetStockObject(DEFAULT_GUI_FONT); CDC* pDC = GetDC(); CFont* pFont = pDC->SelectObject(CFont::FromHandle(hFont)); …
Al2O3
  • 3,103
  • 4
  • 26
  • 52
0
votes
1 answer

Detect USB CDC device connection/disconnection using Java and RXTX

I have an application that can run either with or without a USB CDC device attached to the machine. This device is programmed to respond to a question with a specific answer so I can detect which serial port is is connected to. The thing is, I need…
0
votes
1 answer

Find Pixel value in picture control to draw a graph

I am creating a project similar to task manager, Now I want to draw a graph to that show cpu usage. My problem is that I dont have any knowledge about painting in vc++, but my idea is that I should first make a grid like in task manager but I dont…
jiten
  • 5,128
  • 4
  • 44
  • 73
0
votes
1 answer

Unable to restart CDC after making table changes

I need to add a couple of columns to CDC for a table that is already being tracked. My approach is as follows: EXEC sys.sp_cdc_drop_job 'capture' BEGIN TRANSACTION BEGIN TRY -- Copy existing data of the tracked table into a temporary table …
0
votes
1 answer

what's the color of interior of ellipse?

In MFC: If I use CBrush like "CBrush brush; CDC* pDC = GetDC();pDC->Ellipse(start.x,start.y,end.x,end.y);", what color of the ellipse's interior will be?
Al2O3
  • 3,103
  • 4
  • 26
  • 52
0
votes
3 answers

Why function Ellipse(...) are needed twice here to draw an ellipse?

MFC: I read this code which is to draw an ellipse (not solid interior), but I cannot understand why function "pDC->Ellipse(...)" is needed twice here? (sol == 0, and do_what==DRAW_ELLIPSE) void CMy078207017Dlg::OnLButtonUp(UINT nFlags, CPoint point)…
Al2O3
  • 3,103
  • 4
  • 26
  • 52
0
votes
1 answer

Does MemoryDC occupied memory or the memory on video card?

I am using the following code to create a compatible DC: m_pDC=new CDC(); VERIFY(m_pDC->CreateCompatibleDC(sampleDC); CBitmap bitmap; if (bitmap.CreateCompatibleBitmap(sampleDC, rect.Width(), rect.Height())) { m_pOldBitmap =…
user25749
  • 4,825
  • 14
  • 61
  • 83
0
votes
2 answers

CreateCompatibleBitmap Vs SelectObject

I'm wondering , if I want to create different bitmaps, I use the CreateCompatibleBitmap function again and again, to associate it to the same memory CDC. is it the same meaning that I CreateBitmap and SelectObject again and again?? I ask this…
Steven Shih
  • 645
  • 1
  • 10
  • 22
0
votes
2 answers

Change Data Capture and SQL Server Analysis Services

I'm designing a database application where data is going to change over time. I want to persist historical data and allow my users to analyze it using SQL Server Analysis Services, but I'm struggling to come up with a database schema that allows…
Raymond Saltrelli
  • 4,071
  • 2
  • 33
  • 52
-1
votes
1 answer

Can't write data immediately after serial port have been opened (USB CDC) when reconnection of the device occurred during runtime

Introduction I have my head scratching by one thing regarding the HWCDC and serial communication. It seems like serial.open() in various frameworks (reproducible with QtSerialPort and PySerial) does some initialization that needs to finish before…
Muzosh
  • 1
  • 3