Search:

Type: Posts; User: cmajor28

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    417

    That makes sense now. The stepping is actually...

    That makes sense now. The stepping is actually not a macro because I obtain the stepping of the device at run time. Some devices can have some odd memory alignment requirements so I could not just...
  2. Replies
    6
    Views
    417

    I'm a little confused on what you are saying...

    I'm a little confused on what you are saying @King Mir.
  3. Replies
    6
    Views
    417

    Algorithm/Operation Question

    I have a question about an algorithm/operation question.

    Lets say I'm given a minimum value and max value and a stepping. The user passes in a value and I have to find the value between the min...
  4. Replies
    0
    Views
    781

    Error while obtaining device id

    I'm trying to get some device IDs but for some reason when I run this code, sometimes I'll get a corrupt heap and sometimes I won't. Any ideas?



    #include <assert.h>
    #include <wchar.h>...
  5. Replies
    3
    Views
    378

    template class A { public: ...

    template <class T>
    class A {


    public:


    A& operator = (A<T> var) {
  6. Replies
    3
    Views
    378

    Operator = is ambiguous

    So I have this templated class with a class<T> = class<T> operator overload and a conversion operator from class<U> to class<T>. When I do this, I get a operator '=' is ambiguous error. How can I fix...
  7. Replies
    2
    Views
    677

    Nothing is known at compile time. It's all...

    Nothing is known at compile time. It's all determined at execution time. I basically have a enum for all of the input types and the 4 types I can process with (int32, int64, float32, and float64).
    ...
  8. Replies
    2
    Views
    677

    Function Pointer Table

    I'm writing some audio processing software and I need a big table to convert between different sample types. The problem is a multiple int32_to_int32 conversions (with different params) and a few...
  9. Replies
    1
    Views
    379

    Audio Processing Tree Traversal

    I'm implementing some audio processing software and a requirement is that I be able to process channels independently. So essentially I need an audio processing tree. Here's an example...
    ...
  10. Replies
    2
    Views
    482

    My return codes are always S_OK (0).

    My return codes are always S_OK (0).
  11. Replies
    2
    Views
    482

    Writing to system registry

    1419914200

    I'm working on a project where I need to write to the system registry in windows and I can't seem to get it to work. I am running as an admin and all my return codes are 0 meaning...
  12. Replies
    0
    Views
    1,143

    PortCls and AvStream user mode

    I'm in the process of writing a user mode driver for audio streaming. So I'm trying to design my program and it seems like I need to communicate with PortCls.sys and Ks.sys. However, these are Kernel...
  13. Replies
    7
    Views
    548

    That should work fine.

    That should work fine.
  14. Replies
    7
    Views
    548

    Because class A will be a totally different class...

    Because class A will be a totally different class for each platform I compile for. However all of the class As inherit from class C.
  15. Replies
    7
    Views
    548

    It isn't an unnamed namespace, it's some API...

    It isn't an unnamed namespace, it's some API namespace. I need to define the class I made as the class type they use.
  16. Replies
    7
    Views
    548

    Multiple class declarations

    // A.h

    class A {
    ...
    }

    // B.h

    namespace {
    class B;
  17. Replies
    3
    Views
    3,331

    If you look at the bottom though it has errors. I...

    If you look at the bottom though it has errors. I fixed the problem. Some important Windows header file doesn't have an ifndef guard so it causes problems if you try to include Windows.h. The fix is...
  18. Replies
    3
    Views
    3,331

    Error in Windows Libraries?

    I'm using visual studio professional 2013 and I just opened up a new project.



    #include <Windows.h>
    #include <portcls.h>


    int main() {
  19. Replies
    17
    Views
    1,286

    How do I index them if I can't do []? Add and...

    How do I index them if I can't do []? Add and deference? Because that's really really ugly.
  20. Replies
    17
    Views
    1,286

    I put it together really quick. I overloaded all...

    I put it together really quick. I overloaded all of the assignment stuff because actual pointers let you do that. As for + - and such, the conversion operator takes care of those. I'm looking at my...
  21. Replies
    17
    Views
    1,286

    So is this kinda what you are saying? ...

    So is this kinda what you are saying?



    #ifndef __POINTER_H
    #define __POINTER_H


    #include <iostream>
  22. Replies
    17
    Views
    1,286

    Yes with a counter but if each smart pointer has...

    Yes with a counter but if each smart pointer has its own counter, then they will all have different values and it wouldn't help you at all.
  23. Replies
    17
    Views
    1,286

    Smart Pointers

    I was reading into std::shared_ptr and I got to thinking...how does it keep up with a reference count?
  24. Replies
    5
    Views
    2,697

    Error 1 error C1001: An internal error has...

    Error 1 error C1001: An internal error has occurred in the compiler.

    That's my error
  25. Replies
    5
    Views
    2,697

    Linked List header file

    This is my header file for a linked list class. When I try to compile it says an internal error has occurred. What is wrong with my code.



    #pragma once


    #ifndef LINKED_LIST
    #define...
Results 1 to 25 of 145
Page 1 of 6 1 2 3 4