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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

DavidR_r

@DavidR_r
About
Posts
19
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Getting call stack of a remote process
    D DavidR_r

    Hi, I want to read the call stack of another process and save it to a file. I am able to atach to the process by using DebugActiveProcess but waht is the function which reads the info from the callstack and translates the symbol information :confused:

    DavidR

    C / C++ / MFC data-structures

  • C# to C++ inter operating
    D DavidR_r

    First, you should understand rhe idea: you are tring to run unmanaged code in the manged framework. Thus, the MangedWrapper is an adaptor between the codes which by one side obeys the rules of the managed framework but is capable wrap the unmanaged code and make it managed too. So, the managed apllication calls the wrapper which calls the unmanaged code. In other words the managed code should "know" the Wrapper and the Wrapper should know the "unmanaged" and not the other direction. When you want to extend the managed appliction and to intorduce new classes you should insert the refference to the assembly (or dll in other words)in the project of the mannged application. On the other hnd the wrapper includes the h file of the unmanaged class. 2) When you create a new project choose Visula C++ project category and then Managed C++ class I hope this helps you

    DavidR

    C / C++ / MFC csharp tutorial question c++ com

  • Staticly linked MFC
    D DavidR_r

    First of all thanks for the attention. 1) VC 7.0 (2002) 2) Access Violation error 3) Yes I did, In fact when I performe a shared build there is no problem at all. So if I understood right I need to deliver 3 dll files: MFC42.dll MSVCRT.dll MFC7_0.dll DavidR

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

  • Staticly linked MFC
    D DavidR_r

    When I link my project staticly with MFC I have problem with CAsyncSocket - it rises exception on Create function. Does anybody know is there any problem? Another question (an opposite one) which dlls should be supported with a project when it is compiled with MFC as shared DLL? Thanks. DavidR

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

  • LZ algorithm
    D DavidR_r

    Hi, I want to process LZ compression on some buffer of memory. As far as I know LZExpand package enables to read only the zipped files. Can anybody give me a hint? Thanks DavidR

    C / C++ / MFC algorithms performance question

  • Convert CString to CTime / COleDateTime
    D DavidR_r

    Just for the common knowlege. This number is called UTC time and represents the number of seconds ellapsed since 1.1.1970, it is 0+ GMT time zone without day light saving addition DavidR

    C / C++ / MFC question database oracle tutorial

  • image processing
    D DavidR_r

    There is Intel mathematical library IPP which implements various functions of Image pprocessing. Check it out on the Intel web site DavidR

    C / C++ / MFC

  • Returning a value from a Worker Thread
    D DavidR_r

    Your problem is that the main thread ends its work before the working thread gets a chance to do anything. it even does not has time for the context switch. You should use events. Check the WaitForSingleObject(), CreateEvent() and SetEvent() functions in MSDN. Generally you should wait for the event in the main thread and send it from the working thread when it's finished. Good luck DavidR

    C / C++ / MFC graphics debugging question

  • High resolution Timer
    D DavidR_r

    How can I implement timer in in Windows (2000/XP )with resolution of 1 milisecond or better. Multimedia timer seems to be not accurate enough, but may be I am not using it right? Thanks DavidR

    C / C++ / MFC question

  • Urgent - Need help inserting line into text file.
    D DavidR_r

    Why would not you consider the old fashion way read the old file and create simultaneously a new file -> copy each line while they are identical, then insert the change and so on. When you finish you can delete the old file and rename the new file to the old name. You can use File class. I think it will save you much trouble DavidR

    C# help debugging

  • how to find the length or Time of the WAV file will be played using VC++
    D DavidR_r

    Wav file is divide to chunks This is the chank format: ---------------------------------- 'RIFF' 4 bytes size 4 bytes (ulong) 'WAVE' 4 bytes 'fmt ' 4 bytes size 4 bytes (ulong) 14 bytes 2 bytes (PCM) 'data' 4 bytes size 4 bytes (ulong) N bytes ---------------------------------- the format of field is as follows: wFormatTag, ushort nChannels, ushort nSamplesPerSec, ulong nAvgBytesPerSec, ulong nBlockAlign, ushort Using this data and the previous snder reply you can calculater the duration of the wav file DavidR

    C / C++ / MFC c++ help tutorial

  • problem with STL Vector
    D DavidR_r

    The question is: how do youndeclare the vector, what does it contain LocalServerInfo or (LocalServerInfo *) DavidR

    C / C++ / MFC c++ graphics sysadmin help question

  • next dialog
    D DavidR_r

    Consider use of tab control, for example this is the way for building wizards DavidR

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

  • Locking DLL
    D DavidR_r

    Thanx,It is interesting. But I am looking also for api so I could redesign the application for my specific use. DavidR

    C / C++ / MFC question

  • Locking DLL
    D DavidR_r

    Hi! How can I determine which application is using a given DLL. Let's say if I want to delete the dll file and then I get a message that DLL is locked by other application? DavidR

    C / C++ / MFC question

  • user mapping of shortcut keys
    D DavidR_r

    Read the article : "Beginner's Tutorial - Using global hotkeys " at http://www.codeproject.com/system/nishhotkeys01.asp. I think it may help you DavidR

    C / C++ / MFC tutorial c++ algorithms

  • Huffman code algorithm help!!!!!
    D DavidR_r

    I would pad the string with zeros up to length which can be divided by 8. And then I would read each time 8 characters and convert it into byte let's say by multipling already calculated part and adding value of a new bit character or by using << operator. I hope this helps DavidR

    Managed C++/CLI question data-structures algorithms help

  • How to obtain the exe name &quot;iexplore.exe&quot; of Internet Explorer using Process class
    D DavidR_r

    Use property ModuleName Process[] ProcessList = Process.GetProcesses(); ArrayList ProcessNames =new ArrayList (); foreach(Process myProcess in ProcessList) { String myString = myProcess.ProcessName ; string myModuleName; try { myModuleName= myProcess.MainModule.ModuleName; } catch { myModuleName = "no name available"; } Console.WriteLine(myModuleName); } DavidR

    C# help tutorial question

  • Sending message to a window
    D DavidR_r

    Hi, I've got an application which responds to WM_COMMAND Message with some defined Wparams Now I am writing a service in .NET which should control that application by sending him messages. The question is: how do I send a message to a window? I already created the message using the Message class, obtained the handler of the window of the desired application, but still the sending part is missed. can u help me? DavidR

    C# question csharp help
  • Login

  • Don't have an account? Register

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