Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: RaKKeR
  • Content: Threads
  • Order by date
  1. RaKKeR

    DoEvents and Modal Forms = Hell

    Dear Programmers, I'm experiencing a problem that is a real pain in the ass. As VB doesn't support threading, our project uses a VC++ dll that starts some thread for heavy load processes. This is how we wait for the thread to finish: ... While WaitForSingleObject(ThreadID,200) = WAIT_TIMEOUT...
  2. RaKKeR

    Implementing unmanaged C++ interface

    Hi, I am wondering if its possible to implement an interface made with the good old unmanaged C++ in C# and than use that implementation from unmanaged C++? Lets say I have a pure virtual class in the file "Idata.h". I want to implement it in C#, but I want to use the implementation from C++...
  3. RaKKeR

    Implementing unmanaged C++ class from .net

    Hi, I made a C++ library with an interface (header-file with pure virtual function) that needs to be implemented in order to get another class from the library to work. The implementation is up to a third party user, but they seem to use the .NET environment. What would be the best way to make...
  4. RaKKeR

    Linking Problem

    Hi, This may be a stupid question, but I'll ask it anyway. Is it possible to merge a bunch of lib-files into one static library that has no dependencies? Let's say I have two libraries lib1.lib and lib2.lib. Lib1 uses lib2 to function correctly. Can I merge lib1 and lib2 into lib3 which has...
  5. RaKKeR

    My mfc app crashes sometimes

    Hi, I created a little app that just shows a modal dialog window with a message for the users to wait while the OS is installing devices. In the OnInitDialog function from the dialog window a thread is started which checks if there are pending install events and closes the dialog window when...
  6. RaKKeR

    USB detection

    Hi, Our company uses USB drives to distribute new software updates for our machines. The problem with the USB drives on the XP embedded systems is that they are either detected very slow (I guess the driver installation is taking long...) or even not detected at all. In the first case we want...
  7. RaKKeR

    database locked exclusive

    Hi, I'm using DAO to open an excel file as a database (I know, it can be done much better...) with the OpenDatabase method. The problem is that this method sometimes fails with the error message "Workgroup File is missing or file is opened in exclusive mode by other user". I downloaded a...
  8. RaKKeR

    DAO recordset and Excel Memory Leak?

    Hi, I use a DAO recordset to change some values in an excel worksheet. The problem is every time the update method from the recordset is fired the memory usage increases and stays allocated. Is this a known issue? Here is some pseudo-code to show you where the problem is: <code> Dim db as...
  9. RaKKeR

    USB sticks

    Hi, Our company uses USB memory sticks to let users update their machinesoftware. The problem is that even when we install the drivers for those sticks before the machines are delivered, new sticks (even sometimes when they are the same brand) need a driver update and that can take a while. The...
  10. RaKKeR

    Variable Scope

    Hi, Is there a way to make all variables declared outside a function available for the function without having to write a long list like: global $var1, $var2, ... ? I need this for an error handling function which has to prematurely end the php script after including a template page which uses...
  11. RaKKeR

    Detect corrupt files

    Dear programmers, I would like to know if and how I can detect when a file is corrupt (e.g. power down while file was being copied). I thought the function CopyFile() would fail in that case, but that was not the case. I did the following test: I took a very big file and copied it to a specific...

Part and Inventory Search

Back
Top