CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: dexblack

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    3,055

    Re: CreateRemoteThread() error

    I am sure you meant PROCESS_CREATE_THREAD but there is MUCH more to this.
    You have read the CreateRemoteThread documentation haven't you?

    After you get back from (re)reading the doco, read this...
  2. Replies
    4
    Views
    1,052

    Re: Final c++ Project

    Drawing a filled rectangle is going to be slightly faster and simpler than loading and drawing a bitmap. It is also more flexible since you can rescale with having to worry about the resolution of...
  3. Replies
    1
    Views
    3,296

    Re: is there an implementation of IEnumString?

    Probably, but you won't get access to the source code.
    Write your own. ATL provides the ICollectionOnSTLImpl interface to enable you to quickly implement Standard Template Library (STL)-based...
  4. Re: Question about using pointer with reference

    The key here is that RefFunc force p to point to the address of a local variable.
    The contents of stack values (like q) cannot be counted on after the function returns.
  5. Re: Notification when windows user is createad or deleted

    Please state the nature of the actual problem you are trying to solve.
    Perhaps there is another way that does not involve your proposed solution.
  6. Replies
    8
    Views
    94,860

    Re: Serial port program in c language

    A serial port is a very dumb device.
    You MUST know the protocol you intend to use between the communicating software components. In many cases you are 'talking' to another computing device (scanner,...
  7. Re: how can i customise my own file extension format?

    You can only prevent users from changing the file NAME through the use of an Access Control List.
  8. Re: how can i customise my own file extension format?

    Here is a commercial product that does what you are describing http://www.newsoftwares.net/folderlock/
  9. Re: how can i customise my own file extension format?

    You have two separate problems.
    1. File association (now solved but with the caveat that it can be changed)
    2. Preventing other software from "interpreting" NOT reading the contents of the file....
  10. Replies
    3
    Views
    1,512

    Re: DLL error in windows 7

    Perhaps you could read this too
    http://www.dnjonline.com/article.aspx?id=jun07_access3264
  11. Replies
    3
    Views
    1,512

    Re: DLL error in windows 7

    Sorry, but you haven't been very clear about the problem.
    Is the "script like tool" provided as a COM dll? Is it 32 bit?
    In one of your statements you say "x86 and x64 versions of this program are...
  12. Replies
    4
    Views
    18,208

    Re: How Exactly Does Folder Lock Works?

    A file system driver, encryption software and the stealth mode is probably using a simple keyboard driver (or if they were lazy possibly a registry hack to add the shortcut key). The lock file can be...
  13. Replies
    1
    Views
    2,565

    Re: Can I make svn not checkout certain files?

    Organise SVN better and keep the image files in a separate project.
    Then either use partial checkouts (i.e. depth parameter) and/or external declarations to control which projects are downloaded.
    ...
  14. Re: XSL to Convert XML to Text - Alignment Issue

    Sorry to see you got no response on that question.
    Are you still interested in getting an answer?
  15. Replies
    8
    Views
    3,346

    Re: listing processes

    You could try using just PROCESS_QUERY_LIMITED_INFORMATION and QueryFullProcessImageName (Vista upward) or GetProcessImageFileName (XP)
  16. Replies
    4
    Views
    1,048

    Re: substr() character length

    If you can "request" a substring then you already know it's length.
    Either you are using (offset,length) to get the substring or iterators i.e. (first,last)
    In the first case your answer is...
  17. Re: atol seems to be giving access violation w/ calloc

    For POD (plain old data) initialise every declared variable and class member, always. NO exceptions.
  18. Replies
    3
    Views
    1,243

    Re: Threading in Games

    When building a multithreaded system of any sort one of the big issues is data handling.
    Threads can all 'see' process' memory, but when it comes to sharing one usually splits reader/writer roles....
  19. Re: Enforcing single thread in MFC ActiveX using Mutex

    Are you protecting the right resource with your mutex?
  20. Replies
    9
    Views
    2,817

    Re: Quick thread safety question

    InterlockedExhange64 would work on an 8 byte double value.
    e.g. static double x = 0.0; InterlockedExhange64((LONGLONG*)&x, (LONGLONG)newvalue);
    This is NOT a recommended practice but would work....
  21. Replies
    56
    Views
    15,519

    Re: Problems in stopping the Windows Service

    Or you could just use the service framework library SFL
  22. Replies
    56
    Views
    15,519

    Re: Problems in stopping the Windows Service

    No need to write a program to start/stop services.
    net start service
    net stop service
  23. Re: [PRJ] Find the longest directory (path), print the path,depth Level UDP Communica

    Igor Vartanov's advice is really solid.

    Analyse the requirements and break it down into small individual programming tasks.
    Write code modules for each aspect, e.g. client_main, client_ui,...
  24. Re: [PRJ] Find the longest directory (path), print the path,depth Level UDP Communica

    Creating a UDP Datagram Socket Application
  25. Re: [PRJ] Find the longest directory (path), print the path,depth Level UDP Communica

    Using UDP Services
Results 1 to 25 of 54
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured