Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

DSPCottage

@DSPCottage
About
Posts
39
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to find the Process ID of TAPI Service in windows by using VC2000
    D DSPCottage

    Dear Experts, In one project, I sometimes have to reset the TAPI Service when I find network cable is disconnected and connected. I know I could get TAPI process ID in VC2005 by using EnumServicesStatusEx function. But because my code is in VC2000, I have to get it in VC2000. I find a code snippet which use CreateToolhelp32Snapshot and Process32Next to find process IDs in VC2000. But it gives me several svchost.exe which only one belongs to TAPI service. My question is : how I could find TAPI service Process ID in VC2000. Regards Mahdi

    C / C++ / MFC sysadmin tutorial question

  • Unicode CString and fopen problem
    D DSPCottage

    Thanks , It works.

    C / C++ / MFC c++ data-structures help

  • Unicode CString and fopen problem
    D DSPCottage

    Thanks , it works perfect.

    C / C++ / MFC c++ data-structures help

  • Unicode CString and fopen problem
    D DSPCottage

    Dear Experts Previously I could open a file by using following code snippet in Visual C++ 6 : CString fileName = "c:\\1.bin"; fopen(fileName,"wb"); But now I switched to visual C++ 2005 and activate unicode character set, but above code does not work. Please give a code snippet that I can use to feed a CString as a array of TCHAR to fopen function. Thanks Mahdi

    C / C++ / MFC c++ data-structures help

  • about MBCS and unicode in Visual C++ 2005
    D DSPCottage

    Dear all I have a project which can be both compiled with VC6 and VC 2005 When I compile it by VC6, the content of LPCSTR is one byte per character but when I compile the project under VC2005 , I find that each character of LPCSTR is consist of 2 bytes which first byte contains the character data and second byte contains a "0" in it. thus I cant show the data properly as I want what happened under VC2005 could you please help me how I can overcome this problem. Is is about unicode and MCBS How can I disable it under VC2005 Could you please send me an article for this problem. I want to become more familiar with UNICODE thanks in advance Mahdi

    C / C++ / MFC c++ help question

  • Call Stack in Visual C++ 2005
    D DSPCottage

    thnax a lot

    C / C++ / MFC help c++ data-structures tutorial

  • Call Stack in Visual C++ 2005
    D DSPCottage

    Dear All I have one project in VC2005. In has mose run time error. But I dont know how to use call Stack in VC2005. In VC2000, a Call Stack item exists But in VC2005 in "view->Other Windows " there is no Call Stack Could you please help me for this problem. Regards Mahdi

    C / C++ / MFC help c++ data-structures tutorial

  • about class wizard on Visual C 2005
    D DSPCottage

    thanks It was really helpfull.

    C / C++ / MFC help tutorial question

  • about class wizard on Visual C 2005
    D DSPCottage

    Dear All I want to create the OnDestroy command in VC2005. But because there is no ClassWizard in it, I dont know how to do this could u please help me? Regards Monhi

    C / C++ / MFC help tutorial question

  • about vc 2005
    D DSPCottage

    Dear all I created a console application in vc 2005. but when I transfer the exe program to another computer and click on it to execute I get following error : " The application has failed to start because the application configuration is incorrect reinstalling the application may fix this problem. " could you please let me know what is the reason of this error. regards Mahdi

    C / C++ / MFC help question workspace

  • about dlls in visual C ++ 6 and Visual C++ 2005
    D DSPCottage

    Thank you mr nave you are my abroad friend. Hope you to be successfull. Regards Mahdi

    C / C++ / MFC c++ visual-studio help tutorial

  • about dlls in visual C ++ 6 and Visual C++ 2005
    D DSPCottage

    thank you mr Nave I found that I didnt export functions of dll. But i dont know what dependency walker is. whould you please let me know about it. I download a tiny software to see the export list of the dll. Regards Mahdi

    C / C++ / MFC c++ visual-studio help tutorial

  • about dlls in visual C ++ 6 and Visual C++ 2005
    D DSPCottage

    Dear all I have two programs: 1. the source code of a dll suppose that a.dll 2. the source code of program which uses a.dll suppose b.exe. both of them were written in vc6 IDE, and both are operational now I compile the a.dll in visual C++ 2005. but when I want to use a.dll with b.exe , when I call GetProcAddress to retrieve the address of functions , Null value is returned. I dont know how to overcome this problem. If u have any idea please let me know. I must say that a.dll should be backward compatible , thus it is not possible to change b.exe program. Regards Mahdi

    C / C++ / MFC c++ visual-studio help tutorial

  • managing database queries
    D DSPCottage

    Dear All in a multi threaded system, I want to access the sql server 2000 data base in 15 separate threads. But now, when the connection of data base is lost , threads find it separately and they can not make other threads aware of this situation, also it is not possible to organize and manage the data base systematically. now I want to manage my data base with better mechanisems. I'd like to use design patterns for this purpose. But I didn't find any useful information in this regard yet. May you please let me know any information in this regard. Thanks in advance Mahdi

    Database database sql-server design sysadmin

  • Converting CString to char*
    D DSPCottage

    May you please give me an article about UNICODE ? Regards Mahdi

    C / C++ / MFC c++

  • Converting CString to char*
    D DSPCottage

    But it appears that VC2005 doesn't support (LPSTR) or (LPCTSTR) operator. isn't it? Regards

    C / C++ / MFC c++

  • Converting CString to char*
    D DSPCottage

    Visual C++ 2005 doesn't support (LPCTSTR) cast operator. thus I need an interface to change a CString object to a char* exactly now I am porting an project from VC6 to VC2005 and it is my problem Regards Mahdi

    C / C++ / MFC c++

  • Converting CString to char*
    D DSPCottage

    Thanks It was great

    C / C++ / MFC c++

  • Converting CString to char*
    D DSPCottage

    Dear All In visual C++ 2005 I want to change a CString file to char* I used following code But fopen needs a char* for its first parameter Please let me know what to do Regards char buffer[MAX_PATH]; GetModuleFileName(NULL,(LPWCH)buffer,MAX_PATH); CString path = buffer; path = path.Left(path.ReverseFind('\\')+1); path += "result.mp3"; f = fopen( path , "wb");

    C / C++ / MFC c++

  • Loading DLLs more than once
    D DSPCottage

    The DLL which I want to use is a mp3 compressor which only compresser the sound of a channel. But I need to do the same job for 15 channels at least. Thus it was neccessary to load it more than 15 times.

    C / C++ / MFC
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups