It is currently Thu Jan 28, 2021 1:58 am

All times are UTC + 1 hour

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [Tool code] Run 2 IDE versions = Tool code Fail?
PostPosted: Thu Dec 13, 2018 2:08 am 
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3383
Location: Boston, MA
Can anyone confirm running a tool in 2 separate IDE's works?
I installed PB v57b4 in "c:\PureBasic-x64-try\".
Then ran v562 and v57b4 with the "/portable" switch and identical prefs files.
My tools work in the v562 IDE, but fail in the 2nd v57b4 IDE?
I added some MessageRequester() prompts to the tool code and saw the 2nd IDE environment variables were empty?
My antivirus was disabled.
Running the same tool code in the v57b4 IDE alone worked.
    hSci = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
    hIDE = Val(GetEnvironmentVariable("PB_TOOL_MainWindow"))
    exe$ = GetEnvironmentVariable("PB_TOOL_IDE")

PB_TOOL_Compiler                C:\PureBasic-x64\Compilers\pbcompiler.exe
PB_TOOL_Cursor                  1106x12
PB_TOOL_Debugger                0
PB_TOOL_Executable              C:\PB-Tools\ct_sci_all.exe
PB_TOOL_FileList                C:\dev\tools\ct_sci_all.pb
PB_TOOL_IDE                     C:\PureBasic-x64\PureBasic.exe
PB_TOOL_InlineASM               0
PB_TOOL_Language                English
PB_TOOL_MainWindow              1378128
PB_TOOL_OnError                 0
PB_TOOL_Preferences             C:\PureBasic-x64\PureBasic.prefs
PB_TOOL_Scintilla               2360576
PB_TOOL_Selection               1106x12x1106x12
PB_TOOL_Thread                  0
PB_TOOL_Unicode                 1
PB_TOOL_Word                    ExamineEnvironmentVariables
PB_TOOL_XPSkin                  1

The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye