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
B

b rad311

@b rad311
About
Posts
75
Topics
26
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Decimal data type in visual studio 2008
    B b rad311

    Hi everyone, I need a base-10 data type, and was wondering if there is one for the environment that I'm using. I'm using C++ in Visual Studio 2008 (Standard Edition). I know there is one in vb.net and c#. I've tried ::DECIMAL but it says this is undeclared. Thanks.

    .NET (Core and Framework) csharp c++ visual-studio workspace

  • how to register dll or ocx file via c++ code
    B b rad311

    Alternatively, can the .ocx file be embedded into the binary??

    C / C++ / MFC c++ tutorial question

  • how to register dll or ocx file via c++ code
    B b rad311

    Thanks Ash, Will this work on Vista and Windows 7 with them having the extra security features?

    C / C++ / MFC c++ tutorial question

  • how to register dll or ocx file via c++ code
    B b rad311

    Hello, Does anyone know how to register a dll or ocx file using c++ code (in particular I'm using vc++ 2008 standard)? I need it to work for Vista and Windows 7. Thanks!

    C / C++ / MFC c++ tutorial question

  • mfc executable won't run on other machines
    B b rad311

    Thanks. I thought that by setting it to statically link mfc that all the necessary dll's would be imbedded into the binary, thus avoiding having to install the redistributable. Am I wrong?

    C / C++ / MFC csharp c++ help announcement dotnet

  • mfc executable won't run on other machines
    B b rad311

    Hi, the dependency walker has a question mark besides the following dlls: GPSVC.DLL IESHIMS.DLL Would I try to locate these on my machine and then keep them in same folder as executable?

    C / C++ / MFC csharp c++ help announcement dotnet

  • mfc executable won't run on other machines
    B b rad311

    Hi everyone, I built an mfc application using visual studio 2008 (standard edition) c++ on a windows 7 OS. I've compiled the code as a "Release" build and it works great on my machine, but won't execute at all on any other machine (whether its Windows 7, xp, vista, etc). No error messages or anything. You briefly get the hour glass and then nothing. I've set the following options: "Use MFC in static library" and I've set the Runtime library to "Multi-threaded (/MT)" Any ideas? Thanks! P.S. The .net framework is the same version for my machine as for the others that I'd like it to run on, so that doesn't seem to be the problem.

    C / C++ / MFC csharp c++ help announcement dotnet

  • rounding doubles to set # decimal places
    B b rad311

    Excellent, this did exactly what I was needing. Thanks! One thing I noticed was when I used -265.3215894 with n=2, it returns -265.31 instead of -265.32 Any thoughts on this?

    C / C++ / MFC c++ tutorial question

  • rounding doubles to set # decimal places
    B b rad311

    Thanks for the help Ash!

    C / C++ / MFC c++ tutorial question

  • rounding doubles to set # decimal places
    B b rad311

    Hi, Does anyone know if there's a built in function in c++ or mfc in which you can pass a double or long double and declare how many places you'd like the value to be rounded to? For example, pass it 12.125 and n=2 decimal places, and out comes 12.13, etc. Thanks! P.S. Formatting the values during cout won't work for me, I need to store the rounded values in a new variable.

    C / C++ / MFC c++ tutorial question

  • how to convert vector of doubles to a variant type
    B b rad311

    ok, thanks. I'll look into this.

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

  • how to convert vector of doubles to a variant type
    B b rad311

    Hi everyone, Can anyone tell me how to convert a vector (of doubles) to a variant? I am receiving the following error message from vc++ 2008:

    error C2664: 'CiPlotChannelX::AddXYArrays' : cannot convert parameter 1 from 'std::vector<_Ty>' to 'const VARIANT &'

    I have close to 1 million values so I'm trying to avoid any "for" loops. Thanks!

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

  • plotting in vc++ [modified]
    B b rad311

    Thanks Max!

    C / C++ / MFC c++ graphics question

  • plotting in vc++ [modified]
    B b rad311

    Hello, Does anyone know of a simple package to allow for plotting line plots from visual c++ 2008? I'd love to use koolplot because it seems to be the quickest and simplest route, but it keeps looking for missing header files (i.e. graphics.h, jview.h, interfacekit.h, ...). Thanks! P.S. I'm using windows os.

    modified on Tuesday, June 15, 2010 11:19 AM

    C / C++ / MFC c++ graphics question

  • vector of doubles (division)
    B b rad311

    worked great, thanks Ash!

    C / C++ / MFC database graphics question

  • vector of doubles (division)
    B b rad311

    Thanks Ash. I implemented the code, but it is giving many errors, the first being:

    error C2825: '_Fn2': must be a class or namespace when followed by '::'

    and the 2nd:

    error C2039: 'first_argument_type' : is not a member of '`global namespace''

    C / C++ / MFC database graphics question

  • vector of doubles (division)
    B b rad311

    Thanks for your help Ash. I'm currently doing the following and it works! However, how could I send "op_divide" another parameter? I don't always want to divide by "5", I'd like to send "op_divide" the denominator to use.

    long double op_divide (long double d) { return d/5; }
    transform (vec1.begin(), vec1.end(), vec2.begin(), op_divide);

    Thanks!

    C / C++ / MFC database graphics question

  • vector of doubles (division)
    B b rad311

    Thanks Steve!

    C / C++ / MFC database graphics question

  • vector of doubles (division)
    B b rad311

    Thanks for checking, could just be some weird option in my compiler.

    C / C++ / MFC database graphics question

  • vector of doubles (division)
    B b rad311

    Hi, I'm getting the following error:

    error C2677: binary '/=' : no global operator found which takes type 'std::vector<_Ty>' (or there is no acceptable conversion)

    C / C++ / MFC database graphics question
  • Login

  • Don't have an account? Register

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