Search:

Type: Posts; User: dumazz

Search: Search took 0.01 seconds.

  1. Replies
    22
    Views
    5,392

    Hmm, that still doesn't explain to me why the...

    Hmm, that still doesn't explain to me why the first dll always loads successfully, but guess I have to upgrade MinGw then.

    Thank you all for all your help, I really appreciate it!
    Wish you the...
  2. Replies
    22
    Views
    5,392

    I have compiled the exe with both MSVC++ 2010 and...

    I have compiled the exe with both MSVC++ 2010 and MinGW

    The Dll's are compiled with MinGW
    Oh, and I'm using Windows 7 Enterprise, SP1 I think

    I will create a dump file now.

    Edit: Ok, made...
  3. Replies
    22
    Views
    5,392

    I did actually have that, but removed it to make...

    I did actually have that, but removed it to make it less to read for you all.

    By the way, I want to thank everyone who have tried to help so far, I really appreciate it.
  4. Replies
    22
    Views
    5,392

    Ok, using the methods in the link above me, it...

    Ok, using the methods in the link above me, it seems that loading the 2nd dll also loads KERNEL32.dll, which then fails to load.

    The debugging I get from MSVC++ (i just copied the parts from...
  5. Replies
    22
    Views
    5,392

    Scroll up, dll code is in post #7

    Scroll up, dll code is in post #7
  6. Replies
    22
    Views
    5,392

    Well, found a resource that might be of some...

    Well, found a resource that might be of some help: PRB: LoadLibrary API Fails with 998 (ERROR_NOACCESS) Error
    This seems to be the error that is happening.
  7. Replies
    22
    Views
    5,392

    Well, I must be doing _something_ wrong since I...

    Well, I must be doing _something_ wrong since I cannot use 2 dlls in my program.
  8. Replies
    22
    Views
    5,392

    #include #include ...

    #include <stdio.h>
    #include <windows.h>

    extern "C"{
    void __declspec (dllexport) getTestFunction2(char* placement, int size){
    snprintf(placement, size, "realTestTwo1243214");
    ...
  9. Replies
    22
    Views
    5,392

    Ok, thanks for your reply, I did not know that ...

    Ok, thanks for your reply, I did not know that

    However, I created another dll with the functions


    void __declspec (dllexport) getTestFunction2(char* placement, int size);
    long int __declspec...
  10. Replies
    22
    Views
    5,392

    Well, the way i do it works when its only one...

    Well, the way i do it works when its only one dll.

    I just made a test dll and made 2 copies of it to test this, is it not 'allowed'.

    Edit: Also, here I am not trying to run any of the...
  11. Replies
    22
    Views
    5,392

    Need some help with Dlls

    I have just started using dlls and am trying to make a dynamic benchmarking application using dlls as benchmarks (one test per dll, all info inside dll).
    However my program always fails to load dlls...
  12. Replies
    13
    Views
    1,609

    so..i finished the first version of the code (i...

    so..i finished the first version of the code (i know it took long, but i had some stuff to do...like my birthday :) :) ) anyway...i know it will error if you try to replace "test" with "test test"...
  13. Replies
    13
    Views
    1,609

    i found it now.. Thanks for all your help, ill...

    i found it now..
    Thanks for all your help, ill finnish up the project and post the content here when im done.
    Special thanks to cs_student for good link and VERY special ;) to rags_to_riches for...
  14. Replies
    13
    Views
    1,609

    Hey. Ok i have managed to put the first line...

    Hey.

    Ok i have managed to put the first line of the file into a string / character array.

    how do i search through a/the string/ character array?

    ~DumAzz~
  15. Replies
    13
    Views
    1,609

    i see, but i guess looping the search function...

    i see, but i guess looping the search function would solve that problem.
    or if that dosent help, ill figure something else out....tomorrow :)
    Thanks for all the help so far

    ~Dumazz~
  16. Replies
    13
    Views
    1,609

    Hmm, i understand how that would be a good way to...

    Hmm, i understand how that would be a good way to make it, but i still need to find out how to do the different tasks. well, i guess ill go one step at the time :)



    First i input whole file...
  17. Replies
    13
    Views
    1,609

    I have gone through that tutorial, but thanks...

    I have gone through that tutorial, but thanks anyway :)



    Thanks cs_student, that page contained A LOT of good material i can use :) however, i didnt find a function that allows me to search for...
  18. Replies
    13
    Views
    1,609

    Need a little help with file handeling

    Hi

    I have partly made a program that is supposed to be able to execute a search and replace action from lets say a batch file or a shortcut.
    I have managed to make the program accept the inputs,...
  19. Thread: Need some help

    by dumazz
    Replies
    1
    Views
    878

    Need some help

    Im new to programming and trying to copy a file from My Documents To C.

    The code i use is:


    #include <windows.h>
    #include <iostream>

    using namespace std;
Results 1 to 19 of 19