Categories

CODE
Visual C++ Programming
C++ (Non Visual C++ Issues)
Modern Windows Apps (Metro)
C++ and WinAPI
Managed C++ and C++/CLI
Visual C++ Bugs & Fixes
Graphics Programming
Multithreading
Network Programming
Driver Development
Visual Basic 6.0 Programming
Visual Basic .NET
Crystal Reports
C-Sharp Programming
Managed C++
Visual Basic .NET
ASP.NET
.NET Framework
ADO.NET
Windows Presentation Foundation (WPF) & XAML forum
Silverlight
.NET Installation and Configuration Issues
Java Programming
AJAX
Scripting - Client Side
Database
XML
Wireless/Mobile Development
Assembly
Scripting - Server Side (PHP, Perl, etc.)
Python
General Developer Topics
Project Planning, Design, and Management
Testers and Testing
Algorithms & Data Structures
General Discussion / Chit Chat
Announcements, Press Releases, & News
Feedback
Articles Suggestions
Testing Area
Programming Projects
C# Game(s) Project
Game Engine Project
C++ Coding Project
Project: Code War
Slow Chat: Talk with Microsoft Developer Teams
Slow Chat: Developing Multithreaded Applications
Slow Chat: C++0x
Slow Chat: Visual C++: Yesterday, Today, and Tomorrow
Directory Services
General Windows and DNA Programming
Windows OS Issues
Open Positions (Jobs)
Looking for Work
Visual Basic .NET FAQs
Visual Basic FAQs
CodeGuru Individual FAQs
CodeGuru Individual Visual Basic FAQs

Resources

Java Database
Linux
Coding
Mobile
Hardware
Software Development
Software Development
iOS,OS X
iOS,OS X
ORACLE
IBM DEVELOPER
IBM DEVELOPER
MSDN
MSDN


Tags

Visual C++ Programming

Ask questions about Windows programming with Visual C++ and help others by answering their questions.

Question regarding SafeArrays


Hi,    I have a large amount of data being passed from a hardware device into a safearray.  I am using this safearray t communicate all that data to a VB ActiveX Control using a event to tell the container that data is ready, but when I call the function GetData is causes all of the program to freeze, is this a problem that safearray can not keep up or something?    This is the code I'm using to get the Data, is there anything wrong in it?    SAFEARRAYBOUND  bound;  bound.cElements = 350000;  bound.lLbound = 0;    imageData->vt = VT_UI1 | VT_ARRAY;	  imageData->parray = SafeArrayCreate( VT_UI1, 1, &bound );    void * pDest;  SafeArrayAccessData( imageData->parray, &pDest );  memcpy( pDest, &hwdData, 350000 );  SafeArrayUnaccessData( imageData->parray );    Because this data can come up to 150 Hz is there a faster way of doing this. or am I stuck with SafeArrays?    Thanks


Related Links

How can my app receive notification when a new page url is visited from IE?
Zooming in MDI
Using an exported class
getting index names using ADO.... Please help me out...
Tree List
MFC class in DCOM server
can extend brush size?
Declaring classes with hungarian
All Filename in a Directory (win32)
modem
How to learn com?
Socket
How to obtain a client IP Address???
working path
Group box with check box
To add another Help link to VS menu