This forum is for eXpress++ general support.
			
		
		
			- 
				
								rdonnay							
- Site Admin
- Posts: 4868
- Joined: Wed Jan 27, 2010 6:58 pm
- Location: Boise, Idaho USA
- 
				Contact:
				
			
						
						
													
							
						#11 
									
						Post
					
								by rdonnay » 
			
			
			
			
			Code: Select all
#define KEY_WOW64_64KEY 0x0100 
#define KEY_WOW64_32KEY 0x0200 
a:=DC_Regquery(HKEY_LOCAL_MACHINE,"SOFTWARE\pdfforge\PDFCreator\Program","ApplicationVersion",KEY_WOW64_64KEY)
b:=DC_Regquery(HKEY_LOCAL_MACHINE,"SOFTWARE\pdfforge\PDFCreator\Program","ApplicationVersion",KEY_WOW64_32KEY)
 The eXpress train is coming - and it has more cars.
						 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 Victorio
- Posts: 643
- Joined: Sun Jan 18, 2015 11:43 am
- Location: Slovakia
						
						
													
							
						#12 
									
						Post
					
								by Victorio » 
			
			
			
			
			I put this constants , but on my W10 64bit not work !. 
With DC_RegQuery do not read any key from HKLC
I can read registry key only manually from cmd with reg query... , or with nircmdc utility but with his 64bit version ! 
Now I do not know, how test which version OS is installed 64 or 32bit, because I need swith between 2 version nircmdc modules.
Jimmy has on one post some Is64bit() function, but I cannot find some source, maybe this is from some old library.(Fivewin ?)
			
			
									
									
						 
		 
				
		
		 
	 
	
				
		
		
			- 
				
								Auge_Ohr							
- Posts: 1444
- Joined: Wed Feb 24, 2010 3:44 pm
						
						
													
							
						#13 
									
						Post
					
								by Auge_Ohr » 
			
			
			
			
			Victorio wrote:Jimmy has on one post some Is64bit() function, but I cannot find some source, maybe this is from some old library.(Fivewin ?)
here is the Code i use
Code: Select all
FUNCTION Is64bit()
LOCAL lRetval
   lRetval := FExists(Getenv("SystemRoot")+"\SysWOW64","D")
RETURN lRetval
greetings by OHR
Jimmy
						 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 Victorio
- Posts: 643
- Joined: Sun Jan 18, 2015 11:43 am
- Location: Slovakia
						
						
													
							
						#14 
									
						Post
					
								by Victorio » 
			
			
			
			
			Jimmy, thank you very much, 
It is very simple , one row but big help   
 
 
Victorio