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

Search:

Type: Posts; User: Codeplug

Page 1 of 77 1 2 3 4

Search: Search took 0.16 seconds.

  1. Replies
    14
    Views
    1,890

    Re: Worrying std::string problem

    http://forums.codeguru.com/showthread.php?554455-Passing-a-struct-to-and-from-a-DLL&p=2194163#post2194163

    A longer type-up of what 2kaud has explained...

    gg
  2. Re: Changing all vcxprojs recursively for the whole solution

    When you are in the IDE looking at a project's properties - you can multi-select projects to affect changes in all the selected projects. But this is most useful to ensure all the projects have the...
  3. Re: Keep folder/module structure when importing source code from other sources

    I've just used "add files to project" - which at least allows you to add multiple files at once.

    gg
  4. Re: Keep folder/module structure when importing source code from other sources

    Not sure I fully understand the question but - just add the files to the project where they reside. You can use project properties to set where to search for includes and where resulting build files...
  5. Replies
    1
    Views
    886

    Re: Cannot insert into unordered_map

    I would step into GetBoneOffsetMatrix and make sure it is returning a valid pointer. You could also remove the reference and step into the copy-constructor of offsetMat to see if the problem is there...
  6. Replies
    2
    Views
    3,520

    Re: Wrong function called in DLL

    Couple things... When using all virtual methods, you do no need dllimport/dllexport. The methods are being called through function pointers or a "jump table" - which we call the v-table. So the code...
  7. Replies
    17
    Views
    23,631

    Re: Help! free() invalid pointer error

    >> ... "%s", buffer);
    You are assuming that buffer is a NULL terminated string. But recv() could fill the whole thing up w/o a terminator.

    gg
  8. Re: [RESOLVED] how make a multithread synchronization correctly?

    No test is needed. When two or more threads access the same memory location, and at least one of those threads is writing then proper synchronization is needed - otherwise you have unsynchronized...
  9. Re: [RESOLVED] how make a multithread synchronization correctly?

    Unsynchronized Access/Race Condition on lines:
    54,56,58,60
    68,70,72,74
    104,115,116
    123,134,135

    >> i use a delay(sleep()) for garantie ...
    That is far from any type of garantie.

    You are...
  10. Replies
    15
    Views
    18,842

    Re: Passing a struct to and from a DLL

    Think of it like this: When classes are passed across module boundaries and their methods are called, where does the code of that method reside? In which module do the classes data members reside -...
  11. Replies
    15
    Views
    18,842

    Re: Passing a struct to and from a DLL

    As long as both sides of the DLL boundary use the same CRT/C++ DLL (not static), and the same compiler settings - then it should work.

    gg
  12. Re: Troubles with opening CG forums started Oct 26 2015

    Same here. Good fix :)

    gg
  13. Replies
    3
    Views
    8,395

    Re: How can I use proxy in OpenSSL?

    Look at the openssl(.exe) code and see what it does with the -proxy option.

    gg
  14. Replies
    2
    Views
    1,240

    Re: Prevent screen saver from activating

    You may want to use SetThreadExecutionState in addition to the above - to prevent sleeping.

    gg
  15. Replies
    3
    Views
    8,395

    Re: How can I use proxy in OpenSSL?

    https://www.openssl.org/docs/manmaster/apps/s_client.html

    Look at the openssl(.exe) code and see what it does with the -proxy option.

    gg
  16. Re: Troubles with opening CG forums started Oct 26 2015

    So far so good. Seems a bit snappier too (even with all the stuff I don't GET).

    gg
  17. Re: Troubles with opening CG forums started Oct 26 2015

    My Chrome doesn't load ads (sorry). While inspecting the "Network" in Chrome, the 4th GET request is where I get the 500:

    34037

    (2nd request was intentionally blocked)

    gg
  18. Re: Troubles with opening CG forums started Oct 26 2015

    Occurred while checking this thread.
    F5 - occurred again.
    One more was good - and this reply.

    gg
  19. Re: Troubles with opening CG forums started Oct 26 2015

    I couldn't repro it yesterday - but just now I repro'd it 3 times in a row.


    ...
  20. Re: Troubles with opening CG forums started Oct 26 2015

    +1

    gg
  21. Re: Troubles with opening CG forums started Oct 26 2015

    Just got a 500. Still seems rare.


    GET...
  22. Re: Troubles with opening CG forums started Oct 26 2015

    Arjay's screenshot is consistent with the 500 from post +20. It's happened one other time since, so it doesn't occur nearly as often as before.

    gg
  23. Re: Troubles with opening CG forums started Oct 26 2015

    I'm still getting a css issue occasionally - so I left the Inspect Element window open on CG until it repro'd again...here it is:


    GET...
  24. Re: Troubles with opening CG forums started Oct 26 2015

    I just reproduced it in Chrome while "inspect element" was active:


    GET...
  25. Thread: Issue in c

    by Codeplug
    Replies
    4
    Views
    5,521

    Re: Issue in c

    listOfPolicyRuleInfo itPolicyRule = ...
    itPolicyRule is the wrong type.

    gg
Results 1 to 25 of 1917
Page 1 of 77 1 2 3 4





Click Here to Expand Forum to Full Width

Featured