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
Type: Posts; User: jkepler
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
Hi
I was thinking something like this:
char *string = "Mark,John,Mathew";
char *argv[10];
int i=0;
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,
...
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?
...
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?
...
Good morning,
It worked very well laserlight :) Thanks.
Have a nice weekend.
Kind regards,
JKepler
Hi,
I have the following code in C (console app):
int main(int argc, char *argv[])
{
FILE *fp;
Hi,
No...don't have a clue so far...
Kind regards
JKepler
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)
{...
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...
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
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...
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 ...
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
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...
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:
Hi,
Thanks for the attention. I was trying to do something like:
sprintf(var1, decrypt("awesrte67"), name);
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;
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...
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) ...
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...