masvil Posted February 3, 2006 Share Posted February 3, 2006 here is my contribution to fix the crash with the first source you delivered. it has been compiled with VC6 as I am not an expert in dll building it has a bigger size. It works. I hope JSThePatriot will update as soon. Thanx to both of you. Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 5, 2006 Author Share Posted February 5, 2006 It works. I hope JSThePatriot will update as soon. Thanx to both of you.It is in the list of stuff to finish tomorrow. I am finishing up the setup of this laptop.I hope everyone finds this useful.Also how many people are interested in me adding SHA-1 to it?JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 5, 2006 Author Share Posted February 5, 2006 Having trouble... The reason I orginally changed the i_Hash from int to char* is because I get an error message everytime I try and use the GetInt32() function. Jon told me something that should fix it, but never really worked out. For some reason his example works, but I dont think his example (SDK example that is) uses that function. Please keep in mind I dont have VC++. I am using Bloodshed's Dev-C++. Error Message: dllHash.cpp: In function `int FileHash(int, const AU3_PLUGIN_VAR*, AU3_PLUGIN_VAR**, int*, int*)': dllHash.cpp:137: error: invalid conversion from `const AU3_PLUGIN_VAR*' to `AU3_PLUGIN_VAR*' dllHash.cpp:137: error: initializing argument 1 of `int AU3_GetInt32(AU3_PLUGIN_VAR*)' dllHash.cpp: In function `int StringHash(int, const AU3_PLUGIN_VAR*, AU3_PLUGIN_VAR**, int*, int*)': dllHash.cpp:197: error: invalid conversion from `const AU3_PLUGIN_VAR*' to `AU3_PLUGIN_VAR*' dllHash.cpp:197: error: initializing argument 1 of `int AU3_GetInt32(AU3_PLUGIN_VAR*)' make.exe: *** [dllHash.o]Error 1 I really dont understand why this wouldnt work on Dev-C++, but would work on VC++. Does VC++ do that conversion automatically? Thanks for everything, JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
flaxcrack Posted February 5, 2006 Share Posted February 5, 2006 Are we up and running with the UDF? [quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD() Link to comment Share on other sites More sharing options...
Dickb Posted February 5, 2006 Share Posted February 5, 2006 (edited) Having trouble...The reason I orginally changed the i_Hash from int to char* is because I get an error message everytime I try and use the GetInt32() function. Jon told me something that should fix it, but never really worked out. For some reason his example works, but I dont think his example (SDK example that is) uses that function.Please keep in mind I dont have VC++. I am using Bloodshed's Dev-C++.Error Message:I really dont understand why this wouldnt work on Dev-C++, but would work on VC++. Does VC++ do that conversion automatically?Thanks for everything,JSI don't understand the problem. I have compiled jpm's version with Dev-C++ and CodeBlocks, both C compilers using GCC. No problems at all, the dll compiled with no errors at all and works just fine. The only difference is that CodeBlocks produces a dll that is 4KB smaller than Dev-C++.Good luck, Dick Edited February 5, 2006 by Dickb Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 5, 2006 Author Share Posted February 5, 2006 Are we up and running with the UDF?If you use JdeB's version. Mine still is buggy. I cant get mine to compile, and no one can tell me why. I am willing to give the entire .dev project so someone can check all the settings. I need Jon or someone to run the SDK with the GetInt32() function, and debug that. I dont know where all the conversions need to be. I tried it once, and I just took out the Integers in my program (not a bad idea) and just went from there. I really dont need the optional parameter right at the moment until I add in the SHA-1.I just prefer to have everything working properly before I start on the next section.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 5, 2006 Author Share Posted February 5, 2006 I don't understand the problem. I have compiled jpm's version with Dev-C++ and CodeBlocks, both C compilers using GCC. No problems at all, the dll compiled with no errors at all and works just fine. The only difference is that CodeBlocks produces a dll that is 4KB smaller than Dev-C++.Good luck, DickCool! Can you send me the .dev pack for those files you compiled? I would love to see the settings you used. It could be a problem on my part, or a missing library?Let me know,JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Dickb Posted February 5, 2006 Share Posted February 5, 2006 If you use JdeB's version. Mine still is buggy. I cant get mine to compile, and no one can tell me why. I am willing to give the entire .dev project so someone can check all the settings. I need Jon or someone to run the SDK with the GetInt32() function, and debug that. I dont know where all the conversions need to be. I tried it once, and I just took out the Integers in my program (not a bad idea) and just went from there. I really dont need the optional parameter right at the moment until I add in the SHA-1.I just prefer to have everything working properly before I start on the next section.JS@JSI am happy to have a look at your version. Can you zip the project and add it or pm it to me.Hopefully I can help you to get further with your project. Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 6, 2006 Author Share Posted February 6, 2006 @JS I am happy to have a look at your version. Can you zip the project and add it or pm it to me. Hopefully I can help you to get further with your project. I appreciate it! Here is the attached .zip with everything you should need. Let me know if there is anything missing. I am sure there are more files than needed, but I wanted to make sure. Thanks again, JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
flaxcrack Posted February 6, 2006 Share Posted February 6, 2006 If you use JdeB's version. Mine still is buggy. I cant get mine to compile, and no one can tell me why. I am willing to give the entire .dev project so someone can check all the settings. I need Jon or someone to run the SDK with the GetInt32() function, and debug that. I dont know where all the conversions need to be. I tried it once, and I just took out the Integers in my program (not a bad idea) and just went from there. I really dont need the optional parameter right at the moment until I add in the SHA-1.I just prefer to have everything working properly before I start on the next section.JShttp://www.autoitscript.com/forum/index.php?showtopic=21268 [quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD() Link to comment Share on other sites More sharing options...
Dickb Posted February 6, 2006 Share Posted February 6, 2006 I appreciate it! Here is the attached .zip with everything you should need. Let me know if there is anything missing. I am sure there are more files than needed, but I wanted to make sure. Thanks again, JS @JS Your problem is that the "au3plugin.h" is in a different directory. If I put it in the same directory as the other source files (together with au3plugin.cpp) and adjust Dev-C++ to find them there, your program compiles without errors and runs fine with the test program. dllHash.cpp tries to include the au3plugin.h file but can't find it. You can also add the path to the include statement in dllHash.cpp to look like: #include "..\Plugin_SDK\src\au3plugin.h". This will also work. I hope this helps you, else let me know what your problems are and I will give it another try. Dick Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 6, 2006 Author Share Posted February 6, 2006 @JSYour problem is that the "au3plugin.h" is in a different directory. If I put it in the same directory as the other source files (together with au3plugin.cpp) and adjust Dev-C++ to find them there, your program compiles without errors and runs fine with the test program. dllHash.cpp tries to include the au3plugin.h file but can't find it. You can also add the path to the include statement in dllHash.cpp to look like: #include "..\Plugin_SDK\src\au3plugin.h". This will also work.I hope this helps you, else let me know what your problems are and I will give it another try.DickI have it in the same directory, and I have it in the other directory.I took it and had it one place at a time, and that isnt working... I am still getting the same error for some reason. I dont know why I am getting a conversion error. Maybe I should redownload the plug-in sdk? Maybe they updated files since I had downloaded a while back? This is really frustrating haha. I am the only one with the problem.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Dickb Posted February 6, 2006 Share Posted February 6, 2006 (edited) I have it in the same directory, and I have it in the other directory.I took it and had it one place at a time, and that isnt working... I am still getting the same error for some reason. I dont know why I am getting a conversion error. Maybe I should redownload the plug-in sdk? Maybe they updated files since I had downloaded a while back? This is really frustrating haha. I am the only one with the problem.JSYou are right, I took the plugin files from my system for the compile. I just did a compare with your pludin files and they are different. Try the attached .zip of your project with the newer plugin files and it should work.DickdllHash.zip Edited February 6, 2006 by Dickb Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 6, 2006 Author Share Posted February 6, 2006 You are right, I took the plugin files from my system for the compile. I just did a compare with your pludin files and they are different. Try the attached .zip of your project with the newer plugin files and it should work.DickWOOT!! Finally working... Everyone check the first post for the most recent version of the .dll. Now to move on to adding SHA-1 if anyone is interested? @DickbThanks a ton. I appreciate the help.Thanks everyone,JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
w0uter Posted February 6, 2006 Share Posted February 6, 2006 thank you verry much for this plugin. it told me so much. now i can write my own plugins in assembly My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 6, 2006 Author Share Posted February 6, 2006 (edited) NVM on it finally working!! GRR... somehow I am back to the same errors. I dont know what I am doing wrong. Edit: I went and downloaded the plugin source again. Now I have the originals... At first it was just a linking error (I thought it wasnt anything that is why I thought it was working). So I get everything pointing in the right direction and again I am having issues with GetInt32() JS Edited February 6, 2006 by JSThePatriot AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 6, 2006 Author Share Posted February 6, 2006 thank you verry much for this plugin. it told me so much. now i can write my own plugins in assembly No problem... that is one of the biggest reasons I wanted to go ahead and write this is to figure out the structure of it all.I am glad my plug-in was able to help!JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 8, 2006 Author Share Posted February 8, 2006 @Dickb Can you PM the settings and everything you have setup? I cant seem to get my dll to compile still . I feel like I am incompetent I just want to learn what I am doing wrong. I cant believe I am the only one having this problem. That generally means it is me creating the issue. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Dickb Posted February 8, 2006 Share Posted February 8, 2006 @DickbCan you PM the settings and everything you have setup? I cant seem to get my dll to compile still . I feel like I am incompetent I just want to learn what I am doing wrong. I cant believe I am the only one having this problem. That generally means it is me creating the issue.JS@JSThePatriotAs a test I have installed "Dev-C++ 5 beta 9 release(4.9.9.2)" on a clean W2k Installation.This installation was done with all the default choices.Then I downloaded the .zip file from the forum (http://www.autoitscript.com/forum/index.php?showtopic=21010&st=32) and compiled it. File -> Open Project or File... -> C:\dllHash4\File-String Hash.dev Excecute -> Rebuild AllThe compiler created the f-hash.dll without errors. And the newly created f-hash.dll.dll worked without problems with the f-shash_Example.au3.Are you sure that you are using the latest Plugin-SDK? (Mine is from 9/9/2005 and the used plugin files are in the .zip).Dick Link to comment Share on other sites More sharing options...
JSThePatriot Posted February 8, 2006 Author Share Posted February 8, 2006 (edited) @JSThePatriotAs a test I have installed "Dev-C++ 5 beta 9 release(4.9.9.2)" on a clean W2k Installation.This installation was done with all the default choices.Then I downloaded the .zip file from the forum (http://www.autoitscript.com/forum/index.php?showtopic=21010&st=32) and compiled it. File -> Open Project or File... -> C:\dllHash4\File-String Hash.dev Excecute -> Rebuild AllThe compiler created the f-hash.dll without errors. And the newly created f-hash.dll.dll worked without problems with the f-shash_Example.au3.Are you sure that you are using the latest Plugin-SDK? (Mine is from 9/9/2005 and the used plugin files are in the .zip). also have just moved around all of my source and what not.JSDickYes... the only thing I can figure is the fact that I modified the project properties... That is the only thing different. I will have to check on that, but that is how the SDK example has it. I just copied and pasted the properties from there. Not sure what they are for. I will try and remove it.I am rebuilding the project from scratch to see if it is something I did to that last one.Edit: Its not use. I cant seem to get it. Maybe I need to uninstall... and re-install Dev, and start from scratch. Maybe I am building the project wrong. :-/JS Edited February 8, 2006 by JSThePatriot AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now