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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ZakiMaksyutov

  1. ZakiMaksyutov

    Can I delete row from EXCEL via DDE?

    Hello! My application exports to Excel via DDE some information. I know how to add new rows, but I don't know how to delete ones? May be someone can help? It would be very great! Thank, Zaki Maksyutov
  2. ZakiMaksyutov

    How to activate window?

    Hi, tchouch! Thanks a lot for your help! All is ok.
  3. ZakiMaksyutov

    Drawing in Dialogs Windows

    1) create MFC-based dialog application; 2) catch WM_PAINT message (do it with ClassWizard); 3) put code written by DrkPalladin in function OnPaint...
  4. ZakiMaksyutov

    How to activate window?

    Hi! My application should activate itself when something occurs (when it receives a message). But I do know how to do it. May be someone helps? Thanks a lot!
  5. ZakiMaksyutov

    Moving mouse

    Thank for your answer! In fact, I found decision a long time ago. But thanks once again!
  6. ZakiMaksyutov

    Can I see counters for mutexs?

    Hi! I use WaitForSingleObject and ReleaseMutex in one program. Often one function do WaitForSingleObject, then call another function which also do WaitForSingleObject. I output to file when I catch object and release them. But also I would like to output counters for these objects (how many...
  7. ZakiMaksyutov

    Calling DLL's from Visual C++ 6

    I think your Dll functions "GetMakes" and "test" are declared without specification _stdcall (CALLBACK).
  8. ZakiMaksyutov

    COleSafeArray

    MSDN the best...
  9. ZakiMaksyutov

    Processing own messages in VB

    Hello! I have C++ DLL and VB client. In C++ DLL there is a function to setting callback function. Accordingly, VB call this function (in C++ DLL) and pass pointer to own callback function. When one event is occured, C++ DLL calls this VB callback function. I have to do some operations with new...
  10. ZakiMaksyutov

    register dll

    Start VC++. File->New->(AtlComAppWizard, name the project, click ok)->finish. In your test project you can find DllRegisterServer and DllUnregisterServer.
  11. ZakiMaksyutov

    register dll

    In C++ it is easy. Dll have DllRegisterServer and DllUnregisterServer and you can change them manually. So you can simply add additional code which may insert additional registry entries. and when regsvr32 yourdll.dll then DllRegisterServer (with additional code) will be executed.
  12. ZakiMaksyutov

    How to kill NT-Service?

    I can get handle of service process, but I can't terminate it by TeminateProcess because I don't have rights: service Log On As LocalSystem and I don't. I overcame this restriction by following way: I wrote another service which have one interface with one method. I can invoke this method from...
  13. ZakiMaksyutov

    How to kill NT-Service?

    I write NT-Service. Now It works not well. So It hangs down sometimes. After this of course I can't stop it from "Services". And also I can't stop it via taskmanager. Thanks for any help.
  14. ZakiMaksyutov

    Getting raw data from COM EXE-server.

    no I wanted to have method GetData in interface IExeTestServer of my COM EXE-Server which should return some data.
  15. ZakiMaksyutov

    Getting raw data from COM EXE-server.

    Ok. Problem was solved. STDMETHODIMP CExeTestServer::GetData(VARIANT* pvar) { // Data: char* lpszData = new char[64]; strcpy(lpszData, "Hello, world!"); // Creating and filling SafeArray. long lBytes = (strlen(lpszData)+1)*sizeof(char); SAFEARRAYBOUND aDim[1]...

Part and Inventory Search

Back
Top