Search:

Type: Posts; User: jkepler

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    3,045

    Run exe in "silent mode" but in dll

    Greetings again

    I made sucessfully a dll which runs an executable and retrieves the output. But... is there any way of running the exe in silent mode - in the C dll?

    JKepler
  2. Replies
    3
    Views
    5,371

    Hi I was thinking something like this: ...

    Hi

    I was thinking something like this:



    char *string = "Mark,John,Mathew";
    char *argv[10];
    int i=0;
  3. Replies
    3
    Views
    5,371

    String to argv[] conversion

    Good morning,

    Is there a simple way of converting a string (char *s) to an array of the type argv[] (console mode)? I'm trying to convert a console program I made to a dll.

    Kind regards,
    ...
  4. Replies
    2
    Views
    5,698

    Thanks :) Great advise. I've used /platformx86 ...

    Thanks :) Great advise.
    I've used /platformx86

    Only one problem: I used dependecy walker to check it (to be sure it was 32 bits). Some libs are missing, even if the exe works. Any advise?
    ...
  5. Replies
    2
    Views
    5,698

    c# compile target

    Hi

    I'm compiling a cs file sucessfully with csc. The target is winexe.

    My question is: my windows is 64 bits. Is the app compiled in 32 b, or must I add something more to the compilation?
    ...
  6. Replies
    4
    Views
    750

    Good morning, It worked very well laserlight...

    Good morning,

    It worked very well laserlight :) Thanks.

    Have a nice weekend.

    Kind regards,

    JKepler
  7. Replies
    1
    Views
    2,076

    Get output to string

    Hi,

    I have the following code in C (console app):



    int main(int argc, char *argv[])
    {

    FILE *fp;
  8. Replies
    4
    Views
    750

    Hi, No...don't have a clue so far... Kind...

    Hi,

    No...don't have a clue so far...

    Kind regards

    JKepler
  9. Replies
    4
    Views
    750

    Problems passing string to function

    Hi,

    I'm doing a simple dll which has a function that receives a string, makes some calculations, and returns one. Its of the type:



    extern "C" __declspec(dllexport) char *read_c(char* c)
    {...
  10. Replies
    1
    Views
    2,826

    Pssing string to function in C

    Good morning,

    I have a program made in VB and delphi that calls a C dll function which must handle a string.

    So, the function is more or less like this:



    int32 function1(double p1, char...
  11. Thread: Int to char

    by jkepler
    Replies
    1
    Views
    2,979

    Int to char

    Hi,

    I'm trying to tranform an integer value(like 65) to its corresponding ascii char (in this case 'A'). How can I do this?

    Regards,

    JKepler
  12. Replies
    12
    Views
    6,579

    Hi algorism, I'm sorry for the late reply, but...

    Hi algorism,

    I'm sorry for the late reply, but I had to go for one day to Lisbon... I've tryed both codes, and the compiler doesn't let me cast a function value in a constant. I've tryed this in...
  13. Replies
    12
    Views
    6,579

    Good evening algorism, I've realized something...

    Good evening algorism,

    I've realized something (my code is working well though): it's not possible to use the encryption to the values of an array, is it?

    I mean, if an array is like ...
  14. Replies
    12
    Views
    6,579

    Good morning algorism, Works like a charm....

    Good morning algorism,

    Works like a charm. Thanks for the help - and I've learned a lot, believe me. You are a good teacher.

    Kind regards,

    JKepler
  15. Replies
    12
    Views
    6,579

    Hi, Once again thanks :) It's a great and...

    Hi,

    Once again thanks :) It's a great and simple solution. Just one more question if I may: if I have a string with an hexadecimal value (like "22f5e789") how can I convert it into a ascii symbols...
  16. Replies
    12
    Views
    6,579

    Hi algorism, Your solution is...

    Hi algorism,

    Your solution is simply...brilliant - and it works like a charm :)

    Now, I'm trying to make a XOR with the string. Supose the encrypted string has a key="12345"

    I'm trying:
  17. Replies
    12
    Views
    6,579

    Hi, Thanks for the attention. I was trying to...

    Hi,

    Thanks for the attention. I was trying to do something like:



    sprintf(var1, decrypt("awesrte67"), name);
  18. Replies
    1
    Views
    3,280

    XOR string in C (not C++)

    Hi,

    I need some help in this one. To encrypt a string in C, I can use a function of the type:



    for (i=0,j=0;i<strlen(string);i++)
    {
    string[i]=string[i]^key[j++];
    if(j==strlen(key)) j=0;
  19. Replies
    12
    Views
    6,579

    Encode strings in C code

    Hi,

    I'm trying to encode all my dll strings in my C code. So, for instance, if I have a:



    sprintf(var1, "hello %s", name);


    I want to encode "hello %s", or create a new function that...
  20. Replies
    2
    Views
    1,646

    Good evening Jim, I don't have gdb installed...

    Good evening Jim,

    I don't have gdb installed in the server...only strace. But I've managed through its information to solve the issue. Notice the file error:



    open("de431.eph", O_RDONLY) ...
  21. Replies
    2
    Views
    1,646

    Segmentation fault in C++ program

    Hi,

    I have a program in C/C++ that runs perfectly in my Windows 7, 32 bits.

    But when I compile it in Linux, I get - only for some files reading - the "segmentation fault" error.

    Below is the...
Results 1 to 21 of 21