Warren Posted May 16, 2016 Report Share Posted May 16, 2016 I was wanting to modify the DCX dll from its source, using VS C++ 2012 I had to make 3 changes in order for it to compile. 1. Removed: #ifdef DCX_USE_DXSDK #include <Dxsdkver.h> Reason: fatal error C1083: Cannot open include file: 'Dxsdkver.h': No such file or directory I read that this wasn't required: You should remove the reference to dxsdkver.h. All it contained were the following #defines:_DXSDK_PRODUCT_MAJOR_DXSDK_PRODUCT_MINOR_DXSDK_BUILD_MAJOR_DXSDK_BUILD_MINOR 2. Since I don't have github installed, i couldn't run the batch file to get the version numbers, so i set them from #define DLL_VERSION GIT_DESCRIBE #define DLL_BUILD GIT_HASH #define DLL_DEV_BUILD 24 to: #define DLL_VERSION "2.0.1120" #define DLL_BUILD 1 #define DLL_DEV_BUILD 24 didn't figure this would make a difference. 3. post-build events, removed $UPX packager in previous directory. It compiles successfully. i did a file comparison on the dependencies from PE explorer and they are identical. when I try to load the dll, i get: /dll: unable to open file any ideas on how i might go about fixing this? Link to comment Share on other sites More sharing options...
Warren Posted May 19, 2016 Author Report Share Posted May 19, 2016 (edited) okay, i managed to get it to compile and load in mIRCI installed the DirectX SDK june 2010 update and that seemed to fix the dxsdk issues.its possible that i didn't even need them though, because the real issue was in the Release build.In the Debug build it compiled smoothly, except in pre-build / post-build events, you have to setyour mIRC folder.For the Release profile, it still wouldn't run after i compiled it, even with the DirectX SDK.Only after I installed UPX to the parent folder of dcx-master, vs 2012 was able to compileand optimize the DLL, and then mIRC was able to load it.I'm thinking that, the optimization settings might remove some of the spacing for the functionsand then mIRC DLL just can't find the symbols, and then using UPX might convert them backto something mIRC can use.i had to install git and clone a repository and build sourcecontrol, seemed like an awfullot of trouble to go through for a version. for additional info: https://github.com/twig/dcxdll/issues/10 --- Now, im having issues with the WebControl, it doesn't seem to be updating the status properly. sending D_ERRORs myDialog error 100 webctrl none DcxWebControl::Invoke() Unable to get object state: 1065353216 I'm going to look into this, just curious now why the other versions of DCX never did this. Edited May 19, 2016 by Warren Link to comment Share on other sites More sharing options...
err0r Posted May 20, 2016 Report Share Posted May 20, 2016 I haven't seen the creators of dcx visit this forum in awhile. Site is mostly an archive now. Hopefully someone will swing in and be able to help with this problem. Link to comment Share on other sites More sharing options...
Warren Posted May 20, 2016 Author Report Share Posted May 20, 2016 i put in an issue on github, and i tried to see if i could debug the issue, but its a bit over my head. If there was some definitive error message i could research it would be one thing, but the way its set up, the issue could be anywhere. another issue is, as much trouble as it was to get a version for this from git, i still don't know if the github's versions are older or newer than the dcx dll's in circulation. its less confusing to just have 1 version. not versions, subversions, and builds. so perhaps github just wasn't updated after the releases. Link to comment Share on other sites More sharing options...
Warren Posted May 20, 2016 Author Report Share Posted May 20, 2016 i put in an issue on github, and i tried to see if i could debug the issue, but its a bit over my head. If there was some definitive error message i could research it would be one thing, but the way its set up, the issue could be anywhere. another issue is, as much trouble as it was to get a version for this from git, i still don't know if the github's versions are older or newer than the dcx dll's in circulation. its less confusing to just have 1 version. not versions, subversions, and builds. so perhaps github just wasn't updated after the releases. Link to comment Share on other sites More sharing options...
SykO Posted June 18, 2016 Report Share Posted June 18, 2016 Hello, I have seen your posts about this issue, I have tried it myself. Unfortunately, I have not been able to get it done correctly. I have seen that you have even fixed some issues with the webcontrol. I was wondering, does your build supports HTML5 content? Also, would u mind uploading your fixed version? 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