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
J

JStrings

@JStrings
About
Posts
8
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Honest Question: What do you do when you lose motivation to code?
    J JStrings

    Good comment. I've been writing code since 1966 - I was actually the first person at The University of Kansas to major in Computer Science, though it had to be called B.A. in Math with Emphasis in Computer Science because it had not been officially recognized until the year after I graduated. However, in this long life of writing programs, I've hit this wall several times. I learned that it is temporary and whenever I was left feeling frustrated and empty, I just went for a walk, played my guitar for awhile, took a nap -- whatever it took to get past the roadblock. The reward for cracking a tough nut was making the computer perform some cool backflip, clever dance, or magic trick. Part of what I enjoyed being part of the first wave of independent developers was being ultimately responsible for a large, multi-function, monolithic, high-reliability application for a small target user-base. I'm "retired", but in this business, there's really no such thing. Enjoy life.

    TwangGuru www.twangguru.com

    The Lounge question help

  • Windows 10 / D3D9 Master Adapter Failure
    J JStrings

    Thanks for your reply, but the answer is we're not "starting off". This is a product that has been sold for several years. There is no reason why a D3D9 application should not work on Windows 10... when the same application works fine in 8.1, etc. To redesign this product for D3D11 would take serious time, considering the development, testing and deployment cycles. This is NOT a simple D3D9 app... it's a complex application comprising 10000s of lines of codes and which is used in environment which demands high reliability. The port might be appropriate for a student project, but not the best path for this project.

    TwangGuru www.twangguru.com

    Graphics com question announcement

  • Windows 10 / D3D9 Master Adapter Failure
    J JStrings

    Has anyone else found that a D3D9 full screen app (D3DCREATE_ADAPTERGROUP_DEVICE) that has worked well up to Win 8.1 fails with Windows 10 after the August update? d3d9->CreateDevice fails with D3DERR_INVALIDCALL. As I said... the code works with Win 8.1, Win 8, Win 7, Vista... and with original Windows 10 developer preview... but NOT after August update. Any tiny clue would be appreciated. I'd be happy to post present params, and other support code. Mainly, I'd like to know if anyone else has experienced this?

    TwangGuru www.twangguru.com

    Graphics com question announcement

  • Conditional compilation of Resources (.RC)
    J JStrings

    Suffice it to say that it does NOT work with the project that I'm working on at this point... but I'm happy with the work-around I discovered. As I said earlier... the problem probably has to do with a) the size of the program; or b) the number of times the project has been imported through iterations of VisualC++, VisualC.Net, VisualStudio2005, 2010, etc. Thanks to anyone who looked at this...

    TwangGuru www.twangguru.com

    Visual Studio c++ csharp visual-studio wpf com

  • Conditional compilation of Resources (.RC)
    J JStrings

    Richard... the problem is that conditional compile of resources is NOT working. Adding a symbol to the Project Properties/Resources/General/Preprocessor Definitions (eg. CONDITION1) is not resulting in the resource with Condition set CONDITION1 being added to the .EXE. Because you don't use VS2010 Pro you can't actually see the Resource Properties box. I discovered through analyzing the build log that the command line for rc.exe was shown correctly in Project Properties/Resource/Command Line, but was NOT being communicated to the actual rc.exe command line. Anyway... found a work around. This is to actually add /D "CONDITION1" to Project Properties/Resource/General/Additional Options. Then the command line is formed correctly. BTW... I have to wonder if the issue with my project is that it is very large... over 250,000 lines with hundreds of resource file, and hundreds of source files. In addition, this program has a 10+ year legacy and has been imported and upgraded through several version of VS. I hope this will be helpful to others working on large projects in VS2010 professional.

    TwangGuru www.twangguru.com

    Visual Studio c++ csharp visual-studio wpf com

  • Conditional compilation of Resources (.RC)
    J JStrings

    I use VS2010 Professional... I have a copy of VS2010 Express, but it says "Resource editing is not supported on the Visual Express C++ SKU??? I think this is something new. However, I don't usually use Express... I wonder how the command line is communicated to the resource compiler? I think this is where the problem lies.

    TwangGuru www.twangguru.com

    Visual Studio c++ csharp visual-studio wpf com

  • Conditional compilation of Resources (.RC)
    J JStrings

    Thanks... but my point was that manual editing is the only way I've found to do this... and yes you can manually edit the .RC file in Visual Stucio 2010... it's just the the next time you try to use the visual resource editor it will mess with your work. However, as long as you don't edit sections that are set off by APPSTUDIO_ defines, you can edit to your heart's content. However... dang it... the Visual resource editor provides a "Condition" for compilation... the language condition seems to work, but the Condition does not... no matter where you insert the preprocessor symbol (in the Project Properties, in the resource.h file, on the command line (/D switch of the Resource compiler.) The USED to work with previous version of Visual Studio... what the heck happened. Here's a link from the MSDN Visual Studio discussions: MSDN-Visual Studio Forum: Preprocessor directive for resource inclusion Problem is... this doesn't work as described. Thanks again... -JS P.S. Maybe a clue... the rc.exe command line as shown in the Property Pages for the project is: /D "_DEBUG" /D "TAVVERSION73" /D "_VC80_UPGRADE=0x0710" /D "_UNICODE" /D "UNICODE" /l 0x0409 /v /fo"Debug\%(Filename).res" However, the command line as shown by the project build log is: /D _DEBUG /l"0x0409" /v /fo"Debug\TeleScriptAV.res" TeleScriptAV.RC Where did my additional proprocessor symbols go???!!!

    TwangGuru www.twangguru.com

    Visual Studio c++ csharp visual-studio wpf com

  • Conditional compilation of Resources (.RC)
    J JStrings

    I have to create a private label version of my software which means redesigning icons, splash screen, some embedded strings, etc. I've been trying to negotiate the "Condition" box in resource properties but Visual Studio seems to periodically rename, eliminate or simply refuse to create the templates. Does anyone have any experience with something similar: Visual Studio 2010 Language: C/C++ (API--no MFC) Target: Windows Vista and higher I've had the best luck with manually editing the .RC file, at this point... but APPSTUDIO messes with this. One more note... STRINGTABLE entries are next to impossible. Thanks... By the way... if

    TwangGuru www.twangguru.com

    Visual Studio c++ csharp visual-studio wpf com
  • Login

  • Don't have an account? Register

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